diff --git a/ld/ChangeLog b/ld/ChangeLog index 948af3e6bf..994bf3df87 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 e75764ad36..59e71fbdbe 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)} : {