+2006-11-08 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/elf32.em (gld*_before_allocation): Adjust output section
+ size for warning sections.
+
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
- * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
- Don't prepend "warning" to the message.
+ * emultempl/elf32.em (gld*_before_allocation): Don't prepend
+ "warning" to the message.
2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
ASSERT (ret);
free (msg);
- /* Clobber the section size, so that we don't waste copying the
- warning into the output file. */
+ /* Clobber the section size, so that we don't waste space
+ copying the warning into the output file. If we've already
+ sized the output section, adjust its size. The adjustment
+ is on rawsize because targets that size sections early will
+ have called lang_reset_memory_regions after sizing. */
+ if (s->output_section != NULL
+ && s->output_section->rawsize >= s->size)
+ s->output_section->rawsize -= s->size;
+
s->size = 0;
- /* Also set SEC_EXCLUDE, so that symbols defined in the warning
- section don't get copied to the output. */
+ /* Also set SEC_EXCLUDE, so that local symbols defined in the
+ warning section don't get copied to the output. */
s->flags |= SEC_EXCLUDE | SEC_KEEP;
}
}
+2006-11-08 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
+
2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
- * testsuite/ld-elf/symbol2w.s: Use "%" instead
- of "@" to avoid breakage on ARM.
+ * testsuite/ld-elf/symbol2w.s: Use "%" instead of "@" to avoid
+ breakage on ARM.
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>