mode
The emitted address is .long, not .quad, in that case.
gcc/testsuite/ChangeLog:
2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
* gcc.target/s390/mrecord-mcount.c (profileme): Expect .long in
31-bit mode.
From-SVN: r266145
+2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * gcc.target/s390/mrecord-mcount.c (profileme): Expect .long in
+ 31-bit mode.
+
2018-11-14 Ilya Leoshkevich <iii@linux.ibm.com>
* gcc.target/s390/global-array-almost-huge-element.c: Run only
profileme (void)
{
/* { dg-final { scan-assembler ".section __mcount_loc, \"a\",@progbits" } } */
- /* { dg-final { scan-assembler ".quad 1b" } } */
+ /* { dg-final { scan-assembler ".long 1b" { target { ! lp64 } } } } */
+ /* { dg-final { scan-assembler ".quad 1b" { target { lp64 } } } } */
/* { dg-final { scan-assembler ".previous" } } */
}