summaryrefslogtreecommitdiff
path: root/gcc/halfpic.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-06 03:12:17 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-06 03:12:17 +0000
commit4a58501e9703167ef4bc484c1538d391ab58666a (patch)
tree13c983cfe9a7fef11bbbb93c78393635dc37ad46 /gcc/halfpic.c
parenta09e6ceabeca05bc4e5a6b7b1a960a92fa396ace (diff)
downloadgcc-4a58501e9703167ef4bc484c1538d391ab58666a.tar.gz
Fix unknown symbol error when linking gen* programs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3110 138bc75d-0d04-0410-961f-82ee72b054a4
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 f691ce33c89..64475397a14 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;