* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),

for consecutive sections.
This commit is contained in:
Hans-Peter Nilsson 2000-10-18 13:10:12 +00:00
parent c338868aa6
commit c5975a4546
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2000-10-18 Hans-Peter Nilsson <hp@axis.com>
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.
2000-10-17 Chandrakala Chavva <cchavva@redhat.com> 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
* lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific

View file

@ -62,6 +62,14 @@ SECTIONS
${CONSTRUCTING+ PROVIDE(___dtors_end = .);} ${CONSTRUCTING+ PROVIDE(___dtors_end = .);}
${CONSTRUCTING+ ___elf_ctors_dtors_end = .;} ${CONSTRUCTING+ ___elf_ctors_dtors_end = .;}
/* We include objects that force alignment of the data segment.
Unfortunately that sometimes causes a gap between .text and .data,
which is not detectable since .data does not have a start address
of itself in the a.out header. This should only matter for
testing; for production use, .data is at a "known" location.
We assume .data does not get an alignment larger than 32 bytes. */
${RELOCATING+. = ALIGN (32);}
${RELOCATING+ __Etext = .;} ${RELOCATING+ __Etext = .;}
/* Deprecated, use __Etext. */ /* Deprecated, use __Etext. */
@ -82,6 +90,10 @@ SECTIONS
${RELOCATING+*(.gnu.linkonce.d*)} ${RELOCATING+*(.gnu.linkonce.d*)}
${RELOCATING+*(.eh_frame) /* FIXME: Make .text */} ${RELOCATING+*(.eh_frame) /* FIXME: Make .text */}
${RELOCATING+*(.gcc_except_table)} ${RELOCATING+*(.gcc_except_table)}
/* See comment at ALIGN before __Etext. */
${RELOCATING+. = ALIGN (32);}
${RELOCATING+ __Edata = .;} ${RELOCATING+ __Edata = .;}
/* Deprecated, use __Edata. */ /* Deprecated, use __Edata. */