From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QV6HX-0007WS-DG for garchives@archives.gentoo.org; Fri, 10 Jun 2011 18:18:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 529B71C2A0; Fri, 10 Jun 2011 18:10:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EBA8E055D for ; Fri, 10 Jun 2011 18:03:26 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDA522AC019 for ; Fri, 10 Jun 2011 18:03:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id F00BE8003C for ; Fri, 10 Jun 2011 18:03:24 +0000 (UTC) From: "Francisco Blas Izquierdo Riera" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Francisco Blas Izquierdo Riera" Message-ID: <968bd6cd20e26086c50a38c3ebe1cc4e8699ca1d.klondike@gentoo> Subject: [gentoo-commits] proj/hardened-docs:master commit in: xml/ X-VCS-Repository: proj/hardened-docs X-VCS-Files: xml/gnu-stack.xml X-VCS-Directories: xml/ X-VCS-Committer: klondike X-VCS-Committer-Name: Francisco Blas Izquierdo Riera X-VCS-Revision: 968bd6cd20e26086c50a38c3ebe1cc4e8699ca1d Date: Fri, 10 Jun 2011 18:03:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 069680feacee6ca1577c05036df45ab4 commit: 968bd6cd20e26086c50a38c3ebe1cc4e8699ca1d Author: klondike xiscosoft es> AuthorDate: Fri Jun 10 18:02:41 2011 +0000 Commit: Francisco Blas Izquierdo Riera xiscosoft = es> CommitDate: Fri Jun 10 18:02:41 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-docs= .git;a=3Dcommit;h=3D968bd6cd Improving nasm lines so the stack bits are added on elf32 and elf64 targe= ts --- xml/gnu-stack.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/xml/gnu-stack.xml b/xml/gnu-stack.xml index dc63054..45fcf64 100644 --- a/xml/gnu-stack.xml +++ b/xml/gnu-stack.xml @@ -348,6 +348,12 @@ at the end of the source file, recompile, and do a j= ig. %ifidn __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits %endif +%ifidn __OUTPUT_FORMAT__,elf32 +section .note.GNU-stack noalloc noexec nowrite progbits +%endif +%ifidn __OUTPUT_FORMAT__,elf64 +section .note.GNU-stack noalloc noexec nowrite progbits +%endif =20