This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld: enable new dtags by default for linux/gnu targets
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: hp at axis dot com
- Cc: binutils at sourceware dot org
- Date: Thu, 31 Jan 2013 10:58:44 +0100
- Subject: Re: [PATCH] ld: enable new dtags by default for linux/gnu targets
> From: Hans-Peter Nilsson <hp@axis.com>
> Date: Thu, 31 Jan 2013 01:58:40 +0100
> > From: Hans-Peter Nilsson <hp@axis.com>
> > Date: Thu, 31 Jan 2013 01:47:06 +0100
>
> > I went for changing the expected output
> > and adding --enable-new-dtags explicitly instead of adding
> > --disable-new-dtags.
>
> Except I didn't have to add it *explicitly*...
Except I did have to, as pointed out by my autotester.
(The "crislinux" emulation doesn't catch everything enabled for
*-*-linux-* targets.)
> (Bah, fallout from switching back-and-forth between email
> editing and test-suite tweaking and missing the last iteration.)
And then fumbling or misreading test-results. I blame the flu.
Committed; I just adjusted my last ChangeLog entry which
already had the right date.
* ld-cris/libdso-13.d: Adjust for --enable-new-dtags now
default for *-*-linux-* by passing explicitly for all targets.
Index: ld-cris/libdso-13.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/libdso-13.d,v
retrieving revision 1.5
diff -p -u -r1.5 libdso-13.d
--- ld-cris/libdso-13.d 31 Jan 2013 00:35:24 -0000 1.5
+++ ld-cris/libdso-13.d 31 Jan 2013 09:53:21 -0000
@@ -1,7 +1,7 @@
#source: dso-1.s
#source: dsov32-3.s
#as: --pic --no-underscore --march=v32 --em=criself
-#ld: --shared -m crislinux -z nocombreloc
+#ld: --shared -m crislinux -z nocombreloc --enable-new-dtags
#readelf: -d -r
#warning: relocation R_CRIS_32_PCREL should not be used in a shared object; recompile with -fPIC
brgds, H-P