[Bug binutils/14129] andq and orq instructions give 'invalid operand' error when MSB of 32-bit immediate is set

2012-05-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14129 --- Comment #3 from H.J. Lu 2012-05-25 16:35:17 UTC --- (In reply to comment #2) > (In reply to comment #1) > > orq and andq take a signed 32-bit value from -0x8000 to > > 0x7. 0xFF00 is out of range. > > (Is 0x7 a ty

[Bug ld/14170] New: ld: assertion fail /export/gnu/import/git/binutils/bfd/linker.c:641

2012-05-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14170 Bug #: 14170 Summary: ld: assertion fail /export/gnu/import/git/binutils/bfd/linker.c:641 Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal

[Bug ld/14170] ld: assertion fail /export/gnu/import/git/binutils/bfd/linker.c:641

2012-05-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14170 --- Comment #1 from H.J. Lu 2012-05-26 00:35:55 UTC --- A small testcase: [hjl@gnu-6 pr14170]$ cat x.c extern int foo; extern int bar; int _start () { return foo + bar; } [hjl@gnu-6 pr14170]$ cat y.c int foo __attribute ((visibility("hidde