* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
authorIan Lance Taylor <ian@airs.com>
Thu, 22 Jan 1998 05:02:50 +0000 (05:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 22 Jan 1998 05:02:50 +0000 (05:02 +0000)
commit3d80840d8d08852ead65a14870df22449fa21b4c
tree99f99200d1c677783556c31d391267fe1f1954e2
parentf5e23c73d714885ffebb39a6a7fe205e7f5d1a52
* 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