From 3ec753e885e4fbf1cdda9731f72bbe820744a88e Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 14 Aug 2006 18:05:23 +0000 Subject: [PATCH] ICU-5317 Changes for SELinux. This change turns off the executable stack for a shared object. This code isn't suppose to use a stack anyway. X-SVN-Rev: 20055 --- icu4c/source/tools/genccode/genccode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icu4c/source/tools/genccode/genccode.c b/icu4c/source/tools/genccode/genccode.c index 84360c4cd0f..31a53711686 100644 --- a/icu4c/source/tools/genccode/genccode.c +++ b/icu4c/source/tools/genccode/genccode.c @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 1999-2005, International Business Machines +* Copyright (C) 1999-2006, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -149,6 +149,7 @@ static const struct AssemblyType { } assemblyHeader[] = { {"gcc", ".globl %s\n" + "\t.section .note.GNU-stack,\"\",@progbits\n" "\t.section .rodata\n" "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */ "\t.type %s,@object\n"