1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 12:11:45 +02: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:
mostang.com!davidm 2003-03-27 04:29:07 +00:00
parent 797322b3b4
commit feaf317bf2

View file

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