[Bug ld/12982] BFD linker LTO plugin makes stack executable by default

2023-06-04 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=12982

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/12982] BFD linker LTO plugin makes stack executable by default

2023-06-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=12982

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by YunQiang Su :

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

commit a0631c1501c113c04891c9a24a9ff5276257f28d
Author: YunQiang Su 
Date:   Tue May 16 09:46:46 2023 +0800

MIPS: fix some ld testcases with compiler

1. config/default.exp:
use -mabi=32 not for -gnuabi64
xfail_from_runlist: remove an element and mark it xfail.
2. ld-elf/indirect.exp: xfail
indirect5a indirect5b indirect6a indirect6b
indirect5c indirect5d indirect6c indirect6d
3. ld-elf/pr23658-2: mips output is not common
4. ld-elf/shared.exp: non-run on mips: Build libpr16496b.so
5. ld-elfvers/vers.exp:
xfail vers4, vers4b
no-run on mips: vers24a, vers24b, vers24c
6. ld-gc/gc.exp: add -KPIC into asflags for pr13683, pr14265, pr19161
7. ld-mips-elf/mips-elf.exp:
use noarch for mips16-local-stubs-1, since it use -mips4
8. ld-plugin/lto.exp:
no-run on mips/linux: PR ld/12982
add -KPIC into asflags for lto-3r, lto-5r, PR ld/19317 (2)
xfail PR ld/15323 (4), PR ld/19317 (3)
9. ld-plugin/plugin.exp: xfail
plugin claimfile lost symbol
plugin claimfile replace symbol
plugin claimfile replace symbol
plugin claimfile lost symbol with source
plugin claimfile replace symbol with source
plugin claimfile resolve symbol with source
plugin 2 with source lib
load plugin 2 with source
plugin 3 with source lib
load plugin 3 with source
11. ld-selective/selective.exp: add -fno-PIC, which is needed for
-mno-abicalls
12. ld-shared/shared.exp: xfail shared (non PIC), shared (PIC main, non PIC
so)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/12982] BFD linker LTO plugin makes stack executable by default

2013-05-21 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12982

--- Comment #5 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2013-05-21 07:15:24 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2013-05-21 07:15:22

Modified files:
ld/testsuite   : ChangeLog 
ld/testsuite/ld-plugin: pr12982.d 

Log message:
PR ld/12982
* ld-plugin/pr12982.d: Fail if RWE GNU_STACK present.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=srcr1=1.1720r2=1.1721
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/pr12982.d.diff?cvsroot=srcr1=1.1r2=1.2

-- 
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/12982] BFD linker LTO plugin makes stack executable by default

2013-05-20 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12982

Alan Modra amodra at gmail dot com changed:

   What|Removed |Added

 CC||amodra at gmail dot com

--- Comment #4 from Alan Modra amodra at gmail dot com 2013-05-21 05:04:01 
UTC ---
The test is making unwarranted assumptions about the compiler, C library and
startup files.  At least one object needs a .note.GNU-stack section for this
test to pass.  If the target defaults to an executable stack then all objects
involved must have .note.GNU-stack saying non-exec.

-- 
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/12982] BFD linker LTO plugin makes stack executable by default

2013-03-14 Thread sandra at codesourcery dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12982

sandra at codesourcery dot com changed:

   What|Removed |Added

 CC||sandra at codesourcery dot
   ||com

--- Comment #3 from sandra at codesourcery dot com 2013-03-14 23:41:01 UTC ---
The testcase that was added for this on 2012-12-07 (pr12982.c, pr12982.d) is
failing on multiple targets, including nios2-linux-gnu, arm-none-eabi,
mips-linux-gnu.

I've looked at the nios2-linux-gnu failure; there is no GNU_STACK segment in
the output.  Is it a requirement that there be one, or is the test making an
incorrect assumption that it exists on all targets?

-- 
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/12982] BFD linker LTO plugin makes stack executable by default

2011-07-11 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12982

--- Comment #1 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2011-07-11 18:39:16 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2011-07-11 18:39:13

Modified files:
bfd: ChangeLog elflink.c 

Log message:
Also skip BFD_PLUGIN when setting stack_flags.

2011-07-11  H.J. Lu  hongjiu...@intel.com

PR ld/12982
* elflink.c (bfd_elf_size_dynamic_sections): Also skip BFD_PLUGIN
when setting stack_flags.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=srcr1=1.5420r2=1.5421
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=srcr1=1.414r2=1.415

-- 
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/12982] BFD linker LTO plugin makes stack executable by default

2011-07-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12982

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-07-11 18:40:45 
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