From: Ian Lance Taylor Date: Thu, 22 Jan 1998 05:02:50 +0000 (+0000) Subject: * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing X-Git-Tag: gdb-4_18~3775 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d80840d8d08852ead65a14870df22449fa21b4c;p=platform%2Fupstream%2Fbinutils.git * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 29e2d1b..5a8127c 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.