patch for DJGPP linker script
Mark E.
snowball3@bigfoot.com
Sun Feb 20 14:55:00 GMT 2000
Hello folks,
This is an update for DJGPP's linker script to correct problems with semicolons
that aren't quite in the correct place.
ld/Changelog
2000-02-20 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Move misplaced semicolons.
*** ld/scripttempl/i386go32.sc.orig Mon Aug 9 23:07:46 1999
--- ld/scripttempl/i386go32.sc Sun Feb 20 17:47:40 2000
*************** SECTIONS
*** 21,27 ****
*(.const*)
*(.ro*)
${RELOCATING+*(.gnu.linkonce.r*)}
! ${RELOCATING+etext = . ; _etext = .};
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
.data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
--- 21,27 ----
*(.const*)
*(.ro*)
${RELOCATING+*(.gnu.linkonce.r*)}
! ${RELOCATING+etext = . ; _etext = . ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
.data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
*************** SECTIONS
*** 40,46 ****
${RELOCATING+LONG(0);}
${RELOCATING+*(.gnu.linkonce.d*)}
! ${RELOCATING+edata = . ; _edata = .};
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${CONSTRUCTING+${RELOCATING-$CTOR}}
--- 40,46 ----
${RELOCATING+LONG(0);}
${RELOCATING+*(.gnu.linkonce.d*)}
! ${RELOCATING+edata = . ; _edata = . ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${CONSTRUCTING+${RELOCATING-$CTOR}}
*************** SECTIONS
*** 49,55 ****
{
*(.bss)
*(COMMON)
! ${RELOCATING+ end = . ; _end = .};
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
}
}
--- 49,55 ----
{
*(.bss)
*(COMMON)
! ${RELOCATING+ end = . ; _end = . ;}
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
}
}
More information about the Binutils
mailing list