Display some optimisations when --traditional-format
H.J. Lu
hjl.tools@gmail.com
Thu May 31 17:05:00 GMT 2012
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.
More information about the Binutils
mailing list