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
This commit is contained in:
George Rhoten 2006-08-14 18:05:23 +00:00
parent dfb20711e7
commit 3ec753e885

View file

@ -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"