From: Ian Lance Taylor Date: Wed, 15 Jun 1994 16:17:48 +0000 (+0000) Subject: * scripttempl/aout.sc: Define __etext and __edata to go along with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66da6c84707acf5f657df6889e0c35bbd4786f20;p=binutils-gdb.git * scripttempl/aout.sc: Define __etext and __edata to go along with _etext and _edata. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 948af3e6bfd..994bf3df87c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/scripttempl/aout.sc b/ld/scripttempl/aout.sc index e75764ad367..59e71fbdbec 100644 --- a/ld/scripttempl/aout.sc +++ b/ld/scripttempl/aout.sc @@ -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)} : {