Commit 2e76c283 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jiri Kosina

module.c: spelling s/postition/position/g

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c03c3013
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment