2003-04-24 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@gmail.com>
Fri, 25 Apr 2003 04:40:09 +0000 (04:40 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 25 Apr 2003 04:40:09 +0000 (04:40 +0000)
        * config/tc-mips.c (nopic_need_relax): Revert previous
        change.

gas/ChangeLog
gas/config/tc-mips.c

index c5ba178389d47c26a334d479ccc1daf579b14a08..8f90de28afc6e18a5b33b68a9235266627383823 100644 (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.
 
        * 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.
index e8b1588a184a4cce8fcc76082903bcd7a29d81b7..26c54cf969d4bbc584ad72dda94497ae17ece2e3 100644 (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
This page took 0.043744 seconds and 4 git commands to generate.