------- Additional Comments From markus dot heigl at fme dot fujitsu dot com
2008-01-08 13:44 -------
For a2.out I removed h->root.u.def.value
*** /fme/users/mhaigl/essen-gcc/binutils-2.18/bfd/elf-bfd.h 2008-01-08
14:36:57.000000000 +0100
--- /fme/users/mhaigl/cross/binutils-2.18/bfd/elf-bfd.h 2007-08-06
21:59:22.000000000 +0200
*************** extern bfd_boolean _sh_elf_set_mach_from
*** 2096,2102 ****
library. */ \
unresolved_reloc = TRUE; \
else \
! relocation = ( \
+ sec->output_section->vma \
+ sec->output_offset); \
} \
--- 2096,2102 ----
library. */ \
unresolved_reloc = TRUE; \
else \
! relocation = (h->root.u.def.value \
+ sec->output_section->vma \
+ sec->output_offset); \
} \
This helped to produce the right adresses for the testcase, but altough
I do not know much about the linker I am pretty sure that this will break
almost everything else. So this is only a hint where it goes wrong.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5552
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils