[Bug ld/5025] New: SEGV with ld --build-id + /DISCARD/ : { *(.note.gnu.build-id) }

2007-09-12 Thread vda dot linux at googlemail dot com
$ echo int main() { return 1; } t.c $ gcc -Wl,--verbose t.c script.lds Edit script.lds like this - .note.gnu.build-id : { *(.note.gnu.build-id) } + /DISCARD/ : { *(.note.gnu.build-id) } (and remove everything except linker script, of course) Now try to link with --build-id: $ gcc

[Bug gas/5026] New: Displaying Truncated Values Incorrectly

2007-09-12 Thread evandro dot menezes at amd dot com
When defining a constant too long for the size specified, the warning message itself may truncate the original value on some platforms. For example, this code: .word 0x1234567890 On x86-64, GAS correctly displays: Warning:value 0x1234567890 truncated to 0x7890 Whereas on x86, GAS

[Bug gas/5026] Displaying Truncated Values Incorrectly

2007-09-12 Thread evandro dot menezes at amd dot com
--- Additional Comments From evandro dot menezes at amd dot com 2007-09-12 20:03 --- Created an attachment (id=2001) -- (http://sourceware.org/bugzilla/attachment.cgi?id=2001action=view) Suggested fix. This fix should work for most platforms. --

[Bug gas/5026] Displaying Truncated Values Incorrectly

2007-09-12 Thread evandro at yahoo dot com
--- Additional Comments From evandro at yahoo dot com 2007-09-12 20:07 --- Ahem, on x86, GAS displays: Warning:value 0x34567890 truncated to 0x7890 -- http://sourceware.org/bugzilla/show_bug.cgi?id=5026 --- You are receiving this mail because: --- You are on the CC