Munge in vtable support for tc-hppa.c, inform elf back-end about
[deliverable/binutils-gdb.git] / gas / ChangeLog
index d6117d66b83487513e4c7c055ebed4bd724653ca..bf73a1d27883b9a33216bbba14e4e6a8a16dac37 100644 (file)
@@ -1,3 +1,173 @@
+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.
        * 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.
 
@@ -166,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.
@@ -192,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
@@ -218,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.
@@ -255,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>
@@ -296,6 +459,13 @@ Wed Aug  9 16:28:21 EDT 2000       Diego Novillo <dnovillo@cygnus.com>
 
        * 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}*.
@@ -669,8 +839,9 @@ 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>
 
@@ -733,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>
 
@@ -1452,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
@@ -1475,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.
@@ -1528,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
@@ -1916,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)
 
@@ -2141,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.033539 seconds and 4 git commands to generate.