PATCH: Update PR ld/14156 tests

H.J. Lu hongjiu.lu@intel.com
Tue Jul 31 20:56:00 GMT 2012


Hi,

I checked in this patch to update PR ld/14156 tests.

H.J.
--
	* ld-elf/fini0.s: Indent global directive.
	* ld-elf/foo0.s: Likewise.
	* ld-elf/init0.s: Likewise.

	* ld-elf/pr14156c.t: Keep text section.

diff --git a/ld/testsuite/ld-elf/fini0.s b/ld/testsuite/ld-elf/fini0.s
index f2ccfb7..3bb53f0 100644
--- a/ld/testsuite/ld-elf/fini0.s
+++ b/ld/testsuite/ld-elf/fini0.s
@@ -11,6 +11,6 @@ main:
 
 	.section .fini
 	.p2align 2
-.globl foo
+	.global foo
 	.type	foo,%function
 foo:
diff --git a/ld/testsuite/ld-elf/foo0.s b/ld/testsuite/ld-elf/foo0.s
index df71662..8104970 100644
--- a/ld/testsuite/ld-elf/foo0.s
+++ b/ld/testsuite/ld-elf/foo0.s
@@ -11,6 +11,6 @@ main:
 
 	.section .foo,"ax",%progbits
 	.p2align 2
-.globl foo
+	.global foo
 	.type	foo,%function
 foo:
diff --git a/ld/testsuite/ld-elf/init0.s b/ld/testsuite/ld-elf/init0.s
index 3c8cf8c..68281d2 100644
--- a/ld/testsuite/ld-elf/init0.s
+++ b/ld/testsuite/ld-elf/init0.s
@@ -11,6 +11,6 @@ main:
 
 	.section .init
 	.p2align 2
-.globl foo
+	.global foo
 	.type	foo,%function
 foo:
diff --git a/ld/testsuite/ld-elf/pr14156c.t b/ld/testsuite/ld-elf/pr14156c.t
index 97ad77d..c8be2c5 100644
--- a/ld/testsuite/ld-elf/pr14156c.t
+++ b/ld/testsuite/ld-elf/pr14156c.t
@@ -1,4 +1,5 @@
 SECTIONS {
+  .text : { *(.text) }
   .foo : { *(SORT_NONE(.foo)) }
   /DISCARD/ : { *(.*) }
 }



More information about the Binutils mailing list