+Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
+ (ppc_stabx): Don't increment ppc_debug_name_section_size.
+ (ppc_bc): Likewise.
+ (ppc_frob_file): Remove.
+ * config/tc-ppc.h (tc_frob_file): Don't define.
+ (ppc_frob_file): Don't declare.
+
Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
* Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
cause BFD to set the section number of a symbol to N_DEBUG. */
static asection *ppc_coff_debug_section;
-/* The size of the .debug section. */
-static bfd_size_type ppc_debug_name_section_size;
-
#endif /* OBJ_XCOFF */
#ifdef TE_PE
ppc_current_csect->sy_tc.within = sym;
}
- if (strlen (name) > SYMNMLEN)
- {
- /* For some reason, each name is preceded by a two byte length
- and followed by a null byte. */
- ppc_debug_name_section_size += strlen (name) + 3;
- }
-
demand_empty_rest_of_line ();
}
ppc_frob_label (sym);
- if (strlen (name) > SYMNMLEN)
- ppc_debug_name_section_size += strlen (name) + 3;
-
demand_empty_rest_of_line ();
}
vma += bfd_section_size (stdoutput, sec);
}
-/* Adjust the file by adding a .debug section if needed. */
-
-void
-ppc_frob_file ()
-{
- if (ppc_debug_name_section_size > 0)
- {
- asection *sec;
-
- sec = bfd_make_section (stdoutput, ".debug");
- if (sec == (asection *) NULL
- || ! bfd_set_section_size (stdoutput, sec,
- ppc_debug_name_section_size)
- || ! bfd_set_section_flags (stdoutput, sec,
- SEC_HAS_CONTENTS | SEC_LOAD))
- as_fatal ("can't make .debug section");
- }
-}
-
#endif /* OBJ_XCOFF */
\f
/* Turn a string in input_line_pointer into a floating point constant
value += fixp->fx_frag->fr_address + fixp->fx_where;
} /* fall through */
+ case BFD_RELOC_RVA:
case BFD_RELOC_32_PCREL:
md_number_to_chars (fixp->fx_frag->fr_literal + fixp->fx_where,
value, 4);
break;
default:
+ fprintf(stderr,
+ "Gas failure, reloc value %d\n", fixp->fx_r_type);
+ fflush(stderr);
abort ();
}
}