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]

--set-section-flags test 1 and targets with max-page-size==1


	* ld-elf/flags1.s: Use arm compatible .type syntax.
	* ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k,
	moxie, mt.

Index: ld/testsuite/ld-elf/flags1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/flags1.d,v
retrieving revision 1.6
diff -u -p -r1.6 flags1.d
--- ld/testsuite/ld-elf/flags1.d	18 Sep 2010 02:30:41 -0000	1.6
+++ ld/testsuite/ld-elf/flags1.d	28 Oct 2010 03:49:51 -0000
@@ -2,13 +2,12 @@
 #ld: -Tflags1.ld
 #objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code 
 #readelf: -l --wide
-#xfail: "arm*-*-*" "xscale-*-*"
-#xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "m32r-*-*" "msp430-*-*" "tic6x-*-*"
+#xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "i960-*-*" "ip2k-*-*" "m32r-*-*"
+#xfail: "moxie-*-*" "mt-*-*" "msp430-*-*" "tic6x-*-*"
 #xfail: "*-*-hpux*" "hppa*64*-*-*"
-# Fails on the ARM because the .section type character is % rather than @.
-# Fails on the AVR, DLX, H8300, M32R, MSP430 and TI C6X because the two
-#  sections are not merged into one segment.  (There is no good reason why
-#  they have to be).
+# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, MSP430 and
+#  TI C6X because the two sections are not merged into one segment.
+#  (There is no good reason why they have to be).
 # Fails on HPUX systems because the .type pseudo-op behaves differently.
 # Fails on hppa64 because a PHDR is always added.
 
Index: ld/testsuite/ld-elf/flags1.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/flags1.s,v
retrieving revision 1.1
diff -u -p -r1.1 flags1.s
--- ld/testsuite/ld-elf/flags1.s	13 Nov 2007 13:20:02 -0000	1.1
+++ ld/testsuite/ld-elf/flags1.s	28 Oct 2010 03:49:51 -0000
@@ -1,5 +1,5 @@
 	.text
-.globl start
-	.type	start, @function
+	.globl	start
+	.type	start, %function
 start:
 	.byte 0

-- 
Alan Modra
Australia Development Lab, IBM


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