[Bug gold/11529] New: gold doesn't support variable page size by default

2010-04-22 Thread hjl dot tools at gmail dot com
ld uses 2MB maximum page size so that variable page size may be used one day without recompiling everything. Binaries created by gold can't take advantage of variable page size due to 4K maximum page size. The purpose of this report is inform users this subtle consequence of using gold vs. ld. -

[Bug gold/11490] gold: unbootable Linux kernel, wrong alignment for .rodata/.text ". = ALIGN((1 << 21)); "

2010-04-22 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-04-22 21:22 --- A patch is posted at http://sourceware.org/ml/binutils/2010-04/msg00338.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=11490 --- You are receiving this mail because: --- You are on the

[Bug binutils/11527] addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread dzidzitop at lavabit dot com
--- Additional Comments From dzidzitop at lavabit dot com 2010-04-22 20:56 --- Ok, probably just by analysing the executable statically (i.e. when it is not loaded into the memory) it is impossible to resolve dynamically linked functions: no section is actually created for them within th

[Bug binutils/11527] addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread dzidzitop at lavabit dot com
--- Additional Comments From dzidzitop at lavabit dot com 2010-04-22 18:45 --- Ah, ddd is the name of the executable. __libc_start_main could be found within the binary with ease. Dunno what is nm, but simple search for __libc_start_main in text editor returns something. -- http://s

[Bug binutils/11527] addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread dzidzitop at lavabit dot com
--- Additional Comments From dzidzitop at lavabit dot com 2010-04-22 18:42 --- What is ddd? And why backtrace_symbols correctly recognises the function? -- What|Removed |Added ---

[Bug binutils/11527] addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-04-22 18:13 --- __libc_start_main isn't defined in ddd: [...@gnu-6 tmp]$ nm ddd | grep __libc_start_main U __libc_start_main@@GLIBC_2.0 [...@gnu-6 tmp]$ -- What|Removed |Added

Errors in new gold PO strings

2010-04-22 Thread Clytie Siddall
1. These are missing spaces, probably when removing line-breaks: #: arm.cc:2047 msgid "relocation R_ARM_MOVW_ABS_NC cannot be used when makinga shared object; recompile with -fPIC" #: arm.cc:2056 msgid "relocation R_ARM_MOVT_ABS cannot be used when makinga shared object; recompile with -fPIC"

[Bug binutils/11527] addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread dzidzitop at lavabit dot com
--- Additional Comments From dzidzitop at lavabit dot com 2010-04-22 13:02 --- Created an attachment (id=4747) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4747&action=view) executable which re-produces the bug -- http://sourceware.org/bugzilla/show_bug.cgi?id=11527 -

[Bug binutils/11527] New: addr2line does not display correct function name/filename/line for __libc_start_main (Linux/ELF)

2010-04-22 Thread dzidzitop at lavabit dot com
The application attached displays stacktrace of itself using execinfo.h tool contributed with linux. /home/liauchuk/projects/ddd/Debug/ddd [0x8048634] /home/liauchuk/projects/ddd/Debug/ddd [0x8048602] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x21fb56] /home/liauchuk/projects/ddd/Debug