diff options
| author | mycroft <mycroft@NetBSD.org> | 2000-07-24 02:30:40 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 2000-07-24 02:30:40 +0000 |
| commit | a7bc813f46eda92680152fae3b43bcffc5ac2645 (patch) | |
| tree | be73e7e477bfcf2112fa41c85c73a255c444cfe7 /gnu | |
| parent | 9b2c5720e81fe1e8f3085c3df507009248016b39 (diff) | |
Pull in a change critical to making the sparc64 compile:
Redefine ASM_OUTPUT_DWARF_ADDR_CONST() using ASM_OUTPUT_DWARF2_ADDR_CONST(), so
that the latter can take a string.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc/dwarf2out.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/dist/gcc/dwarf2out.c b/gnu/dist/gcc/dwarf2out.c index b72d8616622..ec6bbfc5607 100644 --- a/gnu/dist/gcc/dwarf2out.c +++ b/gnu/dist/gcc/dwarf2out.c @@ -346,6 +346,16 @@ static void dwarf2out_stack_adjust PROTO((rtx)); } while (0) #endif +/* ??? This macro takes an RTX in dwarfout.c and a string in dwarf2out.c. + We resolve the conflict by creating a new macro ASM_OUTPUT_DWARF2_ADDR_CONST + for ports that want to support both DWARF1 and DWARF2. This needs a better + solution. See also the comments in sparc/sp64-elf.h. */ +#ifdef ASM_OUTPUT_DWARF2_ADDR_CONST +#undef ASM_OUTPUT_DWARF_ADDR_CONST +#define ASM_OUTPUT_DWARF_ADDR_CONST(FILE,ADDR) \ + ASM_OUTPUT_DWARF2_ADDR_CONST (FILE, ADDR) +#endif + #ifndef ASM_OUTPUT_DWARF_ADDR_CONST #define ASM_OUTPUT_DWARF_ADDR_CONST(FILE,ADDR) \ fprintf ((FILE), "\t%s\t%s", UNALIGNED_WORD_ASM_OP, (ADDR)) |
