projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48dad97
)
Thomas Chou says in bug 618: fix relocation error on nios2
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 15 Jan 2006 02:53:23 +0000
(
02:53
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 15 Jan 2006 02:53:23 +0000
(
02:53
-0000)
toolchain/elf2flt/elf2flt/elf2flt.c
patch
|
blob
|
history
diff --git
a/toolchain/elf2flt/elf2flt/elf2flt.c
b/toolchain/elf2flt/elf2flt/elf2flt.c
index 1ed498cb904eb6420d0f5205e89d1200b03c8d16..a073ec187b12c0a870b114c9a573021a73d2872c 100644
(file)
--- a/
toolchain/elf2flt/elf2flt/elf2flt.c
+++ b/
toolchain/elf2flt/elf2flt/elf2flt.c
@@
-1066,8
+1066,6
@@
dump_symbols(symbols, number_of_symbols);
#ifdef TARGET_nios2
#define htoniosl(x) (x)
#define niostohl(x) (x)
- switch ((*p)->howto->type)
- {
case R_NIOS2_BFD_RELOC_32:
relocation_needed = 1;
pflags = (FLAT_NIOS2_R_32 << 28);
@@
-1220,7
+1218,6
@@
NIOS2_RELOC_ERR:
printf("Err: unexpected reloc type %s(%d)\n", q->howto->name, q->howto->type);
bad_relocs++;
continue;
- }
#endif /* TARGET_nios2 */
#ifdef TARGET_sparc