diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-31 17:11:46 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-31 17:11:46 +0000 |
commit | aef3ae9a8f3972806867df03cf4720e830f24242 (patch) | |
tree | 1ee3234e2dc41714dd9603affe8e04c1ee89e81d /bfd/libhppa.h | |
parent | 54fdaa7bbb8684d3c16b1dfbf4aea6ba3b363c30 (diff) | |
download | gdb-aef3ae9a8f3972806867df03cf4720e830f24242.zip gdb-aef3ae9a8f3972806867df03cf4720e830f24242.tar.gz gdb-aef3ae9a8f3972806867df03cf4720e830f24242.tar.bz2 |
* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r-- | bfd/libhppa.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h index 14c8899..f357fe5 100644 --- a/bfd/libhppa.h +++ b/bfd/libhppa.h @@ -54,6 +54,33 @@ enum hppa_reloc_field_selector_type R_HPPA_RTSEL = 0xe }; +/* /usr/include/reloc.h defines these to constants. We want to use + them in enums, so #undef them before we start using them. We might + be able to fix this another way by simply managing not to include + /usr/include/reloc.h, but currently GDB picks up these defines + somewhere. */ +#undef e_fsel +#undef e_lssel +#undef e_rssel +#undef e_lsel +#undef e_rsel +#undef e_ldsel +#undef e_rdsel +#undef e_lrsel +#undef e_rrsel +#undef e_psel +#undef e_lpsel +#undef e_rpsel +#undef e_tsel +#undef e_ltsel +#undef e_rtsel +#undef e_one +#undef e_two +#undef e_pcrel +#undef e_con +#undef e_plabel +#undef e_abs + /* for compatibility */ enum hppa_reloc_field_selector_type_alt { |