This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Display some optimisations when --traditional-format
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 31 May 2012 10:05:14 -0700
- Subject: Re: Display some optimisations when --traditional-format
- References: <20120526111631.GA3086@bubble.grove.modra.org>
On Sat, May 26, 2012 at 4:16 AM, Alan Modra <amodra@gmail.com> wrote:
>
> Oddly, with string merge enabled .rodata size increased! ?A
> peculiarity of the way string merging works with aligned data like
> .rodata.str1.8 in sr1.o. ?We could fix the alignment padding, I
> suppose, but it doesn't seem worth the effort.
>
> So I'm committing the following, minus the ldlang.c patch to give
> people time to object to that particular change.
>
> ld/
> ? ? ? ?* ldlang.c (lang_process): Disable string merging when
> ? ? ? ?--traditional-format.
> ? ? ? ?* ldlex.h (enum option_values): Move from..
> ? ? ? ?* lexsup.c: ..here.
> ? ? ? ?* emultempl/ppc32elf.em: Include ldlex.h.
> ? ? ? ?(PARSE_AND_LIST_ARGS_CASES): Disable optimisations when
> ? ? ? ?--traditional-format.
> ? ? ? ?* emultempl/ppc64elf.em: Likewise.
I checked in this to fix a typo in ChangeLog.
--
H.J.
--
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/ChangeLog,v
retrieving revision 1.2449
diff -u -p -r1.2449 ChangeLog
--- ChangeLog 30 May 2012 04:19:10 -0000 1.2449
+++ ChangeLog 31 May 2012 17:03:01 -0000
@@ -8,8 +8,8 @@
2012-05-26 Alan Modra <amodra@gmail.com>
- * ldlex.h (enum option_values): Move from..
- * lexsup.c: ..here.
+ * lexsup.c (enum option_values): Move from..
+ * ldlex.h: ..here.
* emultempl/ppc32elf.em: Include ldlex.h.
(PARSE_AND_LIST_ARGS_CASES): Disable optimisations when
--traditional-format.