diff options
author | Nick Clifton <nickc@redhat.com> | 2014-05-20 10:28:42 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-05-20 10:28:42 +0100 |
commit | 00b32ff21f710a5eed92c9fdf51c32103bcc4176 (patch) | |
tree | b26adf9e6654280500869f1749f0d239f59da1c0 /gas/testsuite | |
parent | 273dc279306c2b69fbc1407cc695397e4b015152 (diff) | |
download | gdb-00b32ff21f710a5eed92c9fdf51c32103bcc4176.zip gdb-00b32ff21f710a5eed92c9fdf51c32103bcc4176.tar.gz gdb-00b32ff21f710a5eed92c9fdf51c32103bcc4176.tar.bz2 |
Fix MSP430 assembler to support #hi(<symbol>).
* config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter.
Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1.
(msp430_srcoperand): Store vshift value in operand.
* msp430.h (struct msp430_operand_s): Add vshift field.
* gas/elf/struct.d: Expect extra output from some toolchains.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver1.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/struct.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/symver/symver0.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/symver/symver1.d | 1 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index db8eb2e..a9c1a8a 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-05-20 Nick Clifton <nickc@redhat.com> + + * gas/elf/struct.d: Expect extra output from some toolchains. + * gas/symver/symver0.d: Likewise. + * gas/symver/symver1.d: Likewise. + 2014-05-09 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/nops-1-core2.d: Replace data32 with data16. diff --git a/gas/testsuite/gas/elf/struct.d b/gas/testsuite/gas/elf/struct.d index 420c6e5..dac6b56 100644 --- a/gas/testsuite/gas/elf/struct.d +++ b/gas/testsuite/gas/elf/struct.d @@ -1,8 +1,11 @@ #nm: --extern-only #name: ELF struct - +# # Test the .struct pseudo-op. +# The #... is there to match extra symbols inserted by +# some toolchains, eg msp430-elf will add _crt0_movedata. +#... 0+0 D l1 0+4 D l2 0+2 A w1 diff --git a/gas/testsuite/gas/symver/symver0.d b/gas/testsuite/gas/symver/symver0.d index 9ad6c88..c7accc7 100644 --- a/gas/testsuite/gas/symver/symver0.d +++ b/gas/testsuite/gas/symver/symver0.d @@ -4,6 +4,7 @@ # The #... and #pass are there to match extra symbols inserted by # some toolchains, eg arm-elf toolchain will add $d. +#... [ ]+U foo@version1 #... 0+0000000 D foo1 diff --git a/gas/testsuite/gas/symver/symver1.d b/gas/testsuite/gas/symver/symver1.d index ab9b949..b480e37 100644 --- a/gas/testsuite/gas/symver/symver1.d +++ b/gas/testsuite/gas/symver/symver1.d @@ -4,6 +4,7 @@ # The #... and #pass are there to match extra symbols inserted by # some toolchains, eg arm-elf toolchain will add $d. +#... [ ]+U foo@version1 #... 0+0000000 D foo1@@version1 |