[patch 2/9] Nios II port, bfd support

nick clifton nickc@redhat.com
Mon Jan 28 16:06:00 GMT 2013


Hi Sandra,

> This patch adds BFD support for Nios II.

There is a problem building elf32-nios2.c:

bfd/elf32-nios2.c: In function 'nios2_elf32_relocate_section':
bfd/elf32-nios2.c:1675:8: error: variable 'dynobj' set but not used
bfd/elf32-nios2.c: In function 'nios2_elf32_gc_sweep_hook':
bfd/elf32-nios2.c:2897:13: error: variable 'srelgot' set but not used
bfd/elf32-nios2.c:2896:13: error: variable 'sgot' set but not used
bfd/elf32-nios2.c: In function 'nios2_elf32_finish_dynamic_symbol':
bfd/elf32-nios2.c:3027:8: error: variable 'dynobj' set but not used

Fixing these leads to:

bfd/elf32-nios2.c:2893:39: error: variable 'htab' set but not used

Cheers
   Nick



More information about the Binutils mailing list