* scripttempl/aix.sc: Consider header size for .text and .data
alignment.
+2011-11-03 Tristan Gingold <gingold@adacore.com>
+
+ * scripttempl/aix.sc: Consider header size for .text and .data
+ alignment.
+
2011-11-02 Tristan Gingold <gingold@adacore.com>
* emultempl/aix.em (read_file_list): New function.
{
.pad 0 : { *(.pad) }
- . = 0x10000000;
+ . = ALIGN (0x10000000 + SIZEOF_HEADERS, 32);
.text ${RELOCATING-0} : {
${RELOCATING+PROVIDE (_text = .);}
*(.text)
*(.tb)
${RELOCATING+PROVIDE (_etext = .);}
}
- . = ALIGN (0x10000000);
+
+ . = ALIGN (ALIGN (0x10000000) + (. & 0xfff), 32);
.data . : {
${RELOCATING+PROVIDE (_data = .);}
*(.data)