mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
(do_unwind_tests): Declare as global. Intel assembler insists on this.
Avoid GNU assembler local labels. (Logical change 1.68)
This commit is contained in:
parent
797322b3b4
commit
feaf317bf2
1 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
.common stackmem, NSTACKS*STACK_SIZE, 16
|
.common stackmem, NSTACKS*STACK_SIZE, 16
|
||||||
|
|
||||||
|
.global do_unwind_tests
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
#define SAVED_SP_OFF 0
|
#define SAVED_SP_OFF 0
|
||||||
|
@ -83,12 +85,12 @@ stack_it:
|
||||||
|
|
||||||
// for even iterations, allocate a local variable:
|
// for even iterations, allocate a local variable:
|
||||||
tbit.nz p6, p0 = r8, 0
|
tbit.nz p6, p0 = r8, 0
|
||||||
(p6) br.cond.sptk.few 1f
|
(p6) br.cond.sptk.few .skip
|
||||||
;;
|
;;
|
||||||
alloc r2 = ar.pfs, 0, 1, 0, 0
|
alloc r2 = ar.pfs, 0, 1, 0, 0
|
||||||
mov loc0 = r8
|
mov loc0 = r8
|
||||||
;;
|
;;
|
||||||
1: cmp.ne p6, p7 = 0, r8
|
.skip: cmp.ne p6, p7 = 0, r8
|
||||||
;;
|
;;
|
||||||
{ .mbb
|
{ .mbb
|
||||||
(p6) adds r8 = -1, r8
|
(p6) adds r8 = -1, r8
|
||||||
|
|
Loading…
Reference in a new issue