History log of /external/libunwind/tests/ia64-test-rbs-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-rbs-asm.S
0d89914d4ee68809cd4c7142ef3c69969198b679 20-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_spill_N): Fix off-by-one bug in indexing into next_func[].

(Logical change 1.51)
/external/libunwind/tests/ia64-test-rbs-asm.S
71ab0b2a3cee677026ca27420ad8f6c03bc02749 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_spill_NN): If r8 is non-negative on return from subroutine-call, increment it
by one. Take care of restoring the dirty partition before switching back
to original backing store.
(LD_LOC): Load only 4 bytes, not 8 bytes.
(CK_LOC): New macro.
(loadup): ar.pfs is saved in r36, not r34. After returning from subroutine call,
check local variables to make sure they still contain the correct values.
(resumption_point): New function.

(Logical change 1.49)
/external/libunwind/tests/ia64-test-rbs-asm.S
894b96b95a2e91323a0416a44f00a3185de0c0e8 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.47)
/external/libunwind/tests/ia64-test-rbs-asm.S
9b16424457ec791e88c96bf632f0c48141d1e70b 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
/external/libunwind/tests/ia64-test-rbs-asm.S