PATCH: Fix ia64 ld bootstrap test

Andreas Schwab schwab@suse.de
Thu Dec 5 02:34:00 GMT 2002


"H. J. Lu" <hjl@lucon.org> writes:

|> On Wed, Dec 04, 2002 at 10:45:49PM +0100, Jakub Jelinek wrote:
|> > On Wed, Dec 04, 2002 at 12:09:19PM -0800, H. J. Lu wrote:
|> > > This patch seems to fix ia64 ld bootstrap test.
|> > 
|> > That bfd_malloc/free is unnecessary IMHO.
|> 
|> Can we use
|> 
|> 	char addr_name [sizeof (...) ...];
|> 
|> I know gcc supports it. But I don't know others.

sizeof qualifies as a constant expression, and always has been.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list