[Bug ld/13082] Invalid R_X86_64_64 relocation for x32
http://sourceware.org/bugzilla/show_bug.cgi?id=13082 --- Comment #2 from cvs-commit at gcc dot gnu.org 2011-08-12 20:33:48 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2011-08-12 20:33:34 Modified files: include/elf: ChangeLog x86-64.h Log message: Add R_X86_64_RELATIVE64. 2011-08-12 H.J. Lu PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=src&r1=1.427&r2=1.428 http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/x86-64.h.diff?cvsroot=src&r1=1.14&r2=1.15 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/13084] x86 assembler silently truncates 64bit value
http://sourceware.org/bugzilla/show_bug.cgi?id=13084 H.J. Lu changed: What|Removed |Added Summary|X32 assembler silently |x86 assembler silently |truncates 64bit value |truncates 64bit value --- Comment #1 from H.J. Lu 2011-08-12 20:04:31 UTC --- The same thing happens to ia32 assembler: [hjl@gnu-6 pr13084]$ cat x.s .equsym, 0x1234567890 .global sym [hjl@gnu-6 pr13084]$ make ASFLAGS=--32 ./as --32 -o x.o x.s readelf -s --wide x.o Symbol table '.symtab' contains 5 entries: Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULT UND 1: 0 SECTION LOCAL DEFAULT1 2: 0 SECTION LOCAL DEFAULT2 3: 0 SECTION LOCAL DEFAULT3 4: 34567890 0 NOTYPE GLOBAL DEFAULT ABS sym [hjl@gnu-6 pr13084]$ -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/13082] Invalid R_X86_64_64 relocation for x32
http://sourceware.org/bugzilla/show_bug.cgi?id=13082 --- Comment #1 from cvs-commit at gcc dot gnu.org 2011-08-12 19:42:44 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2011-08-12 19:42:40 Modified files: bfd: ChangeLog elf64-x86-64.c ld/testsuite : ChangeLog ld/testsuite/ld-x86-64: x86-64.exp Added files: ld/testsuite/ld-x86-64: pr13082-1.s pr13082-1a.d pr13082-1b.d pr13082-2.s pr13082-2a.d pr13082-2b.d pr13082-3.s pr13082-3a.d pr13082-3b.d pr13082-4.s pr13082-4a.d pr13082-4b.d pr13082-5.s pr13082-5a.d pr13082-5b.d pr13082-6.s pr13082-6a.d pr13082-6b.d Log message: Add R_X86_64_RELATIVE64 and handle R_X86_64_64 for x32. bfd/ 2011-08-12 H.J. Lu PR ld/13082 * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64. (elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32 and zero-extend it to 64bit if addend is zero for x32. Generate R_X86_64_RELATIVE64 for x32. include/elf/ 2011-08-12 H.J. Lu PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New. ld/testsuite/ 2011-08-12 H.J. Lu PR ld/13082 * ld-x86-64/pr13082-1.s: New. * ld-x86-64/pr13082-1a.d: Likewise. * ld-x86-64/pr13082-1b.d: Likewise. * ld-x86-64/pr13082-2.s: Likewise. * ld-x86-64/pr13082-2a.d: Likewise. * ld-x86-64/pr13082-2b.d: Likewise. * ld-x86-64/pr13082-3.s: Likewise. * ld-x86-64/pr13082-3a.d: Likewise. * ld-x86-64/pr13082-3b.d: Likewise. * ld-x86-64/pr13082-4.s: Likewise. * ld-x86-64/pr13082-4a.d: Likewise. * ld-x86-64/pr13082-4b.d: Likewise. * ld-x86-64/pr13082-5.s: Likewise. * ld-x86-64/pr13082-5a.d: Likewise. * ld-x86-64/pr13082-5b.d: Likewise. * ld-x86-64/pr13082-6.s: Likewise. * ld-x86-64/pr13082-6a.d: Likewise. * ld-x86-64/pr13082-6b.d: Likewise. * ld-x86-64/x86-64.exp: Run pr13082-[1-6][ab]. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5455&r2=1.5456 http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-x86-64.c.diff?cvsroot=src&r1=1.238&r2=1.239 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1453&r2=1.1454 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-1.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-1a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-1b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-2.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-2a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-2b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-3.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-3a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-3b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-4.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-4a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-4b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-5.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-5a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-5b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-6.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-6a.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/pr13082-6b.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/x86-64.exp.diff?cvsroot=src&r1=1.36&r2=1.37 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/13084] New: X32 assembler silently truncates 64bit value
http://sourceware.org/bugzilla/show_bug.cgi?id=13084 Bug #: 13084 Summary: X32 assembler silently truncates 64bit value Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sources.redhat.com ReportedBy: hjl.to...@gmail.com Classification: Unclassified [hjl@gnu-6 tmp]$ cat y.s .equsym, 0x1234567890 .global sym [hjl@gnu-6 tmp]$ as --x32 -o y.o y.s [hjl@gnu-6 tmp]$ readelf -s y.o Symbol table '.symtab' contains 5 entries: Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULT UND 1: 0 SECTION LOCAL DEFAULT1 2: 0 SECTION LOCAL DEFAULT2 3: 0 SECTION LOCAL DEFAULT3 4: 34567890 0 NOTYPE GLOBAL DEFAULT ABS sym [hjl@gnu-6 tmp]$ -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/13081] Assertion fail /bfd/elf.c:6668; internal error, aborting...
http://sourceware.org/bugzilla/show_bug.cgi?id=13081 --- Comment #2 from H.J. Lu 2011-08-12 14:32:51 UTC --- (In reply to comment #0) > PS: By the way,having an address in the %eax reg, how can I get the adress > situated X bytes to the right/left? X(%eax) and -X(%eax) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/13081] Assertion fail /bfd/elf.c:6668; internal error, aborting...
http://sourceware.org/bugzilla/show_bug.cgi?id=13081 H.J. Lu changed: What|Removed |Added Version|2.21|2.22 (HEAD) --- Comment #1 from H.J. Lu 2011-08-12 14:31:17 UTC --- A simpler testcase: [hjl@gnu-6 tmp]$ cat x.s movl (%eax)+4, %ebx [hjl@gnu-6 tmp]$ gcc -c x.s as: BFD (GNU Binutils) 2.21.53.20110810 assertion fail /export/gnu/import/git/binutils/bfd/elf.c:6702 as: BFD (GNU Binutils) 2.21.53.20110810 internal error, aborting at /export/gnu/import/git/binutils/bfd/elfcode.h line 225 in bfd_elf64_swap_symbol_out as: Please report this bug. [hjl@gnu-6 tmp]$ -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/13081] Assertion fail /bfd/elf.c:6668; internal error, aborting...
http://sourceware.org/bugzilla/show_bug.cgi?id=13081 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13051] windres fails on reading VERSIONINFO with multiple language BLOCKS
http://sourceware.org/bugzilla/show_bug.cgi?id=13051 Nick Clifton changed: What|Removed |Added Status|NEW |WAITING CC||nickc at redhat dot com --- Comment #3 from Nick Clifton 2011-08-12 11:14:35 UTC --- Hi Chris, Thanks for reporting this problem, and for providing a patch to fix it. Unfortunately as the patch stands I cannot accept it. There is one main reason for this: 1. The patch is sufficiently large that it cannot be treated as "obvious", which means that we (the FSF) need a copyright assignment on file from you in order to make use of the patch. I know that in your ReadMe.txt file you say that "This source code is free and you can use it without any restriction", but that does not make it clear that you are referring to the patch rather than the binutils sources (which do have some restrictions on their use). But even if it was clear that you meant the patch files themselves it would not matter. We need the copyright assignment so that we can incorporate the patches into the binutils sources and then cover the patches with the GPLv3. You can start the process of assigning the copyright by filing in the form that you will find here: http://web.cvs.savannah.gnu.org/viewvc/gnulib/Copyright/request-assign.changes?root=gnulib&view=log Ideally I would also like to see some changes and additions to the patch: 2. Lots of the changes are just adjustments in whitespace or the addition of ctrl-M characters. It would be nice to get rid of these. 3. There is no ChangeLog entry describing what the patch does. 4. The test of the fixed behaviour ought to be added to the binutils testsuite. (See binutils/testsuite/binutils-all/windres/version.{rc|rsd} as an example of how to do this). Cheers Nick Clifton -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils