aboutsummaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-05-01 03:05:18 +0000
committerStu Grossman <grossman@cygnus>1993-05-01 03:05:18 +0000
commitb2057735d8c9a95da0a7ccee3a6c752f2a5d40ea (patch)
tree1335d86bf39bc36fed3b93ca2a4fd067af74ccfe /bfd/libhppa.h
parent55bee667d8a97e7950025cc348722d16d568510b (diff)
downloadgdb-b2057735d8c9a95da0a7ccee3a6c752f2a5d40ea.zip
gdb-b2057735d8c9a95da0a7ccee3a6c752f2a5d40ea.tar.gz
gdb-b2057735d8c9a95da0a7ccee3a6c752f2a5d40ea.tar.bz2
* libhppa.h: #undef e_* symbols which come from <machine/som.h>
when compiling under HPUX.
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r--bfd/libhppa.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h
index 76b096e..5ae54cb 100644
--- a/bfd/libhppa.h
+++ b/bfd/libhppa.h
@@ -139,6 +139,30 @@ enum hppa_reloc_field_selector_type
};
+/* Need to undefine things defined in <machine/som.h> */
+
+#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
{