[Bug ld/9843] New: relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object

2009-02-14 Thread pluto at agmk dot net
during build glibc-2.8 for i486-gnu-linux target i get following linker error: (...) make[3]: Leaving directory `/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/elf' i486-gnu-linux-gcc -Wl,--hash-style=both -nostdlib -nostartfiles -shared -Wl,-z,now\ -Wl,-z,combrel

[Bug binutils/9811] export table broken after forward (dlltool)

2009-02-14 Thread mail at colinfinck dot de
--- Additional Comments From mail at colinfinck dot de 2009-02-14 14:17 --- Thanks for the quick patch! I tried it now, but unfortunately, it looks like importing from any file other than a .dll is generally unsupported by Windows' ntdll. Whatever I do, it always tries to import from "w

[Bug ld/9843] relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object

2009-02-14 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2009-02-14 14:18 --- (In reply to comment #0) > sed -e '/^=/,/^=/!d;/^=/d'\ > -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - > SIZEOF_HEADERS;/' \ This command is broken

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-14 Thread bjoern dot m dot haase at web dot de
--- Additional Comments From bjoern dot m dot haase at web dot de 2009-02-14 16:19 --- Subject: Re: avr-ld crashes when -relax is used with ATMega8535 target j at uriah dot heep dot sax dot de schrieb: Hallo Jörg, ich werde mir den Bug einmal ansehen, allerdings muss ich auf meinem

[Bug ld/9841] avr-ld crashes when -relax is used with ATMega8535 target

2009-02-14 Thread pwilson at scopuli dot com
--- Additional Comments From pwilson at scopuli dot com 2009-02-14 18:41 --- I looked at the context of the call to elf32_avr_relax_delete_bytes() and how symtab_hdr->contents is assigned. I then compared the AVR to other architectures calling their elf32_*_relax_delete_bytes() function