module.c: spelling s/postition/position/g
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
c03c301374
commit
2e76c2838a
|
@ -47,7 +47,7 @@ int apply_relocate(Elf32_Shdr *sechdrs,
|
|||
*location += sym->st_value;
|
||||
break;
|
||||
case R_68K_PC32:
|
||||
/* Add the value, subtract its postition */
|
||||
/* Add the value, subtract its position */
|
||||
*location += sym->st_value - (uint32_t)location;
|
||||
break;
|
||||
default:
|
||||
|
@ -87,7 +87,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs,
|
|||
*location = rel[i].r_addend + sym->st_value;
|
||||
break;
|
||||
case R_68K_PC32:
|
||||
/* Add the value, subtract its postition */
|
||||
/* Add the value, subtract its position */
|
||||
*location = rel[i].r_addend + sym->st_value - (uint32_t)location;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -73,7 +73,7 @@ int apply_relocate(Elf32_Shdr *sechdrs,
|
|||
*location += sym->st_value;
|
||||
break;
|
||||
case R_386_PC32:
|
||||
/* Add the value, subtract its postition */
|
||||
/* Add the value, subtract its position */
|
||||
*location += sym->st_value - (uint32_t)location;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue