This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH,PE] Allow .DEF file parser to handle 'foreign' language symbols.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 27 May 2009 19:52:52 +0100
- Subject: Re: [PATCH,PE] Allow .DEF file parser to handle 'foreign' language symbols.
- References: <4A1C19F2.5030709@gmail.com>
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