--- Additional Comments From harry dot he at freescale dot com 2009-08-13
05:22 ---
Created an attachment (id=4130)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4130&action=view)
sample code and scripts produce different elfs
--
http://sourceware.org/bugzilla/show_bug.cgi?
I am attaching a sample program compiled using two different linker scripts
producing two different ELF files.
The two linker scripts are test_good.lds test_faulty.lds.
There is a trivial difference between two files.
In test_good.lds, 'ro_data' PHDRS entry is in first place.
In test_faulty.lds, '
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-12
23:32 ---
.
--
What|Removed |Added
Status|ASSIGNED|RESOLVED
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-12
18:30 ---
Subject: Bug 10471
CVSROOT:/cvs/src
Module name:src
Changes by: ccout...@sourceware.org 2009-08-12 18:30:39
Modified files:
gold : ChangeLog resolve.cc
gold/te
--- Additional Comments From giffordj at la dot twcbc dot com 2009-08-12
16:59 ---
Alan all appears to be working on our build again. Thank you.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10474
--- You are receiving this mail because: ---
You are on the CC list for th
--- Additional Comments From ian at airs dot com 2009-08-12 10:22 ---
gold, unlike GNU ld, does not attempt to locate libraries which are referenced
by DT_NEEDED entries (see PR 10238 for some more background). Therefore, when
gold sees a shared library which has DT_NEEDED entries, and t
--- Additional Comments From mjw at redhat dot com 2009-08-12 10:11 ---
(In reply to comment #2)
> When using the GNU
> linker, -z -defs actually does nothing; it does not do the same thing as -z
> defs. The GNU linker simply ignores unrecognized strings after -z.
Eep! Thanks. Need to d
--- Additional Comments From ian at airs dot com 2009-08-12 09:41 ---
The -z options were introduced to GNU ld in emulation of the Solaris linker.
The Solaris linker is documented to accept -z defs, not -z -defs. The GNU
linker man page also documents -z defs, not -z -defs. When using
--- Additional Comments From ian at airs dot com 2009-08-12 09:36 ---
Thanks for the bug report. This has already been fixed in the development
sources.
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/reduced_debug_output.cc.diff?r1=1.1&r2=1.2&cvsroot=src&f=h
--
What