diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:28:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:28:52 +0000 |
commit | 037849a9a042086e71aedd90f9e2e8e45a117db0 (patch) | |
tree | 2e54919c7cb5ac4d546fee8ab9f892e2c93712d4 /ld | |
parent | 0485cba3d316c1a419ac147eccbc7f9bec8f5768 (diff) | |
download | gdb-037849a9a042086e71aedd90f9e2e8e45a117db0.zip gdb-037849a9a042086e71aedd90f9e2e8e45a117db0.tar.gz gdb-037849a9a042086e71aedd90f9e2e8e45a117db0.tar.bz2 |
Revert the last beautification with "innocent" whitespace,
it breaks the K&R C preprocessor.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldlang.c | 3 |
2 files changed, 7 insertions, 1 deletions
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 <msokolov@ivan.Harhan.ORG> + + * ldlang.c (new_stat): Revert the last beautification with "innocent" + whitespace, it breaks the K&R C preprocessor. + 2000-12-11 DJ Delorie <dj@redhat.com> * 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) |