* scripttempl/aout.sc: Define __etext and __edata to go along with
_etext and _edata.
This commit is contained in:
parent
9eb39bca51
commit
66da6c8470
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
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.
|
* ld.h (ld_config_type): Add new field traditional_format.
|
||||||
* lexsup.c (parse_args): Add traditional-format to longopts, and
|
* lexsup.c (parse_args): Add traditional-format to longopts, and
|
||||||
handle it.
|
handle it.
|
||||||
|
|
|
@ -21,6 +21,7 @@ SECTIONS
|
||||||
*(.need)
|
*(.need)
|
||||||
${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
|
${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
|
||||||
${RELOCATING+_etext = ${DATA_ALIGNMENT};}
|
${RELOCATING+_etext = ${DATA_ALIGNMENT};}
|
||||||
|
${RELOCATING+__etext = ${DATA_ALIGNMENT};}
|
||||||
}
|
}
|
||||||
.data ${RELOCATING+${DATA_ALIGNMENT}} :
|
.data ${RELOCATING+${DATA_ALIGNMENT}} :
|
||||||
{
|
{
|
||||||
|
@ -31,6 +32,7 @@ SECTIONS
|
||||||
*(.data)
|
*(.data)
|
||||||
${CONSTRUCTING+CONSTRUCTORS}
|
${CONSTRUCTING+CONSTRUCTORS}
|
||||||
${RELOCATING+_edata = .;}
|
${RELOCATING+_edata = .;}
|
||||||
|
${RELOCATING+__edata = .;}
|
||||||
}
|
}
|
||||||
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
|
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue