* libhppa.h: #undef e_* symbols which come from <machine/som.h>
authorStu Grossman <grossman@cygnus>
Sat, 1 May 1993 03:05:18 +0000 (03:05 +0000)
committerStu Grossman <grossman@cygnus>
Sat, 1 May 1993 03:05:18 +0000 (03:05 +0000)
when compiling under HPUX.

bfd/ChangeLog
bfd/libhppa.h

index ac925f9..f96af27 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 30 20:04:10 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * libhppa.h:  #undef e_* symbols which come from <machine/som.h>
+       when compiling under HPUX.
+
 Fri Apr 30 17:25:23 1993  Stu Grossman  (grossman@cygnus.com)
 
        * The following patches are from Jeffrey Law <law@cs.utah.edu>.
index 76b096e..5ae54cb 100644 (file)
@@ -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
 {