From 037849a9a042086e71aedd90f9e2e8e45a117db0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 13 Dec 2000 18:28:52 +0000 Subject: [PATCH] Revert the last beautification with "innocent" whitespace, it breaks the K&R C preprocessor. --- ld/ChangeLog | 5 +++++ ld/ldlang.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 87d8c46..19b2c04 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2000-12-13 Michael Sokolov + + * ldlang.c (new_stat): Revert the last beautification with "innocent" + whitespace, it breaks the K&R C preprocessor. + 2000-12-11 DJ Delorie * ld.texinfo: Add notes about --whole-archive and gcc. diff --git a/ld/ldlang.c b/ld/ldlang.c index 75eb34d..532b23d 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -195,7 +195,8 @@ etree_type *base; /* Relocation base - or null */ #define cat(a,b) a/**/b #endif -#define new_stat(x, y) (cat (x, _type)*) new_statement (cat (x, _enum), sizeof (cat (x, _type)), y) +/* Don't beautify the line below with "innocent" whitespace, it breaks the K&R C preprocessor! */ +#define new_stat(x, y) (cat (x,_type)*) new_statement (cat (x,_enum), sizeof (cat (x,_type)), y) #define outside_section_address(q) ((q)->output_offset + (q)->output_section->vma) -- 2.7.4