OSDN Git Service

2009-01-26 Andrew Stubbs <ams@codesourcery.com>
authorams <ams>
Mon, 26 Jan 2009 14:36:42 +0000 (14:36 +0000)
committerams <ams>
Mon, 26 Jan 2009 14:36:42 +0000 (14:36 +0000)
commit3c48197da72d849be9a8ad25d7513b90beef0233
tree33b3d92c07f44864c1d7fac6b728d6aaad36a1a5
parentb967c23a0f6e1abb0604b753af32f72e0fa0d0d8
2009-01-26  Andrew Stubbs  <ams@codesourcery.com>

gas/
* config/tc-arm.c (attributes_set_explicitly): New array.
(s_arm_eabi_attribute): Check return value from s_vendor_attribute.
(cpu_arch): Add ARM_ARCH_V5T.
(aeabi_set_attribute_int): New function.
(aeabi_set_attribute_string): New function.
(aeabi_set_public_attributes): Set attributes according to the user's
intentions, rather than the actual state of the binary.
Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
Support WMMXv2. Use attribute names instead of numbers.
* read.c (s_vendor_attribute): Change return type to int.
Return the tag number that was set.
* read.h (s_vendor_attribute): Change return type to int.

gas/testsuite/
* gas/arm/attr-cpu-directive.d: New file.
* gas/arm/attr-cpu-directive.s: New file.
* gas/arm/attr-default.d: New file.
* gas/arm/attr-march-all.d: New file.
* gas/arm/attr-march-armv1.d: New file.
* gas/arm/attr-march-armv2.d: New file.
* gas/arm/attr-march-armv2a.d: New file.
* gas/arm/attr-march-armv2s.d: New file.
* gas/arm/attr-march-armv3.d: New file.
* gas/arm/attr-march-armv3m.d: New file.
* gas/arm/attr-march-armv4.d: New file.
* gas/arm/attr-march-armv4t.d: New file.
* gas/arm/attr-march-armv4txm.d: New file.
* gas/arm/attr-march-armv4xm.d: New file.
* gas/arm/attr-march-armv5.d: New file.
* gas/arm/attr-march-armv5t.d: New file.
* gas/arm/attr-march-armv5te.d: New file.
* gas/arm/attr-march-armv5tej.d: New file.
* gas/arm/attr-march-armv5texp.d: New file.
* gas/arm/attr-march-armv5txm.d: New file.
* gas/arm/attr-march-armv6-m.d: New file.
* gas/arm/attr-march-armv6.d: New file.
* gas/arm/attr-march-armv6j.d: New file.
* gas/arm/attr-march-armv6k.d: New file.
* gas/arm/attr-march-armv6kt2.d: New file.
* gas/arm/attr-march-armv6t2.d: New file.
* gas/arm/attr-march-armv6z.d: New file.
* gas/arm/attr-march-armv6zk.d: New file.
* gas/arm/attr-march-armv6zkt2.d: New file.
* gas/arm/attr-march-armv6zt2.d: New file.
* gas/arm/attr-march-armv7-a.d: New file.
* gas/arm/attr-march-armv7-m.d: New file.
* gas/arm/attr-march-armv7-r.d: New file.
* gas/arm/attr-march-armv7.d: New file.
* gas/arm/attr-march-armv7a.d: New file.
* gas/arm/attr-march-armv7m.d: New file.
* gas/arm/attr-march-armv7r.d: New file.
* gas/arm/attr-march-iwmmxt.d: New file.
* gas/arm/attr-march-iwmmxt2.d: New file.
* gas/arm/attr-march-xscale.d: New file.
* gas/arm/attr-mcpu.d: New file.
* gas/arm/attr-mfpu-arm1020e.d: New file.
* gas/arm/attr-mfpu-arm1020t.d: New file.
* gas/arm/attr-mfpu-arm1136jf-s.d: New file.
* gas/arm/attr-mfpu-arm1136jfs.d: New file.
* gas/arm/attr-mfpu-arm7500fe.d: New file.
* gas/arm/attr-mfpu-fpa.d: New file.
* gas/arm/attr-mfpu-fpa10.d: New file.
* gas/arm/attr-mfpu-fpa11.d: New file.
* gas/arm/attr-mfpu-fpe.d: New file.
* gas/arm/attr-mfpu-fpe2.d: New file.
* gas/arm/attr-mfpu-fpe3.d: New file.
* gas/arm/attr-mfpu-maverick.d: New file.
* gas/arm/attr-mfpu-neon-fp16.d: New file.
* gas/arm/attr-mfpu-neon.d: New file.
* gas/arm/attr-mfpu-softfpa.d: New file.
* gas/arm/attr-mfpu-softvfp+vfp.d: New file.
* gas/arm/attr-mfpu-softvfp.d: New file.
* gas/arm/attr-mfpu-vfp.d: New file.
* gas/arm/attr-mfpu-vfp10-r0.d: New file.
* gas/arm/attr-mfpu-vfp10.d: New file.
* gas/arm/attr-mfpu-vfp3.d: New file.
* gas/arm/attr-mfpu-vfp9.d: New file.
* gas/arm/attr-mfpu-vfpv2.d: New file.
* gas/arm/attr-mfpu-vfpv3-d16.d: New file.
* gas/arm/attr-mfpu-vfpv3.d: New file.
* gas/arm/attr-mfpu-vfpxd.d: New file.
* gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
* gas/arm/attr-override-cpu-directive.d: New file.
* gas/arm/attr-override-cpu-directive.s: New file.
* gas/arm/attr-override-mcpu.d: New file.
* gas/arm/attr-override-mcpu.s: New file.
* gas/arm/blank.s: New file.
* gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.

ld/testsuite/
* ld-arm/attr-merge-3.attr: Update following gas change.
* ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
Tag_THUMB_ISA_use following gas changes.
* ld-arm/attr-merge-4.attr: Likewise.
* ld-arm/attr-merge-5.attr: Likewise.
* ld-arm/attr-merge-arch-1.attr: Likewise.
* ld-arm/attr-merge-arch-2.attr: Likewise.
* ld-arm/attr-merge-unknown-2.d: Likewise.
* ld-arm/attr-merge-unknown-2r.d: Likewise.
* ld-arm/attr-merge-unknown-3.d: Likewise.
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-00.d: Likewise.
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-02.d: Likewise.
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-04.d: Likewise.
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-20.d: Likewise.
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-22.d: Likewise.
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40.d: Likewise.
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44.d: Likewise.
* ld-arm/attr-merge.attr: Likewise.
106 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/read.c
gas/read.h
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/attr-cpu-directive.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-cpu-directive.s [new file with mode: 0644]
gas/testsuite/gas/arm/attr-default.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-all.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv1.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv2a.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv2s.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv3.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv3m.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv4.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv4t.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv4txm.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv4xm.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5t.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5te.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5tej.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5texp.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv5txm.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6-m.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6j.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6k.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6kt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6z.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6zk.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6zkt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv6zt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7-a.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7-m.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7-r.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7a.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7m.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7r.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-iwmmxt.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-iwmmxt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-xscale.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mcpu.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-arm1020e.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-arm1020t.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpa.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpa10.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpa11.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpe.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpe2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-fpe3.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-maverick.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-neon.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-softfpa.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-softvfp.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfp.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfp10.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfp3.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfp9.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfpv2.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfpv3.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-mfpu-vfpxd.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-order.d
gas/testsuite/gas/arm/attr-override-cpu-directive.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-override-cpu-directive.s [new file with mode: 0644]
gas/testsuite/gas/arm/attr-override-mcpu.d [new file with mode: 0644]
gas/testsuite/gas/arm/attr-override-mcpu.s [new file with mode: 0644]
gas/testsuite/gas/arm/blank.s [new file with mode: 0644]
gas/testsuite/gas/arm/eabi_attr_1.d
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/attr-merge-2.attr
ld/testsuite/ld-arm/attr-merge-3.attr
ld/testsuite/ld-arm/attr-merge-4.attr
ld/testsuite/ld-arm/attr-merge-5.attr
ld/testsuite/ld-arm/attr-merge-arch-1.attr
ld/testsuite/ld-arm/attr-merge-arch-2.attr
ld/testsuite/ld-arm/attr-merge-unknown-2.d
ld/testsuite/ld-arm/attr-merge-unknown-2r.d
ld/testsuite/ld-arm/attr-merge-unknown-3.d
ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-00.d
ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-02.d
ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-04.d
ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-20.d
ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-22.d
ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-40.d
ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d
ld/testsuite/ld-arm/attr-merge-wchar-44.d
ld/testsuite/ld-arm/attr-merge.attr