This is the mail archive of the binutils@sources.redhat.com 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: ld check failure for Linux/arm


> Date: Wed, 6 Feb 2002 17:45:48 -0800
> From: "H . J . Lu" <hjl@lucon.org>

> /home/hjl/work/linux/import/binutils/ld/testsuite/ld-selective/keepdot.s:5:Warning: rest of line ignored; first ignored character is `,'
> /home/hjl/work/linux/import/binutils/ld/testsuite/ld-selective/keepdot.s:13: Warning: rest of line ignored; first ignored character is `,'
> FAIL: Preserve default . = 0
> FAIL: Preserve explicit . = 0

Apparently due to arm having '@' in comment_chars.  I committed
this as obvious after checking in gas/config that no ELF target
had an apparent issue with losing the section type.  The section
type isn't important for this test.

Tested for arm-unknown-elf (a target where it failed before).
Also tested for cris-axis-linux-gnu and on
i686-pc-linux-gnulibc1.

ld/testsuite:
	* ld-selective/keepdot.s: Remove section specifier.

Index: keepdot.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-selective/keepdot.s,v
retrieving revision 1.1
diff -u -p -r1.1 keepdot.s
--- keepdot.s	2002/02/05 06:45:16	1.1
+++ keepdot.s	2002/02/07 02:41:45
@@ -2,7 +2,7 @@
 	.stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0
 	.stabs "char:t(0,2)=r(0,2);0;127;",128,0,0,0
 
-	.section	.myinit,"ax",@progbits
+	.section	.myinit,"ax"
 	.stabs "barxfoo:F(0,20)",36,0,2,_bar
 	.global _bar
 	.global _start
@@ -10,7 +10,7 @@ _start:
 _bar:
 	.long 123
 
-	.section	.mytext.baz,"ax",@progbits
+	.section	.mytext.baz,"ax"
 	.stabs "baz:F(0,20)",36,0,6,_baz
 	.global _baz
 _baz:

brgds, H-P


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