minor ld/ commits

Alan Modra alan@linuxcare.com.au
Mon Jul 10 10:18:00 GMT 2000


Remove a macro redefinition warning (on HPUX?), and tidy configure.tgt
Committed.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.

ld/ChangeLog
2000-07-10  Alan Modra  <alan@linuxcare.com.au>

	* configure.tgt: Remove extraneous hppa*-*-linux-gnu*.

	From Ryan Bradetich  <rbradetich@uswest.net>
	* ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
 
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.33
diff -u -p -r1.33 configure.tgt
--- configure.tgt	2000/07/09 08:45:29	1.33
+++ configure.tgt	2000/07/10 13:26:18
@@ -210,7 +210,6 @@ m68*-*-rtems*)		targ_emul=m68kcoff ;;
 hppa*64*-*)		targ_emul=elf64hppa ;;
 hppa*-*-linux-gnu*)	targ_emul=hppalinux ;;
 hppa*-*-*elf*)		targ_emul=hppaelf ;;
-hppa*-*-linux-gnu*)	targ_emul=hppaelf ;;
 hppa*-*-lites*)		targ_emul=hppaelf ;;
 hppa*-*-rtems*)		targ_emul=hppaelf ;;
 vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
Index: ld/ldwrite.c
===================================================================
RCS file: /cvs/src/src/ld/ldwrite.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 ldwrite.c
--- ldwrite.c	1999/05/03 07:29:07	1.1.1.1
+++ ldwrite.c	2000/07/10 13:26:19
@@ -305,8 +305,7 @@ clone_section (abfd, s, count)
      asection *s;
      int *count;
 {
-#define SSIZE 8
-  char sname[SSIZE];		/* ??  find the name for this size */
+  char sname[8];		/* ??  find the name for this size */
   asection *n;
   struct bfd_link_hash_entry *h;
   /* Invent a section name - use first five



More information about the Binutils mailing list