+2003-04-24 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c (nopic_need_relax): Revert previous
+ change.
+
2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
- * config/tc-h8300.c (dwarf2dbg.h): Include
+ * config/tc-h8300.c (dwarf2dbg.h): Include
(md_pseudo_table): Handle .loc and .file
(md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
* Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
* Makefile.in: Regenerate.
-2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
(md_pseudo_table): Add h8300hn, h8300sn.
* config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
(M6811_OP_PAGE_ADDR): New internal define.
- (get_operand): New modifier %page and %addr to obtain page and
+ (get_operand): New modifier %page and %addr to obtain page and
address part of a far-function.
- (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
+ (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
relocs.
(fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
if (HAVE_NEWABI)
{
frag_grow (12);
-
+
if (ep->X_add_number)
{
frag_now->tc_frag_data.tc_fr_offset =
lw $reg,<sym>($gp) (BFD_RELOC_MIPS_GOT16)
nop
addiu $reg,$reg,<sym> (BFD_RELOC_LO16)
- If there is a constant, it must be added in after.
+ If there is a constant, it must be added in after.
In the NewABI, for local symbols, with or without offsets, we want:
lw $reg,<sym>($gp) (BFD_RELOC_MIPS_GOT_PAGE)
RELAX_ENCODE (12, 8, 0, 4, 0,
mips_opts.warn_about_macros),
offset_expr.X_add_symbol, 0, NULL);
- }
+ }
else if (expr1.X_add_number >= -0x8000
&& expr1.X_add_number < 0x8000)
{
"t,r,j", tempreg, tempreg,
(int) BFD_RELOC_MIPS_GOT_OFST);
}
-
+
macro_build_jalr (icnt, &offset_expr);
}
else
"d,v,t", tempreg, tempreg, breg);
macro_build ((char *) NULL, &icnt, &expr1, s, fmt, treg,
(int) BFD_RELOC_LO16, tempreg);
-
+
offset_expr.X_add_number = expr1.X_add_number;
p = frag_var (rs_machine_dependent, 12 + bregsz, 0,
RELAX_ENCODE (16 + bregsz, 8 + bregsz,
#ifdef OBJ_ELF
char *section_name;
char c;
- char next_c;
+ char next_c = 0;
int section_type;
int section_flag;
int section_entry_size;
|| strcmp (symname, "_gp_disp") == 0))
change = 1;
else if ((! S_IS_DEFINED (sym) || S_IS_COMMON (sym))
- && !S_IS_EXTERN (sym)
&& (0
#ifndef NO_ECOFF_DEBUGGING
|| (symbol_get_obj (sym)->ecoff_extern_size != 0