* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
* alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
From-SVN: r16526
+Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
+
+ * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
+
+ * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
+ to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
+
Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
* dwarfout.c (byte_size_attribute): Add local var upper_bound
/* 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
#define TRAMPOLINE_TEMPLATE(FILE) \
{ \
fprintf (FILE, "\tbr $27,$LTRAMPP\n"); \
- fprintf (FILE, "$LTRAMPP:\n\tldl $1,12($27)\n"); \
- fprintf (FILE, "\tldl $27,16($27)\n"); \
+ fprintf (FILE, "$LTRAMPP:\n\tldl $1,16($27)\n"); \
+ fprintf (FILE, "\tldl $27,12($27)\n"); \
fprintf (FILE, "\tjmp $31,($27),0\n"); \
fprintf (FILE, "\t.long 0,0\n"); \
}