Munge in vtable support for tc-hppa.c, inform elf back-end about
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 51202902d52ad10478a753e33c539b3550919b6b..bf73a1d27883b9a33216bbba14e4e6a8a16dac37 100644 (file)
@@ -1,3 +1,229 @@
+2000-09-05  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
+       (hppa_force_relocation): Handle vtable relocs.
+       (pa_vtable_entry): New.
+       (pa_vtable_inherit): New.
+       (md_pseudo_table): Add entries for vtable pseudos.
+       (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
+       and R_PARISC_GNU_VTENTRY relocs.  Reject reduction of relocs
+       against weak syms.
+       (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
+       (pa_type_args): Don't call symbol_get_bfdsym multiple times.
+       Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
+       millicode import.
+       * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
+       specify a symbol type.
+
+       * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
+       dependent things together.
+       (md_elf_symbol_type): Define.
+
+       * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
+       symbol.
+       * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
+
+       * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
+       (obj_elf_vtable_entry): Declare.
+
+       * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
+       and export function.
+       (obj_elf_vtable_entry): Similarly.
+       (elf_pseudo_table): Fix the damage with a cast.
+
+2000-09-03  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
+       for template selection when a label is needed.
+
+2000-09-02  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-ia64.c: Fix formatting.
+
+2000-09-02  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Increase version number to 2.10.91.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * po/gas.pot: Regenerate.
+       * Makefile.in: Regenerate.
+       
+2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
+       * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
+       become PC-relative to BFD_RELOC_32_PCREL.  Reject 16- or 8-bit
+       similar relocs.
+       (sh_obj_adjustable): Return 1 for PC-relative offsets used in
+       branches.
+
+2000-09-01  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
+       TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
+       * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
+       [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
+       (GOT_symbol): New variable.
+       (md_undefined_symbol): Set it.
+
+2000-09-01  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-ia64.c (match): Don't inline.
+       (extra_goodness): New.
+       (md_begin): Prefer nop.f and nop.b for best_template.
+
+2000-08-31  Kazu Hirata  <kazu@hxi.com>
+
+       * as.c: Fix formatting.
+       * cond.c: Likewise.
+       * frags.c: Likewise.
+       * macro.c: Likewise.
+
+2000-08-31  Eric Christopher  <echristo@cygnus.com>
+
+       * config/tc-mn10300.c:  Cleanup and fix warnings.
+       (md_pseudo_table): Add initializers.
+       (md_show_usage): Cleanup.
+       (md_parse_option): Fix warnings.
+       (md_undefined_symbol): Fix warnings.
+       (md_conver_frag): Fix warnings.
+       (tc_gen_reloc): Fix warnings.
+       (md_apply_fix3): Fix warnings.
+       (check_operand): Fix warnings.
+
+2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * acinclude.m4: Include libtool and gettext macros from the
+       top level.
+       * aclocal.m4, configure: Rebuilt.
+
+2000-08-30  Mark Hatle  <mhatle@mvista.com>
+
+       * config/tc-ppc.c (md_parse_option): Recognize -m405.
+
+2000-08-31  Kazu Hirata  <kazu@hxi.com>
+
+       * listing.c: Fix formatting.
+
+2000-08-29  Kazu Hirata  <kazu@hxi.com>
+
+       * app.c: Fix a comment typo.  Fix formatting.
+
+2000-08-25  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+        * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
+        offset of the target destination for jmp instructions.
+        (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
+
+2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * NEWS: Mention support for CRIS.
+
+Thu Aug 24 20:41:05 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
+       Sets `.lcomm' alignment to zero.
+
+2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
+       (TC_FIX_ADJUSTABLE): Define.
+
+2000-08-23  Jim Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (output_unw_records): Set U & E flags only if
+       unwind.personality_routine is set.
+
+2000-08-23  H.J. Lu  <hjl@gnu.org>
+
+       * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
+
+2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
+       environment is pe.
+
+2000-08-22  H.J. Lu  <hjl@gnu.org>
+
+       * config.in (STRICTCOFF): New for strict COFF.
+
+       * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
+       i386-*-go32* and i386-go32-rtems*.
+       * configure: Rebuilt.
+
+       * config/obj-coff.c (obj_coff_endef): Follow the historical
+       behavior if STRICTCOFF is not defined.
+
+       * doc/internals.texi: Document STRICTCOFF.
+
+2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
+       (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
+       * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
+       <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
+       * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
+       <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
+       * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
+       Likewise.
+
+2000-08-22  Eric Christopher  <echristo@cygnus.com>
+
+       * config/tc-mn10300.c: (md_apply_fix): New function.
+       (mn10300_force_relocation): New function.
+       (mn10300_fix_adjustable): New function.
+
+       * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
+       (TC_HANDLES_FX_DONE): Define.
+       (obj_fix_adjustable): Define.
+       (MD_APPLY_FIX3): Define.
+       (TC_LINKRELAX_FIXUP): Define.
+
+       * write.c: (TC_LINKRELAX_FIXUP):  Define if not
+       previously defined.
+       (fixup_segment): Use TC_LINKRELAX_FIXUP.
+
+       * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
+
+2000-08-21  Jason Eckhardt  <jle@cygnus.com>
+
+       * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
+       if the fixup resulted in a relocation.
+
+2000-08-18  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
+       Make reference to first element of shift_names explicit.
+
+2000-08-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
+       obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
+       add a symbol's address.  Removed all target-specific #ifdefs that
+       used to accomplished the same.
+       * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+       * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
+
+2000-08-17  Kazu Hirata  <kazu@hxi.com>
+
+       * dwarf2dbg.c: Fix formatting.
+
+2000-08-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
+       to be recoded as logical shift lefts by zero.
+
+2000-08-16  Jim Wilson  <wilson@cygnus.com>
+
+       * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
+       postincrement modified registers.  Handle IA64_OPND_R3_2 addl
+       source registers.
+       (note_register_values): Handle IA64_OPND_R3_2 operands.
+
 2000-08-16  Jason Eckhardt  <jle@cygnus.com>
 
         * config/tc-i860.c (md_operand): Silly typo fixed.
        * config/tc-arm.c (do_bx): Warn about "bx px" not being very
        useful.
 
-2000-08-14  Will Cohen  <wcohen@redhat.com>
+2000-08-15  Will Cohen  <wcohen@redhat.com>
 
        * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
 
@@ -110,6 +336,11 @@ Wed Aug  9 16:28:21 EDT 2000       Diego Novillo <dnovillo@cygnus.com>
        * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
        * configure: Regenerate.
 
+2000-08-09  Kazu Hirata  <kazu@hxi.com>
+
+       * hash.c: Fix formatting.
+       * gasp.c: Likewise.
+
 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
 
        * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
@@ -136,11 +367,6 @@ Wed Aug  9 16:28:21 EDT 2000       Diego Novillo <dnovillo@cygnus.com>
        (md_apply_fix3): New function.
        (tc_gen_reloc): New function.
 
-2000-08-09  Kazu Hirata  <kazu@hxi.com>
-
-       * hash.c: Fix formatting.
-       * gasp.c: Likewise.
-
 2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * config/tc-m68hc11.c (build_jump_insn): Make sure the
@@ -148,7 +374,7 @@ Wed Aug  9 16:28:21 EDT 2000        Diego Novillo <dnovillo@cygnus.com>
        (find): Accept 68hc12 register indirect modes.
 
        * NEWS: Mention 68HC11 & 68HC12 support.
-       
+
 2000-08-07  Richard Henderson  <rth@cygnus.com>
 
        * config/tc-ia64.c (unwind): Add prologue_mask member.
@@ -162,14 +388,7 @@ Wed Aug  9 16:28:21 EDT 2000       Diego Novillo <dnovillo@cygnus.com>
        * config/atof-ieee.c: Fix formatting.
        * config/atof-tahoe.c: Likewise.
 
-2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
-
-       * config/tc-avr.c: Use PARAMS macro in function declarations.
-       Don't declare md_pcrel_from_section (already in tc-avr.h).
-       (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
-       (avr_operand): Don't set (unsigned) op_mask to -1.
-
-2000-08-04  Nick Clifton  <nickc@cygnus.com>
+2000-08-06  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-sparc.c (md_begin): Fix typo in recent formatting
        work.
@@ -199,7 +418,7 @@ Wed Aug  9 16:28:21 EDT 2000        Diego Novillo <dnovillo@cygnus.com>
 
 2000-08-01  Nick Clifton  <nickc@cygnus.com>
 
-       * config/tc-arm.c (do_mrs): Fix skip fo 'cpsr_all' flag.
+       * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
        Undo some formatting fixes.
 
 2000-08-01  Kazu Hirata  <kazu@hxi.com>
@@ -213,7 +432,7 @@ Wed Aug  9 16:28:21 EDT 2000        Diego Novillo <dnovillo@cygnus.com>
 
        * doc/c-m68k.texi (section M680x0 Options): Turn into a table
        index by command line option.
-       
+
 2000-08-01  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
@@ -239,7 +458,14 @@ Wed Aug  9 16:28:21 EDT 2000       Diego Novillo <dnovillo@cygnus.com>
         emit absolute jumps for anything with --pcrel.
 
        * doc/c-m68k.texi: Document new command line option.
-       
+
+2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * config/tc-avr.c: Use PARAMS macro in function declarations.
+       Don't declare md_pcrel_from_section (already in tc-avr.h).
+       (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
+       (avr_operand): Don't set (unsigned) op_mask to -1.
+
 2000-07-28  Jason Eckhardt  <jle@cygnus.com>
 
         * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
@@ -324,7 +550,7 @@ Thu Jul 27 11:25:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        * po/POTFILES.in, po/gas.pot: Regenerate.
 
 2000-07-20  Kazu Hirata  <kazu@hxi.com>
-       
+
        * read.c: Fix formatting.
        * write.c: Fix formatting.
 
@@ -501,7 +727,7 @@ Thu Jul 27 11:25:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 2000-07-08  Ulf Carlsson  <ulfc@engr.sgi.com>
 
        * doc/internals.texi (Expressions): Fix typo.
-       
+
 2000-07-08  Kazu Hirata  <kazu@hxi.com>
 
        * config/tc-sh.c: Fix formatting.
@@ -590,7 +816,7 @@ Tue Jul  4 14:08:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>
         test for Link Once sections as in adjust_reloc_syms.
         * config/te-tmips.h: New file for traditional mips targets. Define
         TE_TMIPS.
-       
+
 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
 
        * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
@@ -613,13 +839,14 @@ Thu Jun 29 21:30:00 2000  Hans-Peter Nilsson  <hp@axis.com>
 2000-06-27  Aldy Hernandez  <aldyh@redhat.com>
 
        * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
-       expressions.  Ignore the problem when handling 16 bit immediates,
-       because the assembler will take care of the relocation later.
+       expressions.  Ignore the problem when handling 16 bit signed
+       immediates, because the assembler will take care of the relocation
+       later.
 
 2000-06-27  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-d30v.c (write_2_short): Do not allow opcodes with
-       the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 
+       the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
        sequential order, and emit warning messages if the input source
        code contains constructs like that, or parallel constructs
        containing such opcodes.
@@ -655,7 +882,7 @@ Thu Jun 29 21:30:00 2000  Hans-Peter Nilsson  <hp@axis.com>
        (md_apply_fix3): ditto
 
 2000-06-24  Frank Ch. Eigler  <fche@redhat.com>
+
        * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
        (gas_cgen_parse_operand): Set it around expression() call.
        (gas_cgen_md_operand): Test for it before longjmp().
@@ -677,7 +904,8 @@ Thu Jun 29 21:30:00 2000  Hans-Peter Nilsson  <hp@axis.com>
 2000-06-23  matthew green  <mrg@redhat.com>
 
        * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
-       defined.  Fix error message for `[' grouping.
+       defined.  Fix error message and double increment of
+       input_line_pointer for `[' grouping.
 
 2000-06-22  Kazu Hirata  <kazu@hxi.com>
 
@@ -1396,18 +1624,6 @@ Mon May  1 14:19:39 2000  Denis Chertykov  <denisc@overta.ru>
        (md_assemble): use skip_space () before parsing instruction
        operands.
 
-Sun Apr 23 16:45:45 2000  Denis Chertykov  <denisc@overta.ru>
-
-       * config/tc-avr.c: New AVR_ISA_ defined.
-       (md_assemble): Handle opcodes with optional operands (lpm,elpm).
-       (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
-       for `fmul', `movw' and `lpm R,Z' instructions.
-       (avr_operands): Warn if current opcode is a two-word instruction
-       and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
-       (avr_opcodes): New commands added.
-       (REGISTER_P): Check 'a' and 'v' constraint letters.
-       (mcu_types): New MCU added.
-
 2000-05-01  Alan Modra  <alan@linuxcare.com.au>
 
        * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
@@ -1419,25 +1635,6 @@ Sun Apr 23 16:45:45 2000  Denis Chertykov  <denisc@overta.ru>
 
        * as.h: Correctly check GCC version.
 
-Mon Apr 24 15:21:11 2000  Clinton Popetz  <cpopetz@cygnus.com>
-
-       * as.c (parse_args): Allow md_parse_option to override -a listing
-       option.
-       * config/obj-coff.c (add_lineno): Change type of offset parameter
-       from "int" to "bfd_vma."
-       * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
-       (ppc_mach, ppc_subseg_align, ppc_target_format): New.
-       (ppc_change_csect): Align correctly for XCOFF64.
-       (ppc_machine): New function, which discards "ppc_machine" line.
-       (ppc_tc): Cons for 8 when code is 64 bit.
-       (md_apply_fix3): Don't check operand->insert.  Handle 64 bit
-       relocations.
-       (md_parse_option): Handle -a64 and -a32.
-       (ppc_xcoff64): New.
-       * config/tc-ppc.h (TARGET_MACH): Define.
-       (TARGET_FORMAT): Move to function.
-       (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
-
 2000-04-26  David O'Brien  <obrien@FreeBSD.org>
 
        * doc/as.1: Fix unbalanced brackets.
@@ -1472,6 +1669,37 @@ Tue Apr 25 11:02:02 2000  Jeffrey A Law  (law@cygnus.com)
 
         * obj-som.c: Terminate obj_pseudo_table.
 
+Mon Apr 24 15:21:11 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * as.c (parse_args): Allow md_parse_option to override -a listing
+       option.
+       * config/obj-coff.c (add_lineno): Change type of offset parameter
+       from "int" to "bfd_vma."
+       * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
+       (ppc_mach, ppc_subseg_align, ppc_target_format): New.
+       (ppc_change_csect): Align correctly for XCOFF64.
+       (ppc_machine): New function, which discards "ppc_machine" line.
+       (ppc_tc): Cons for 8 when code is 64 bit.
+       (md_apply_fix3): Don't check operand->insert.  Handle 64 bit
+       relocations.
+       (md_parse_option): Handle -a64 and -a32.
+       (ppc_xcoff64): New.
+       * config/tc-ppc.h (TARGET_MACH): Define.
+       (TARGET_FORMAT): Move to function.
+       (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
+
+Sun Apr 23 16:45:45 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.c: New AVR_ISA_ defined.
+       (md_assemble): Handle opcodes with optional operands (lpm,elpm).
+       (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
+       for `fmul', `movw' and `lpm R,Z' instructions.
+       (avr_operands): Warn if current opcode is a two-word instruction
+       and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
+       (avr_opcodes): New commands added.
+       (REGISTER_P): Check 'a' and 'v' constraint letters.
+       (mcu_types): New MCU added.
+
 2000-04-22  Timothy Wall  <twall@cygnus.com>
 
        * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
@@ -1860,6 +2088,7 @@ Sat Mar 11 00:01:39 2000  Hans-Peter Nilsson  <hp@axis.se>
 
        * config/tc-m32r.c (m32r_fix_adjustable):  Look up the
        relocation type based on the entry in the fixup structure.
+       Put S_IS_EXTERN processing back in.
 
 2000-03-08  H.J. Lu  (hjl@gnu.org)
 
@@ -2085,6 +2314,9 @@ Sat Mar 11 00:01:39 2000  Hans-Peter Nilsson  <hp@axis.se>
        (md_longopts): Add "-mgp32" and "-mgp64".
        (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
 
+       (OPTION_M7900): Change offset
+       (OPTION_NO_M7900): Ditto.
+
 2000-02-22  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * config/obj-coff.c (add_lineno): Accept non-positive lineno with
This page took 0.044613 seconds and 4 git commands to generate.