aboutsummaryrefslogtreecommitdiff
path: root/gcc/halfpic.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1993-01-06 03:12:17 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1993-01-06 03:12:17 +0000
commita89a7e4da9ab9426f0a89ae9ea909b46d21354eb (patch)
tree13c983cfe9a7fef11bbbb93c78393635dc37ad46 /gcc/halfpic.c
parent8739838dfbcbb0ffbc05cbe7839c0acea4238ca8 (diff)
downloadgcc-a89a7e4da9ab9426f0a89ae9ea909b46d21354eb.zip
gcc-a89a7e4da9ab9426f0a89ae9ea909b46d21354eb.tar.gz
gcc-a89a7e4da9ab9426f0a89ae9ea909b46d21354eb.tar.bz2
Fix unknown symbol error when linking gen* programs.
From-SVN: r3110
Diffstat (limited to 'gcc/halfpic.c')
-rw-r--r--gcc/halfpic.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/halfpic.c b/gcc/halfpic.c
index f691ce3..6447539 100644
--- a/gcc/halfpic.c
+++ b/gcc/halfpic.c
@@ -45,9 +45,10 @@ extern rtx eliminate_constant_term ();
extern void assemble_name ();
extern void output_addr_const ();
-int flag_half_pic; /* Global half-pic flag. */
-int half_pic_number_ptrs; /* # distinct pointers found */
-int half_pic_number_refs; /* # half-pic references */
+int flag_half_pic = 0; /* Global half-pic flag. */
+int half_pic_number_ptrs = 0; /* # distinct pointers found */
+int half_pic_number_refs = 0; /* # half-pic references */
+int (*ptr_half_pic_address_p)() = half_pic_address_p;
/* Obstack to hold generated pic names. */
static struct obstack half_pic_obstack;