Date: Fri, 7 Jan 2011 18:06:52 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Anonymous <swell.k@gmail.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217101 - head/lib/libcompiler_rt Message-ID: <20110107160652.GY12599@deviant.kiev.zoral.com.ua> In-Reply-To: <8662u0ycsz.fsf@gmail.com> References: <201101071435.p07EZkNU055560__46495.048949919$1294410977$gmane$org@svn.freebsd.org> <8662u0ycsz.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--wHYmV+hLPeNaasdK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 07, 2011 at 06:05:16PM +0300, Anonymous wrote: > Konstantin Belousov <kib@FreeBSD.org> writes: >=20 > > Author: kib > > Date: Fri Jan 7 14:35:45 2011 > > New Revision: 217101 > > URL: http://svn.freebsd.org/changeset/base/217101 > > > > Log: > > On amd64 and i386, force assembler to mark objects compiled from the > > assembler source for libcompiler_rt as not needed executable stack. T= his > > is done with a hammer instead of properly marking each assembly file > > with section .note.GNU-stack to avoid modifying contributed source. > > =20 > > Discussed with: ed > > > > Modified: > > head/lib/libcompiler_rt/Makefile > > > > Modified: head/lib/libcompiler_rt/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/lib/libcompiler_rt/Makefile Fri Jan 7 14:32:29 2011 (r217100) > > +++ head/lib/libcompiler_rt/Makefile Fri Jan 7 14:35:45 2011 (r217101) > > @@ -156,4 +156,10 @@ SYMLINKS+=3Dlibcompiler_rt_p.a ${LIBDIR}/l > > . endif > > .endif > > =20 > > +.if ${MACHINE_CPUARCH} =3D=3D "amd64" || ${MACHINE_CPUARCH} =3D=3D "i3= 86" > > +AFLAGS+=3D--noexecstack > > +ACFLAGS+=3D-Wl,a,--noexecstack > > +.endif >=20 > Typo? -Wl,a,--foo vs. -Wa,--foo. From gcc(1) manpage >=20 > Assembler Option > -Wa,option -Xassembler option >=20 > Linker Options > -Wl,option -Xlinker option Thank you. Should be fixed in r217102. --wHYmV+hLPeNaasdK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0nOhsACgkQC3+MBN1Mb4jCTACdHTxRpNpkOknLPxTjKg8VzGqR XIoAn1O6dU1kMTuz2mCMyfKyUv9/5fn/ =ON1C -----END PGP SIGNATURE----- --wHYmV+hLPeNaasdK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110107160652.GY12599>