diff --git a/ld/ChangeLog b/ld/ChangeLog index 87d8c469e7..19b2c04270 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 75eb34d40b..532b23d0e9 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)