Browse Source
PR gas/30688 X_unsigned being clear does not indicate a negative number; it merely indicates a signed one (whose sign may still be clear). Amend two uses by an actual value check.gdb-14-branch
5 changed files with 37 additions and 4 deletions
@ -1 +1,8 @@ |
|||
.comm foobar,30,4 |
|||
.comm buf1, 5-1, 8 |
|||
.comm buf2, 4, 9-1 |
|||
.ifndef lcomm_align |
|||
.lcomm lbuf, 9-1 |
|||
.else |
|||
.lcomm lbuf, 9-1, 8 |
|||
.endif |
|||
|
|||
@ -1,7 +1,16 @@ |
|||
#source: common3.s |
|||
#as: --elf-stt-common=yes |
|||
#readelf: -s -W |
|||
# MIPS'es IRIX emulation puts lbuf (STB_LOCAL) after the globals in the |
|||
# symbol table, and that mode is hard to check for (see irixemul in |
|||
# binutils/testsuite/binutils-all/mips/mips.exp) |
|||
#notarget: mips*-*-* |
|||
|
|||
#... |
|||
+[0-9]+: +0+ +8 +(OBJECT|NOTYPE) +LOCAL +DEFAULT +[1-9] +lbuf |
|||
#... |
|||
+[0-9]+: +0+4 +30 +COMMON +GLOBAL +DEFAULT +COM +foobar |
|||
#... |
|||
+[0-9]+: +0+8 +4 +COMMON +GLOBAL +DEFAULT +COM +buf1 |
|||
+[0-9]+: +0+8 +4 +COMMON +GLOBAL +DEFAULT +COM +buf2 |
|||
#pass |
|||
|
|||
@ -1,7 +1,16 @@ |
|||
#source: common3.s |
|||
#as: --elf-stt-common=no |
|||
#readelf: -s -W |
|||
# MIPS'es IRIX emulation puts lbuf (STB_LOCAL) after the globals in the |
|||
# symbol table, and that mode is hard to check for (see irixemul in |
|||
# binutils/testsuite/binutils-all/mips/mips.exp) |
|||
#notarget: mips*-*-* |
|||
|
|||
#... |
|||
+[0-9]+: +0+ +8 +(OBJECT|NOTYPE) +LOCAL +DEFAULT +[1-9] +lbuf |
|||
#... |
|||
+[0-9]+: +0+4 +30 +OBJECT +GLOBAL +DEFAULT +COM +foobar |
|||
#... |
|||
+[0-9]+: +0+8 +4 +OBJECT +GLOBAL +DEFAULT +COM +buf1 |
|||
+[0-9]+: +0+8 +4 +OBJECT +GLOBAL +DEFAULT +COM +buf2 |
|||
#pass |
|||
|
|||
Loading…
Reference in new issue