https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Sam James changed:
What|Removed |Added
CC||sam at gentoo dot org
--
You are receivi
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Alan Modra changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Alan Modra changed:
What|Removed |Added
Target|aarch64, tilepro,ppc|am33,arc,bfin,frv,hppa64,ia
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #43 from cvs-commit at gcc dot gnu.org ---
The binutils-2_35-branch branch has been updated by Hans-Peter Nilsson
:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef6b667ead5c32c7d26fa58f1f86f70a662b
commit ef6b66
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #42 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Hans-Peter Nilsson :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a8f181d196f85ca153fe51ca6bb40942e0e1ed7
commit 4a8f181d196f85ca153f
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #41 from cvs-commit at gcc dot gnu.org ---
The binutils-2_33-branch branch has been updated by Szabolcs Nagy
:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6fbcfe4762c3732339cffd82426d00d35382b858
commit 6fbcfe4762c
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #40 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Szabolcs Nagy :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7f02673206eaef00f240b84c21069b4e5fbe09ea
commit 7f02673206eaef00f240b84c2
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
patrick.oppenlander at gmail dot com changed:
What|Removed |Added
CC||patrick.oppenlan
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #39 from Szabolcs Nagy ---
(In reply to Alan Modra from comment #37)
> I agree that there shouldn't be relative relocs on anything to do with foo.
> But a pattern that matches those but not relative relocs for powerpc64 on
> the o
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #38 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Alan Modra :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef0cc92e9cd7a589e441389167a8d4fb2fe46367
commit ef0cc92e9cd7a589e441389167a8
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #37 from Alan Modra ---
I agree that there shouldn't be relative relocs on anything to do with foo.
But a pattern that matches those but not relative relocs for powerpc64 on the
opd entry for _start is a little tricky. Hmm, let m
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Szabolcs Nagy changed:
What|Removed |Added
CC||nszabolcs at gmail dot com
--- Commen
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #35 from cvs-commit at gcc dot gnu.org ---
The binutils-2_31-branch branch has been updated by Max Filippov
:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=82f32155837415d3f84ceb9c9ffa36495f7211ae
commit 82f321558374
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #34 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Max Filippov :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c451bb34ae8bd2d0669bd563366883cfbcf0de9b
commit c451bb34ae8bd2d0669bd56336
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #33 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Eric Botcazou :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=185cdb8cc7c0102140d41fb6272a5ee4d72d
commit 185cdb8cc7c0102140d41fb62
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #32 from H.J. Lu ---
(In reply to Egeyar Bagcioglu from comment #31)
> The new test case PR22269-1 fails on sparc with the following message:
>
> /home/egeyar/repos/binutils-obj/ld/ld-new: read-only segment has dynamic
> relocati
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
Egeyar Bagcioglu changed:
What|Removed |Added
CC||egeyar.bagcioglu at oracle dot
com
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #30 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Szabolcs Nagy :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a377ae2ad683d3c16ae74dba440ee441120a7d8a
commit a377ae2ad683d3c16ae74dba4
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #29 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Alan Modra :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d336fa6d820f50235c271ea327fadbf4ff6e1edd
commit d336fa6d820f50235c271ea327fa
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #28 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f3012016f008030b48597b578a5fb1e550907374
commit f3012016f008030b48597b578a5fb1e
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #27 from H.J. Lu ---
For aarch64:
[hjl@gnu-skl-1 pr22269]$ cat x.c
extern int foo __attribute ((weak));
int
_start ()
{
if (&foo)
return foo;
}
[hjl@gnu-skl-1 pr22269]$ make
/export/gnu/import/git/toolchain/install/compiler
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #26 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e01c16a83893b03433c8edf4ccae536d9b9f4831
commit e01c16a83893b03433c8edf4ccae536
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #25 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ee6e05af482b356f9be4b0db877802fb47b2a12
commit 6ee6e05af482b356f9be4b0db877802
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #24 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b27bb18f45a99330600ab57892c3620343425910
commit b27bb18f45a99330600ab57892c3620
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #23 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=31a53da5418528b9ba94bb80a97f0084f40e0c64
commit 31a53da5418528b9ba94bb80a97f008
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #22 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=112fef4084ff0bdd6dd9aacca85f5fe62e1a5423
commit 112fef4084ff0bdd6dd9aacca85f5fe
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #21 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5056ba1d4df19006b873bc8e752f85fcc712b65b
commit 5056ba1d4df19006b873bc8e752f85f
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #20 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=60c1b909dfcc984f3aecb70032e90a34d71b44bc
commit 60c1b909dfcc984f3aecb70032e90a3
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #19 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db41f6eb5234ea3c74c1ce4798cf9923d4a45a98
commit db41f6eb5234ea3c74c1ce4798cf992
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #18 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ad9512030937e79e28d08108fde7adf18635c58b
commit ad9512030937e79e28d08108fde7adf
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #17 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=95b03e4ad68e7a90f5096b47df595636344b783a
commit 95b03e4ad68e7a90f5096b47df59563
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #16 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a3cd202aae50abe5a571fb8c186b6b6af68edce2
commit a3cd202aae50abe5a571fb8c186b6b6
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #15 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ddb7fd0f7b43e4c755c4b8c7752948e050363525
commit ddb7fd0f7b43e4c755c4b8c7752948e
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #14 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Alan Modra :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=22b1ee183d19a92cc57859c04307d31c06792d13
commit 22b1ee183d19a92cc57859c04307
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #13 from H.J. Lu ---
(In reply to Alan Modra from comment #11)
> > If there is a program bug:
> > ...
> > may lead to undesired behavior.
>
> Quite so.
>
> > -z dynamic-undefined-weak applies if there is a DT_NEEDED entry which
>
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #12 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4b97e3893ed2af7bdb9dcaa34fae1a207e2d7042
commit 4b97e3893ed2af7bdb9dcaa34fae1a2
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #11 from Alan Modra ---
> If there is a program bug:
> ...
> may lead to undesired behavior.
Quite so.
> -z dynamic-undefined-weak applies if there is a DT_NEEDED entry which
> may provide definition for undefined weak reference
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #10 from H.J. Lu ---
(In reply to Alan Modra from comment #9)
> > Since call is PC relative, this doesn't branch to address 0.
>
> I don't see why this matters. A symbol that resolves to zero without
> dynamic relocs in a PIE or
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #9 from Alan Modra ---
> Since call is PC relative, this doesn't branch to address 0.
I don't see why this matters. A symbol that resolves to zero without dynamic
relocs in a PIE or shared lib results in an address of zero. If t
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #8 from H.J. Lu ---
(In reply to Alan Modra from comment #4)
> I agree that undefined weak symbols probably ought to resolve to 0 in a
> static PIE. To do that on ppc it would be reasonable to add the following
> to elf32.em after
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #7 from H.J. Lu ---
(In reply to Alan Modra from comment #6)
> Why do you think the powerpc testcase should have no dynamic relocs? The
> one dyanmic reloc is on a GOT slot (for &x in y.c). It looks fine to me.
Oops. I was looki
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #6 from Alan Modra ---
Why do you think the powerpc testcase should have no dynamic relocs? The one
dyanmic reloc is on a GOT slot (for &x in y.c). It looks fine to me.
--
You are receiving this mail because:
You are on the CC
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #5 from H.J. Lu ---
(In reply to Alan Modra from comment #4)
> I agree that undefined weak symbols probably ought to resolve to 0 in a
> static PIE. To do that on ppc it would be reasonable to add the following
> to elf32.em after
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #4 from Alan Modra ---
I agree that undefined weak symbols probably ought to resolve to 0 in a static
PIE. To do that on ppc it would be reasonable to add the following to elf32.em
after_parse
if (link_info.dynamic_undefined_we
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
--- Comment #3 from H.J. Lu ---
elfxx-x86.h has
/* Is a undefined weak symbol which is resolved to 0. Reference to an
undefined weak symbol is resolved to 0 when building executable if
it isn't dynamic and
1. Has non-GOT/non-PLT rel
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
H.J. Lu changed:
What|Removed |Added
CC||amodra at gmail dot com
--- Comment #2 from
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
H.J. Lu changed:
What|Removed |Added
Target|aarch64 |aarch64, tilepro,ppc
--- Comment #1 from H.
47 matches
Mail list logo