diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2003-05-21 19:40:54 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2003-05-21 19:40:54 +0000 |
commit | 85c77c383f623ece2c4cbb485bf74848e766edf3 (patch) | |
tree | a7821fcaf7aa3315fc05152160a4a60ab9af183d /gas/testsuite | |
parent | cea3d58d02df3cf065317844e5e332d10e216ab2 (diff) | |
download | gdb-85c77c383f623ece2c4cbb485bf74848e766edf3.zip gdb-85c77c383f623ece2c4cbb485bf74848e766edf3.tar.gz gdb-85c77c383f623ece2c4cbb485bf74848e766edf3.tar.bz2 |
* config/tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
* testsuite/gas/hppa/parse/parse.exp: Add "space.s".
* testsuite/gas/hppa/parse/space.s: New file to test spaces.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/parse/parse.exp | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/parse/space.s | 24 |
3 files changed, 32 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6a4114f..794686f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-05-21 H.J. Lu <hongjiu.lu@intel.com> + + * gas/hppa/parse/parse.exp: Add "space.s". + * gas/hppa/parse/space.s: New file to test spaces. + 2003-05-20 Jason Eckhardt <jle@rice.edu> * gas/i860/branch.{s,d}: New files. diff --git a/gas/testsuite/gas/hppa/parse/parse.exp b/gas/testsuite/gas/hppa/parse/parse.exp index 6a7c425..463c48f 100644 --- a/gas/testsuite/gas/hppa/parse/parse.exp +++ b/gas/testsuite/gas/hppa/parse/parse.exp @@ -222,5 +222,8 @@ if [istarget hppa*-*-*] then { # Check for bogus registers in single precision fmpyadd/fmpysub # instructions gas_test_error "badfmpyadd.s" "" "Check for error on bad fmpyadd insn" + + # Make sure we grok spaces in directives. + gas_test "space.s" "" "" "Test acceptance of spaces in directives" } diff --git a/gas/testsuite/gas/hppa/parse/space.s b/gas/testsuite/gas/hppa/parse/space.s new file mode 100644 index 0000000..2e37e7e --- /dev/null +++ b/gas/testsuite/gas/hppa/parse/space.s @@ -0,0 +1,24 @@ + .code + .align 4 + .export $$mulI, millicode + .proc + .callinfo millicode +$$mulI: + .procend + + .code + + .align 4 + .PARAM foo, RTNVAL=GR +foo: + .PROC + .CALLINFO FRAME=128, NO_CALLS, ENTRY_GR=3, ENTRY_FR=12 + .ENTRY + bv,n %r0(%r2) + .EXIT + .PROCEND + + .align 4 + .import yabba, code + + ble R%yabba(%sr4, %r0) |