diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-15 16:17:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-15 16:17:48 +0000 |
commit | 66da6c84707acf5f657df6889e0c35bbd4786f20 (patch) | |
tree | 614e80008f463bcf24a92a63e9dc8403ad552e40 | |
parent | 9eb39bca511f11b6b21fb823cf9216d52cf3a8bc (diff) | |
download | gdb-66da6c84707acf5f657df6889e0c35bbd4786f20.zip gdb-66da6c84707acf5f657df6889e0c35bbd4786f20.tar.gz gdb-66da6c84707acf5f657df6889e0c35bbd4786f20.tar.bz2 |
* scripttempl/aout.sc: Define __etext and __edata to go along with
_etext and _edata.
-rw-r--r-- | ld/ChangeLog | 3 | ||||
-rw-r--r-- | ld/scripttempl/aout.sc | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 948af3e..994bf3d 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 e75764a..59e71fb 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)} : { |