# Linker script for PE. # # Copyright (C) 2014 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. if test -z "${RELOCATEABLE_OUTPUT_FORMAT}"; then RELOCATEABLE_OUTPUT_FORMAT=${OUTPUT_FORMAT} fi # We can't easily and portably get an unquoted $ in a shell # substitution, so we do this instead. if test "${RELOCATING}"; then R_TEXT='*(.text$*)' R_DATA='*(.data$*)' R_RDATA='*(.rdata$*)' R_IDATA=' *(.idata$2) *(.idata$3) /* These zeroes mark the end of the import list. */ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0); *(.idata$4) *(.idata$5) *(.idata$6) *(.idata$7)' R_CRT='*(.CRT$*)' R_RSRC='*(.rsrc$*)' R_EXC='*(.exc$*)' else R_TEXT= R_DATA= R_RDATA= R_IDATA= R_CRT= R_RSRC= R_EXC= fi cat <