From 3d80840d8d08852ead65a14870df22449fa21b4c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Jan 1998 05:02:50 +0000 Subject: [PATCH] * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing a relocateable link, set the image base to 0, and don't define the various symbols. * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. * scripttempl/pe.sc: Swap the .data and .bss sections so that .data comes first. If doing a relocateable link, use RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the sections at 0, and don't define any symbols. --- ld/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 29e2d1b12dc..5a8127c7ffa 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,14 @@ Wed Jan 21 22:26:46 1998 Ian Lance Taylor + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing + a relocateable link, set the image base to 0, and don't define the + various symbols. + * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. + * scripttempl/pe.sc: Swap the .data and .bss sections so that + .data comes first. If doing a relocateable link, use + RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the + sections at 0, and don't define any symbols. + * ldlang.c (lang_memory_default): Correct parenthisization of expression. -- 2.30.2