[Bug gold/16417] executable linked with gold segfaults before main

2014-01-16 Thread i.zaufi at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16417 --- Comment #2 from Alex Turbov --- Created attachment 7358 --> https://sourceware.org/bugzilla/attachment.cgi?id=7358&action=edit compiled object file -- You are receiving this mail because: You are on the CC list for the bug. __

ld bug when self-referential variables are used as output section addresses ?

2014-01-16 Thread Samuel Jones
Hi, I have the following linker script: TOTO = 1024; TOTO += 1024; SECTIONS { .rodataTOTO : { __toto_symbol_abs = ABSOLUTE(TOTO); *(.rodata) *(.rodata.*) } } When I link this example with the latest ld, the section ".rodata" is placed at 1024, whereas I would have expe

[Bug ld/16452] ELF executable with weak reference linked with ld causes assertion in ld.so

2014-01-16 Thread roseandrew at me dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=16452 --- Comment #2 from roseandrew at me dot com --- Good day, I would like to clarify : I'm trying to compile openssh , using own compiled toolchan. at compile tim e I come across such an error openbsd-compat / / libopenbsd-compat.a (bsd-misc

Re: [Bug ld/16452] New: ELF executable with weak reference linked with ld causes assertion in ld.so

2014-01-16 Thread ANDREY ROZE
Good day, I would like to clarify : I'm trying to compile openssh , using own compiled toolchan. at compile time I come across such an error openbsd-compat / / libopenbsd-compat.a (bsd-misc.o): (. pdr +0 x20): undefined reference to `setlogin @ @ GLIBC_2.0 ' / home / andrew / Desktop / mips-toolc