This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for DJGPP linker script


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});}
    }
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]