aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-02-25 23:47:21 +0000
committerPer Bothner <per@bothner.com>1993-02-25 23:47:21 +0000
commit26483cc66833be3304f03529ac94447822bed9e1 (patch)
tree419b4aaa6b98c5f1eb13bec98a1b2e5c8273c2af
parent31ca3f4ce56553a2bf5033a471bea07f7530d2b0 (diff)
downloadgdb-26483cc66833be3304f03529ac94447822bed9e1.zip
gdb-26483cc66833be3304f03529ac94447822bed9e1.tar.gz
gdb-26483cc66833be3304f03529ac94447822bed9e1.tar.bz2
* ldsym.c (KEEP macro): Add spaces around '=' for the
sake of old (e.g. PCC) compilers.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldsym.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2467ab4..2c04888 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com)
+
+ * ldsym.c (KEEP macro): Add spaces around '=' for the
+ sake of old (e.g. PCC) compilers.
+
Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com)
* ldver.c: Bump to version 2.1.
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 11534c1..2351279 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -215,7 +215,7 @@ process_keepsyms (table, size)
errno = 0;
#define KEEP(S) \
- do { asymbol **p=(S), *tmp=*out; *out=*p; *p=tmp; out++; } while (0)
+ do { asymbol **p = (S), *tmp = *out; *out = *p; *p = tmp; out++; } while (0)
while (!feof (ks_file) && !ferror (ks_file))
{