win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
authorRichard Henderson <rth@cygnus.com>
Mon, 17 Nov 1997 05:04:23 +0000 (21:04 -0800)
committerJeff Law <law@gcc.gnu.org>
Mon, 17 Nov 1997 05:04:23 +0000 (22:04 -0700)
        * 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

gcc/ChangeLog
gcc/config/alpha/alpha.h
gcc/config/alpha/win-nt.h

index 150e720fb5861375c20c674d9685c8e84e139842..79bbf905b467b76d4670c025b366b6c4d77fda21 100644 (file)
@@ -1,3 +1,10 @@
+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
index 34c96d8d352bd9012c65d01209acebac02d3e91e..e696a0e71d73e096f8abe0b3b22a16826c4f2445 100644 (file)
@@ -2002,8 +2002,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 768256e574ccc91456d5432292712558d22579b4..f6bb42029a82d4904f6005d4df7378936e63ef8f 100644 (file)
@@ -82,8 +82,8 @@ Boston, MA 02111-1307, USA.  */
 #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");                     \
 }