allow INCLUDE in more places
Robert Norton
rnorton@broadcom.com
Thu Jul 3 12:15:00 GMT 2008
More information about the Binutils mailing list
Thu Jul 3 12:15:00 GMT 2008
- Previous message (by thread): allow INCLUDE in more places
- Next message (by thread): allow INCLUDE in more places
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message----- > From: binutils-owner@sourceware.org > [mailto:binutils-owner@sourceware.org] On Behalf Of Nathan Sidwell > Sent: 03 July 2008 13:10 > To: binutils > Subject: allow INCLUDE in more places > > I got stuck trying to INCLUDE linker fragments because > INCLUDE is currently only > allowed at the top level. This patch adds grammar fragments > to allow INCLUDE > inside MEMORY and SECTIONS elements, and also inside output > section directives. > > The change to the lexer to recognize INCLUDE inside > expressions is necessary > because the MEMORY elements are all parsed as EXPRESSIONS and > we never return to > SCRIPT lexing (note the lack of element terminators). > > With this patch I'm able to create somewhat more flexible > linker scripts. > > ok? > > nathan > -- > Nathan Sidwell :: http://www.codesourcery.com :: > CodeSourcery I certainly support the intent of this patch. We currently use CPP to pre-processes linker scripts before using them and this could save us the hassle. Robert
- Previous message (by thread): allow INCLUDE in more places
- Next message (by thread): allow INCLUDE in more places
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list