defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a pointer...
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 18 Jan 2004 21:25:06 +0000 (21:25 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 18 Jan 2004 21:25:06 +0000 (21:25 +0000)
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
the size of a pointer in bytes.

From-SVN: r76112

gcc/ChangeLog
gcc/defaults.h

index 922bbb90668716ad90b099e698c539cf62b6dfcb..f12c7a32a422483ed7d1ba339a793c008d2db81c 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
+       the size of a pointer in bytes.
+
 2004-01-18  Roger Sayle  <roger@eyesopen.com>
 
        * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
index 23539485f51a354fef63530de727e8d98e2d66f1..2b6c2ef56ae427672429dce8373bc44303963ae3 100644 (file)
@@ -80,7 +80,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #ifndef ASM_OUTPUT_ADDR_VEC_ELT
 #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE)  \
-do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
+do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
      (*targetm.asm_out.internal_label) (FILE, "L", (VALUE));                   \
      fputc ('\n', FILE);                                               \
    } while (0)