summaryrefslogtreecommitdiffstats
path: root/toolchain/elf2flt
diff options
context:
space:
mode:
authorMike Frysinger2006-01-15 03:53:23 +0100
committerMike Frysinger2006-01-15 03:53:23 +0100
commitd7b6a490376bb30db11967d755ac2aef436f9d53 (patch)
treee10d1d32899c9cbde909b2838e0e605d3353acf1 /toolchain/elf2flt
parentThomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o (diff)
downloadbuildroot-d7b6a490376bb30db11967d755ac2aef436f9d53.tar.gz
buildroot-d7b6a490376bb30db11967d755ac2aef436f9d53.tar.xz
buildroot-d7b6a490376bb30db11967d755ac2aef436f9d53.zip
Thomas Chou says in bug 618: fix relocation error on nios2
Diffstat (limited to 'toolchain/elf2flt')
-rw-r--r--toolchain/elf2flt/elf2flt/elf2flt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toolchain/elf2flt/elf2flt/elf2flt.c b/toolchain/elf2flt/elf2flt/elf2flt.c
index 1ed498cb9..a073ec187 100644
--- 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