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, ...@@ -47,7 +47,7 @@ int apply_relocate(Elf32_Shdr *sechdrs,
*location += sym->st_value; *location += sym->st_value;
break; break;
case R_68K_PC32: case R_68K_PC32:
/* Add the value, subtract its postition */ /* Add the value, subtract its position */
*location += sym->st_value - (uint32_t)location; *location += sym->st_value - (uint32_t)location;
break; break;
default: default:
...@@ -87,7 +87,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, ...@@ -87,7 +87,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs,
*location = rel[i].r_addend + sym->st_value; *location = rel[i].r_addend + sym->st_value;
break; break;
case R_68K_PC32: 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; *location = rel[i].r_addend + sym->st_value - (uint32_t)location;
break; break;
default: default:
......
...@@ -73,7 +73,7 @@ int apply_relocate(Elf32_Shdr *sechdrs, ...@@ -73,7 +73,7 @@ int apply_relocate(Elf32_Shdr *sechdrs,
*location += sym->st_value; *location += sym->st_value;
break; break;
case R_386_PC32: case R_386_PC32:
/* Add the value, subtract its postition */ /* Add the value, subtract its position */
*location += sym->st_value - (uint32_t)location; *location += sym->st_value - (uint32_t)location;
break; break;
default: 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