unwinds unless the function is in the text space.
        (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
+Fri Sep 17 11:57:34 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
+       unwinds unless the function is in the text space.
+       (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
+
 Wed Sep 15 05:14:32 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
 
   int i, reloc;
   char c, *p;
 
+  if (seg != text_section)
+    return;
+
   if (bfd_get_arch_info (stdoutput)->bits_per_address == 32)
     reloc = R_PARISC_DIR32;
   else
     {
       input_line_pointer += 4;
       symbol_get_bfdsym (symbolP)->flags &= ~BSF_FUNCTION;
+      symbol_get_bfdsym (symbolP)->flags |= BSF_OBJECT;
       type = SYMBOL_TYPE_DATA;
     }
   else if ((strncasecmp (input_line_pointer, "entry", 5) == 0))