This is the mail archive of the gcc@gcc.gnu.org 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]

Re: egcs-971114 fails on alpha-dec-osf4.0


On Fri, Nov 14, 1997 at 05:49:33PM -0700, Jeffrey A Law wrote:
>   > cccp.o: Error: symbol $220 has a GPREL32 relocation and is unresolved.
> Please work with rth to get these problems solved.

Sigh, another stupid mistake.  I must have bootstrapped from
the wrong tree after I made this change.

Sorry about that.


r~



Fri Nov 14 17:27:52 1997  Richard Henderson  <rth@cygnus.com>

	* alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
	to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

Index: alpha.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/alpha/alpha.h,v
retrieving revision 1.8.2.1
diff -u -p -d -r1.8.2.1 alpha.h
--- alpha.h	1997/11/14 14:42:26	1.8.2.1
+++ alpha.h	1997/11/15 01:25:43
@@ -1981,8 +1981,8 @@ literal_section ()						\
 /* This is how to output an element of a case-vector that is relative.  */
 
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
-  fprintf (FILE, "\t.%s $%d\n", TARGET_WINDOWS_NT ? "long" : "gprel32", \
-	   (VALUE) + 32)
+  fprintf (FILE, "\t.%s $L%d\n", TARGET_WINDOWS_NT ? "long" : "gprel32", \
+	   (VALUE))
 
 /* This is how to output an assembler line
    that says to advance the location counter


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