Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272567 Details for
Bug 273890
[version bump] dev-util/plan9port-20110310
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cleanup W|X patch
plan9port-noexecstack.patch (text/plain), 935 bytes, created by
Andy Spencer
on 2011-05-09 05:48:36 UTC
(
hide
)
Description:
cleanup W|X patch
Filename:
MIME Type:
Creator:
Andy Spencer
Created:
2011-05-09 05:48:36 UTC
Size:
935 bytes
patch
obsolete
>Assembly routines in libthread and libmp use an executable stack by >default. This is not needed and can be removed using --noexecstack. > >The plan9port 9a wrapper wrapper needs to be modified to pass flags to the >underlying assembler first though.. > >Patch by Andy Spencer > > http://code.swtch.com/plan9port/issue/76/ >--- plan9/bin/9a >+++ plan9.new/bin/9a >@@ -1,15 +1,21 @@ > #!/bin/sh > >-if [ $# != 1 ]; then >- echo 'usage: 9a file.s' 1>&2 >- exit 1 >-fi >- > aflags="" > case "`uname`" in > Darwin) > aflags="-arch `arch`" > esac > >-out=`echo $1 | sed 's/\.s$//;s/$/.o/'` >-exec as $aflags -o $out $1 >+for arg; do >+ case $arg in >+ -*) >+ opts="$opts $arg" >+ ;; >+ *.s) >+ src=$arg >+ dst=$(echo $arg | sed 's/\.s/\.o/') >+ ;; >+ esac >+done >+ >+exec as $aflags $opts -o $dst $src >--- plan9/src/mkhdr >+++ plan9.new/src/mkhdr >@@ -29,7 +29,7 @@ > INSTALL=install > CFLAGS= > LDFLAGS= >-AFLAGS= >+AFLAGS=--noexecstack > CLEANFILES= > NUKEFILES= > YACC=9 yacc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273890
:
207114
|
223533
|
223535
|
268183
|
268185
|
268189
|
268191
|
272565
| 272567 |
272569
|
272571