From f2618f8252fd77391cbaefabce371dc9f96413e9 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 30 Apr 1996 03:33:23 +0000 Subject: [PATCH] * scripttempl/pe.sc (.endjunk): Define __end__. --- ld/ChangeLog | 4 ++++ ld/scripttempl/pe.sc | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index ea30915e2f7..9b58f9d658f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 29 20:31:06 1996 Doug Evans + + * scripttempl/pe.sc (.endjunk): Define __end__. + Mon Apr 29 17:05:13 1996 Ian Lance Taylor * ldlang.c (longest_section_name): Remove. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 712c2c45842..bd9f27eee1c 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -48,7 +48,7 @@ SECTIONS - .edata BLOCK(__section_alignment__) : { + .edata BLOCK(__section_alignment__) : { *(.edata) ; } @@ -97,7 +97,9 @@ SECTIONS .endjunk BLOCK(__section_alignment__) : { + /* end is deprecated, don't use it */ ${RELOCATING+ end = .}; + ${RELOCATING+ __end__ = .}; } .stab BLOCK(__section_alignment__) ${RELOCATING+(NOLOAD)} : -- 2.30.2