History log of /external/libunwind/tests/ia64-test-readonly-asm.S
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57e569646368cb730f028ecf1732143474e3e642 01-Oct-2007 Jan Kratochvil <jan.kratochvil@redhat.com> Mark Wielaard <mwielaard@redhat.com> writes:

On some systems executable stacks are denied. Since libunwind and the
tests don't actually need executable stacks this patch marks all
assembly files as not needing it.

The original patch comes from frysk:

2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* src/hppa/getcontext.S, src/hppa/setcontext.S, src/hppa/siglongjmp.S,
src/ia64/Ginstall_cursor.S, src/ia64/Linstall_cursor.S,
src/ia64/dyn_info_list.S, src/ia64/getcontext.S, src/ia64/longjmp.S,
src/ia64/setjmp.S, src/ia64/siglongjmp.S, src/ia64/sigsetjmp.S,
src/ppc64/longjmp.S, src/ppc64/siglongjmp.S, src/x86/longjmp.S,
src/x86/siglongjmp.S, src/x86_64/longjmp.S, src/x86_64/setcontext.S,
src/x86_64/siglongjmp.S: Stack should be non-executable, for SELinux.

I added a couple more markers for new files in current libunwind.

Before this patch you would get the following on selinux enabled
systems without allow_exec_stack: error while loading shared
libraries:

libunwind.so.7: cannot enable executable stack as shared object
requires: Permission denied

After the patch that error disappears and all test results are similar
to the results on systems without executable stack protection.
/external/libunwind/tests/ia64-test-readonly-asm.S
cbd8648b3326f88e189a6479af9fff526f709334 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Make libunwind compile with recent versions of GAS.

Don't test read-only access to F0 and F1 registers --- according to
the SCRA manual, those locations cannot even be expressed in SPILL
descriptors and newer versions of GAS (as well as IAS) won't accept
.spillreg directives targeting those registers.
/external/libunwind/tests/ia64-test-readonly-asm.S
de2a42042ee5a18185a83435b67bc51cb3874ba9 06-May-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.231)
/external/libunwind/tests/ia64-test-readonly-asm.S
9427f8eae40ad52ebfb1e83a4ebdc936021c6961 06-May-2004 hp.com!davidm <hp.com!davidm> Initial revision
/external/libunwind/tests/ia64-test-readonly-asm.S