]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* scripttempl/aout.sc: Define __etext and __edata to go along with
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 16:17:48 +0000 (16:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 16:17:48 +0000 (16:17 +0000)
_etext and _edata.

ld/ChangeLog
ld/scripttempl/aout.sc

index 948af3e6bfdd631454ffa9b70f034edd26c40722..994bf3df87c94a7ffa5a137a9c710df25ce36767 100644 (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.
index e75764ad3671beaddc6402c71bd06d6f334a3fc3..59e71fbdbec0e1d65769c8a39e190dace4b8bab1 100644 (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)} :
   {