This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld-cris failure
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: hjl at lucon dot org, amodra at bigpond dot net dot au
- Cc: binutils at sources dot redhat dot com, hans-peter dot nilsson at axis dot com
- Date: Thu, 7 Mar 2002 15:05:09 +0100
- Subject: Re: ld-cris failure
> Date: Thu, 7 Mar 2002 21:36:12 +1030
> From: Alan Modra <amodra@bigpond.net.au>
> On Wed, Mar 06, 2002 at 10:29:06PM -0800, H . J . Lu wrote:
> > regexp_diff match failure
> > regexp "^00082208 g DO .data 00000000 expobj$"
> > line "00082220 g DO .data 00000000 expobj"
> > FAIL: ld-cris/expdyn1
>
> This will be due to the ALIGN in elf.sc before .preinit_array
Fixed as below. Thanks for the report and the analysis!
Though I wish the alignment could only be done if there's a
.preinit_array present; I see the problem mentioned in elf.sc.
* ld-cris/expdyn1.d: Tweak for change in elf.sc.
Index: expdyn1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/expdyn1.d,v
retrieving revision 1.1
diff -u -p -r1.1 expdyn1.d
--- expdyn1.d 2002/01/31 10:42:18 1.1
+++ expdyn1.d 2002/03/07 13:56:12
@@ -10,5 +10,5 @@
DYNAMIC SYMBOL TABLE:
#...
00080206 g DF .text 00000002 expfn
-00082208 g DO .data 00000000 expobj
+00082220 g DO .data 00000000 expobj
#pass
brgds, H-P