2003-04-24 Eric Christopher <echristo@redhat.com>

* config/tc-mips.c (nopic_need_relax): Revert previous
        change.
This commit is contained in:
Eric Christopher 2003-04-25 04:40:09 +00:00
parent 4e45ca2e2a
commit 684022eae4
2 changed files with 15 additions and 11 deletions

View File

@ -1,13 +1,18 @@
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.
@ -145,9 +150,9 @@
* 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.

View File

@ -3942,7 +3942,7 @@ load_address (counter, reg, ep, used_at)
if (HAVE_NEWABI)
{
frag_grow (12);
if (ep->X_add_number)
{
frag_now->tc_frag_data.tc_fr_offset =
@ -4018,7 +4018,7 @@ load_address (counter, reg, ep, used_at)
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)
@ -5598,7 +5598,7 @@ macro (ip)
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)
{
@ -5838,7 +5838,7 @@ macro (ip)
"t,r,j", tempreg, tempreg,
(int) BFD_RELOC_MIPS_GOT_OFST);
}
macro_build_jalr (icnt, &offset_expr);
}
else
@ -6524,7 +6524,7 @@ macro (ip)
"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,
@ -12253,7 +12253,7 @@ s_change_section (ignore)
#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;
@ -13246,7 +13246,6 @@ nopic_need_relax (sym, before_relaxing)
|| 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