[Bug ld/14525] __executable_start isn't defined for PIE

2017-02-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=14525

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_28-branch branch has been updated by Alan Modra
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=24054c37eeb80231fd4dc9367267e35a0f008028

commit 24054c37eeb80231fd4dc9367267e35a0f008028
Author: Alan Modra 
Date:   Fri Feb 3 16:49:29 2017 +1030

Don't make symbols dynamic other than undef weak

Fixes: tmpdir/pr14525: symbol lookup error: tmpdir/pr14525: undefined
symbol: __executable_start
FAIL: PIE PR ld/14525

* elf32-hppa.c (ensure_undef_weak_dynamic): New function.
(allocate_plt_static, allocate_dynrelocs): Use it.

-- 
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/14525] __executable_start isn't defined for PIE

2017-01-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=14525

--- Comment #5 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=595e0a47f57b414843261303b8aa5036fd1fa1e3

commit 595e0a47f57b414843261303b8aa5036fd1fa1e3
Author: Alan Modra 
Date:   Mon Jan 2 22:31:27 2017 +1030

Don't make symbols dynamic other than undef weak

Fixes: tmpdir/pr14525: symbol lookup error: tmpdir/pr14525: undefined
symbol: __executable_start
FAIL: PIE PR ld/14525

* elf32-hppa.c (ensure_undef_weak_dynamic): New function.
(allocate_plt_static, allocate_dynrelocs): Use it.

-- 
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/14525] __executable_start isn't defined for PIE

2012-08-31 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14525

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from H.J. Lu  2012-08-31 14:24:19 
UTC ---
Fixed.

-- 
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/14525] __executable_start isn't defined for PIE

2012-08-30 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14525

--- Comment #3 from cvs-commit at gcc dot gnu.org  2012-08-31 02:52:18 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-08-31 02:52:14

Modified files:
ld : ChangeLog 
ld/scripttempl : elf.sc 
ld/testsuite   : ChangeLog 
ld/testsuite/ld-elf: elf.exp 
Added files:
ld/testsuite/ld-elf: pr14525.c pr14525.out 

Log message:
Provide __executable_start for PIE

ld/

PR ld/14525
* scripttempl/elf.sc: Also provide __executable_start for PIE.

ld/testsuite/

PR ld/14525
* ld-elf/elf.exp: Run pr14525.

* ld-elf/pr14525.c: New.
* ld-elf/pr14525.out: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2484&r2=1.2485
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/elf.sc.diff?cvsroot=src&r1=1.114&r2=1.115
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1598&r2=1.1599
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14525.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14525.out.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/elf.exp.diff?cvsroot=src&r1=1.37&r2=1.38

-- 
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/14525] __executable_start isn't defined for PIE

2012-08-29 Thread pavel.v.chupin at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14525

Pavel Chupin  changed:

   What|Removed |Added

 CC||pavel.v.chupin at gmail dot
   ||com

--- Comment #2 from Pavel Chupin  2012-08-29 
14:35:44 UTC ---
I confirm that patch resolves the issue.

-- 
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/14525] __executable_start isn't defined for PIE

2012-08-28 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14525

--- Comment #1 from H.J. Lu  2012-08-28 14:01:14 
UTC ---
Created attachment 6615
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6615
A patch

-- 
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