Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316108
b: refs/heads/master
c: 2e76c28
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Jiri Kosina committed Jul 20, 2012
1 parent ca225ce commit ac1a99b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c03c3013747a4c9e01d1b48637e6dd0ea3ef65c1
refs/heads/master: 2e76c2838a2c1c6c5c220410bcd3c0d6d82e4e31
4 changes: 2 additions & 2 deletions trunk/arch/m68k/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ac1a99b

Please sign in to comment.