[Bug ld/10858] ld generate broken PIE binaries on MIPS
--- Additional Comments From aurelien at aurel32 dot net 2009-11-04 09:46 --- Thanks a lot for the patch, I confirm it works for both the versions just after the problem has been introduced and trunk. I also checked it introduces no regressions on the trunk version. I haven't tested your alternative patch yet, I will do that soon. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10858 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/10858] ld generate broken PIE binaries on MIPS
--- Additional Comments From aurelien at aurel32 dot net 2009-11-04 10:47 --- The alternative patch also fixes the problem, and also doesn't introduce any regressions in the testsuite. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10858 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10893] gold doesn't work with multi-arched libc.a
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 14:45 --- (In reply to comment #5) > gold does not generate the .rel.iplt or .rela.iplt sections itself. I'm not > sure what this has to do with "multi-arched libc.a". gold does not yet > support > STT_GNU_IFUNC symbols. > multi-arched libc.a has STT_GNU_IFUNC symbols. If gold doesn't support them, static linking may not work. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10893 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10862] gold fails to link qemu - error: address of section '.tbss' moves backward
--- Additional Comments From plaes at plaes dot org 2009-11-04 15:40 --- This seems to be actually parallel-build issue - I cannot reproduce it during `make -j1` build. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10862 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10887] building memtest86 causes segfault in LD.
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-11-04 16:36 --- Subject: Bug 10887 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-11-04 16:35:51 Modified files: gold : ChangeLog arm.cc i386.cc powerpc.cc sparc.cc x86_64.cc Log message: PR 10887 * arm.cc (Target_arm::do_finalize_sections): Don't add dynamic tags if data is discarded by linker script. * i386.cc (Target_i386::do_finalize_sections): Likewise. * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise. * sparc.cc (Target_sparc::do_finalize_sections): Likewise. * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.344&r2=1.345 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/arm.cc.diff?cvsroot=src&r1=1.28&r2=1.29 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/i386.cc.diff?cvsroot=src&r1=1.98&r2=1.99 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/powerpc.cc.diff?cvsroot=src&r1=1.19&r2=1.20 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/sparc.cc.diff?cvsroot=src&r1=1.23&r2=1.24 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/x86_64.cc.diff?cvsroot=src&r1=1.91&r2=1.92 -- http://sourceware.org/bugzilla/show_bug.cgi?id=10887 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10887] building memtest86 causes segfault in LD.
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-11-04 16:36 --- Subject: Bug 10887 CVSROOT:/cvs/src Module name:src Branch: binutils-2_20-branch Changes by: i...@sourceware.org 2009-11-04 16:36:08 Modified files: gold : ChangeLog arm.cc i386.cc powerpc.cc sparc.cc x86_64.cc Log message: PR 10887 * arm.cc (Target_arm::do_finalize_sections): Don't add dynamic tags if data is discarded by linker script. * i386.cc (Target_i386::do_finalize_sections): Likewise. * powerpc.cc (Target_powerpc::do_finalize_sections): Likewise. * sparc.cc (Target_sparc::do_finalize_sections): Likewise. * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.281.2.8&r2=1.281.2.9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/arm.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.8.2.2&r2=1.8.2.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/i386.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.88.4.2&r2=1.88.4.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/powerpc.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.13.4.2&r2=1.13.4.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/sparc.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.17.4.2&r2=1.17.4.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/x86_64.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.85.2.2&r2=1.85.2.3 -- http://sourceware.org/bugzilla/show_bug.cgi?id=10887 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10887] building memtest86 causes segfault in LD.
--- Additional Comments From ian at airs dot com 2009-11-04 16:41 --- Thanks for the bug report. I've patched the linker to avoid the crash. However, the core problem is that the linker script expects that the dynamic reloc sections will have specific names, and gold does not use those names. gold puts all the dynamic relocs in a section named .rel.dyn. So while I have fixed the crash, the effect is that the linker script will discard all the dynamic relocs, which I think is not what is intended. I think the linker script might be better written as something like .rel.dyn { *(.rel.*) } or simply adding .rel.dyn { *(.rel.dyn .rel.dyn.*) } like the other cases will also fix the problem. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=10887 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/10903] New: .fill regression
[...@gnu-26 tmp]$ cat x.s .text .org 0xf00 .byte 8 _end: .fill 4096 - _end _foo: [...@gnu-26 tmp]$ /usr/bin/as -v --32 -o x.o x.s GNU assembler version 2.15.92.0.2 (x86_64-redhat-linux) using BFD version 2.15.92.0.2 20040927 [...@gnu-26 tmp]$ readelf -s x.o Symbol table '.symtab' contains 6 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: 0f01 0 NOTYPE LOCAL DEFAULT1 _end 5: 1000 0 NOTYPE LOCAL DEFAULT1 _foo [...@gnu-26 tmp]$ as -v --32 -o x.o x.s GNU assembler version 2.20.51.0.3 (x86_64-unknown-linux-gnu) using BFD version (Linux/GNU Binutils) 2.20.51.0.3.20091021 x.s: Assembler messages: x.s:5: Error: .space specifies non-absolute value [...@gnu-26 tmp]$ -- Summary: .fill regression Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hjl dot tools at gmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10903 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/10903] .fill regression
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 18:19 --- It is caused by symbols.c change in http://sourceware.org/ml/binutils-cvs/2005-05/msg00163.html -- What|Removed |Added CC||nickc at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10903 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/10903] .fill regression
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 18:20 --- The symbols.c patch is for PR 876. -- What|Removed |Added OtherBugsDependingO||876 nThis|| http://sourceware.org/bugzilla/show_bug.cgi?id=10903 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/876] .space with non-absolute value
-- What|Removed |Added BugsThisDependsOn||10903 http://sourceware.org/bugzilla/show_bug.cgi?id=876 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/876] .space with non-absolute value
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 18:21 --- The fix caused PR 10903 and we don't have a testcase for this PR. -- What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | http://sourceware.org/bugzilla/show_bug.cgi?id=876 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/876] .space with non-absolute value
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-11-04 18:52 --- Subject: Bug 876 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2009-11-04 18:52:04 Modified files: gas/testsuite : ChangeLog gas/testsuite/gas/i386: i386.exp Added files: gas/testsuite/gas/i386: space1.l space1.s Log message: 2009-11-04 H.J. Lu PR gas/876 * gas/i386/i386.exp: Run space1. * gas/i386/space1.l: New. * gas/i386/space1.s: Likewise. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1578&r2=1.1579 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/space1.l.diff?cvsroot=src&r1=NONE&r2=1.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/space1.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/i386.exp.diff?cvsroot=src&r1=1.122&r2=1.123 -- http://sourceware.org/bugzilla/show_bug.cgi?id=876 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/10903] .fill regression
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 19:25 --- The code is wrong. It should be rewritten as .text .org 0xf00 org: .byte 8 _end: .fill 4096 - (_end - org + 0xf00) _foo: -- What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=10903 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/876] .space with non-absolute value
-- Bug 876 depends on bug 10903, which changed state. Bug 10903 Summary: .fill regression http://sourceware.org/bugzilla/show_bug.cgi?id=10903 What|Old Value |New Value Status|NEW |RESOLVED Resolution||INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=876 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10899] gold test failures with gcc 4.1
--- Additional Comments From hjl dot tools at gmail dot com 2009-11-04 19:40 --- I was using gcc 4.1 with run-time library from gcc 3.4. Run-time library from gcc 4.1 is OK. -- What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=10899 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils