This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Arm EABI object attributes


On Thursday 29 September 2005 14:38, Daniel Jacobowitz wrote:
> On Wed, Sep 28, 2005 at 11:02:40PM +0100, Paul Brook wrote:
> > Comments/suggestions?
>
> All these testcase changes and not a single new testcase? :-)

Bah. I added a couple of testcases but forgot to do "cvsdo add" before 
creating the patch.

I'll see if I can figure out how to come up with a meaningful linker test.

Paul

gas/testsuite/
        * gas/arm/eabi_attr_1.s: New test.
        * gas/arm/eabi_attr_1.d: New test.
        * gas/arm/eabi_attr_2.s: New test.
        * gas/arm/eabi_attr_2.d: New test.
Index: gas/testsuite/gas/arm/eabi_attr_1.d
===================================================================
RCS file: gas/testsuite/gas/arm/eabi_attr_1.d
diff -N gas/testsuite/gas/arm/eabi_attr_1.d
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/arm/eabi_attr_1.d	28 Sep 2005 14:52:23 -0000
@@ -0,0 +1,13 @@
+# as: -meabi=4
+# readelf: -A
+# This test is only valid on ELF based ports.
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+Attribute Section: aeabi
+File Attributes
+  Tag_ARM_ISA_use: Yes
+  Tag_CPU_arch: v6
+  Tag_CPU_name: "arm1136jf-s"
+  Tag_unknown_129: "bar"
+  Tag_unknown_128: 1234 \(0x4d2\)
+  Tag_ABI_VFP_args: VFP registers
+  Tag_compatibility: flag = 3, vendor = GNU
Index: gas/testsuite/gas/arm/eabi_attr_1.s
===================================================================
RCS file: gas/testsuite/gas/arm/eabi_attr_1.s
diff -N gas/testsuite/gas/arm/eabi_attr_1.s
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/arm/eabi_attr_1.s	27 Sep 2005 14:20:44 -0000
@@ -0,0 +1,9 @@
+.text
+.cpu arm1136jf-s
+foo:
+bx lr
+.eabi_attribute 32, 3, "GNU"
+.eabi_attribute 28, 1
+.eabi_attribute 128, 1234
+.eabi_attribute 129, "bar"
+
Index: gas/testsuite/gas/arm/eabi_attr_2.d
===================================================================
RCS file: gas/testsuite/gas/arm/eabi_attr_2.d
diff -N gas/testsuite/gas/arm/eabi_attr_2.d
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/arm/eabi_attr_2.d	28 Sep 2005 14:52:27 -0000
@@ -0,0 +1,8 @@
+# as: -meabi=4
+# readelf: -A
+# This test is only valid on ELF based ports.
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+Attribute Section: aeabi
+File Attributes
+  Tag_THUMB_ISA_use: Thumb-1
+  Tag_CPU_arch: v5T
Index: gas/testsuite/gas/arm/eabi_attr_2.s
===================================================================
RCS file: gas/testsuite/gas/arm/eabi_attr_2.s
diff -N gas/testsuite/gas/arm/eabi_attr_2.s
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/arm/eabi_attr_2.s	27 Sep 2005 15:49:50 -0000
@@ -0,0 +1,6 @@
+.text
+.cpu all
+.thumb
+foo:
+blx bar
+

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]