* scripttempl/aout.sc: Define __etext and __edata to go along with

_etext and _edata.
This commit is contained in:
Ian Lance Taylor 1994-06-15 16:17:48 +00:00
parent 9eb39bca51
commit 66da6c8470
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* scripttempl/aout.sc: Define __etext and __edata to go along with
_etext and _edata.
* ld.h (ld_config_type): Add new field traditional_format.
* lexsup.c (parse_args): Add traditional-format to longopts, and
handle it.

View File

@ -21,6 +21,7 @@ SECTIONS
*(.need)
${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
${RELOCATING+_etext = ${DATA_ALIGNMENT};}
${RELOCATING+__etext = ${DATA_ALIGNMENT};}
}
.data ${RELOCATING+${DATA_ALIGNMENT}} :
{
@ -31,6 +32,7 @@ SECTIONS
*(.data)
${CONSTRUCTING+CONSTRUCTORS}
${RELOCATING+_edata = .;}
${RELOCATING+__edata = .;}
}
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
{