[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 l

[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=2001&action=view) Suggested fix. This fix should work for most platforms. -- http://sourceware.org/bugzilla/sho

[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 displ

[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 -Wl,--b

[Bug gprof/4848] gprof gives wrong time summary on multi core / SMP environment

2007-09-12 Thread drow at sources dot redhat dot com
--- Additional Comments From drow at sources dot redhat dot com 2007-09-12 15:06 --- This isn't a bug with gprof. gprof is a very simple program; it reads data files generated by your system C library, and those contain time information. So you need to report this against the system C