This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

3.0.1 PATCH: Avoid subtracting labels in different sections on Solaris 2/Intel

I've successfully bootstrapped i386-pc-solaris2.8 with the native as, a
mainline patch to fix a comparison failure

and this patch below by Robert Lipe:

With this patch, gcc on Solaris 2/Intel bootstraps without gas for the
first time since the EH merge, as has been reported several times:

Ok for branch and mainline?


Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE

Mon Jun 25 19:22:15 2001  Robert Lipe <>
			  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
	Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.

RCS file: gcc/config/i386/RCS/sol2.h,v
retrieving revision 1.1
diff -up -r1.1 gcc/config/i386/sol2.h
--- gcc/config/i386/sol2.h	2000/11/02 23:29:10	1.1
+++ gcc/config/i386/sol2.h	2000/11/02 22:29:10
@@ -61,6 +61,14 @@ Boston, MA 02111-1307, USA.  */
+/* Select a format to encode pointers in exception handling data.  CODE
+   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is
+   true if the symbol may be affected by dynamic relocations.  */
+  (flag_pic ? (GLOBAL ? DW_EH_PE_indirect : 0) | DW_EH_PE_datarel	\
+   : DW_EH_PE_absptr)
 /* Add "sun" to the list of symbols defined for SVR4.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]