This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH,PE] Allow .DEF file parser to handle 'foreign' language symbols.


Dave Korn wrote:

>   Unless anyone objects, I intend to apply the attached patch within the next
> 24 hours or so, subject to some further testing on a number of targets
> (including Cygwin, MinGW and CeGCC).

  Passed everywhere.

> ld/ChangeLog
> 
> 	* deffilep.y (%union):  Add new string-type semantic value 'digits'.
> 	(%token):  Remove NUMBER as token, add DIGITS.
> 	(%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
> 	(ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
> 	(anylang_id):  New production.
> 	(opt_digits):  Likewise.
> 	(opt_id):  Likewise.
> 	(NUMBER):  Likewise.
> 	(def_lex):  Return strings of digits in raw string form as DIGITS
> 	token, instead of converting to numeric integer type.
> 
> ld/testsuite/ChangeLog
> 
> 	* ld-pe/non-c-lang-syms.c:  New dump test source file.
> 	* ld-pe/non-c-lang-syms.d:  New dump test pattern file.
> 	* ld-pe/pe.exp:  Run new "foreign symbol" test.

  And applied.

    cheers,
      DaveK


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