Fix name clash
This commit is contained in:
parent
1e04e08737
commit
8b7d491c25
|
@ -1,3 +1,9 @@
|
||||||
|
2000-06-03 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
|
* reloc-macros.h (START_RELOC_NUMBERS): Fix name clash for
|
||||||
|
!__STDC__ case.
|
||||||
|
(RELOC_NUMBER): Use ansi stringify if ALMOST_STDC defined.
|
||||||
|
|
||||||
2000-05-22 Richard Henderson <rth@cygnus.com>
|
2000-05-22 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
|
* ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Generic relocation support for BFD.
|
/* Generic relocation support for BFD.
|
||||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ name (rtype) \
|
||||||
switch (rtype) \
|
switch (rtype) \
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef __STDC__
|
#if defined (__STDC__) || defined (ALMOST_STDC)
|
||||||
#define RELOC_NUMBER(name, number) case number : return #name ;
|
#define RELOC_NUMBER(name, number) case number : return #name ;
|
||||||
#else
|
#else
|
||||||
#define RELOC_NUMBER(name, number) case number : return "name" ;
|
#define RELOC_NUMBER(name, number) case number : return "name" ;
|
||||||
|
@ -100,10 +100,10 @@ name (rtype) \
|
||||||
to -1 so that the first real entry will still default to 0). Further
|
to -1 so that the first real entry will still default to 0). Further
|
||||||
entries then prepend a comma to their definitions, creating a list
|
entries then prepend a comma to their definitions, creating a list
|
||||||
of enumerator entries that will satisfy these compilers. */
|
of enumerator entries that will satisfy these compilers. */
|
||||||
#ifdef __STDC__
|
#if defined (__STDC__) || defined (ALMOST_STDC)
|
||||||
#define START_RELOC_NUMBERS(name) enum name { _##name = -1
|
#define START_RELOC_NUMBERS(name) enum name { _##name = -1
|
||||||
#else
|
#else
|
||||||
#define START_RELOC_NUMBERS(name) enum name { name = -1
|
#define START_RELOC_NUMBERS(name) enum name { _/**/name = -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define RELOC_NUMBER(name, number) , name = number
|
#define RELOC_NUMBER(name, number) , name = number
|
||||||
|
|
Loading…
Reference in New Issue