dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Geert Uytterhoeven 2012-07-19 22:29:11 +02:00 committed by Jiri Kosina
parent c03c301374
commit 2e76c2838a
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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: