OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago* hashtab.c (higher_prime_number): Use a table, rather than a
DJ Delorie [Wed, 29 Nov 2000 19:19:10 +0000 (19:19 +0000)]
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.

23 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 19:17:37 +0000 (19:17 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 29 Nov 2000 04:56:32 +0000 (04:56 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* elf32-mips.c: Fix formatting.

23 years ago (parse_reg): Parse names case-insensitively.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:53:51 +0000 (23:53 +0000)]
(parse_reg): Parse names case-insensitively.

23 years ago (sh_elf_cons): Cast *input_line_pointer to unsigned char when
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:48:44 +0000 (23:48 +0000)]
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.

23 years ago * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:42:53 +0000 (23:42 +0000)]
* sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
Initialize variable dc to NULL.
(print_insn_shx): Remove unused label d_reg_n.

23 years ago * gas/sh/err.exp: New, framework for error-testing.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:39:19 +0000 (23:39 +0000)]
* gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.

23 years ago * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:33:45 +0000 (23:33 +0000)]
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad.  Tweak error message
accordingly.  Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.

23 years ago Change sourceware.cygnus.com to sources.redhat.com.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:10:05 +0000 (23:10 +0000)]
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".

23 years ago * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
Hans-Peter Nilsson [Tue, 28 Nov 2000 22:57:04 +0000 (22:57 +0000)]
* MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 21:42:16 +0000 (21:42 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* aoutx.h: Fix formatting.
* bfd-in.h: Likewise.
* bfd-in2.h: Likewise.
* cache.c: Likewise.
* cisco-core.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* corefile.c: Likewise.

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 21:29:02 +0000 (21:29 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.

23 years agoMove GNU Free Documentation License from the output into a comment
Nick Clifton [Tue, 28 Nov 2000 20:40:35 +0000 (20:40 +0000)]
Move GNU Free Documentation License from the output into a comment

23 years ago * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:13:07 +0000 (20:13 +0000)]
* Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
targets.  Remove i860 from valid a.out targets.
* Makefile.in: Regenerate.

23 years ago * binutils-all/readelf.s: Adjust to readelf.c formatting changes.
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:08:14 +0000 (20:08 +0000)]
* binutils-all/readelf.s: Adjust to readelf.c formatting changes.

23 years ago * config/tc-cris.c: Include dwarf2dbg.h.
Hans-Peter Nilsson [Tue, 28 Nov 2000 15:39:15 +0000 (15:39 +0000)]
* config/tc-cris.c: Include dwarf2dbg.h.
  (md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.

23 years agoCorrect {STANDARD,MRI}_MUL_PRECEDENCE value.
Alan Modra [Tue, 28 Nov 2000 13:33:22 +0000 (13:33 +0000)]
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.

23 years ago2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
David O'Brien [Tue, 28 Nov 2000 10:43:11 +0000 (10:43 +0000)]
2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
does not use them.

Approved by:  Richard Henderson <rth@twiddle.net>
              Message-ID: <20001127014059.A16638@twiddle.net>

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:33:15 +0000 (01:33 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* coff64-rs6000.c: Fix formatting.
* coffgen.c: Likewise.
* cofflink.c: Likewise.

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:27:10 +0000 (01:27 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.

23 years ago * common.h (e_machine numbers): Clarify comments to describe how
Hans-Peter Nilsson [Mon, 27 Nov 2000 21:52:56 +0000 (21:52 +0000)]
* common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned.  Move EM_PJ from official section to
ad-hoc section.
(EM_CRIS): Correct comment to match official description.
(EM_MMIX): Ditto.

23 years agooops, forgot a semicolon
DJ Delorie [Mon, 27 Nov 2000 21:10:31 +0000 (21:10 +0000)]
oops, forgot a semicolon

23 years ago* readelf.c (usage): Add -wf (--debug-dump=frames) option.
DJ Delorie [Mon, 27 Nov 2000 21:07:47 +0000 (21:07 +0000)]
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.

23 years ago2000-11-27 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 12:45:17 +0000 (12:45 +0000)]
2000-11-27  Philip Blundell  <pb@futuretv.com>

* libcoff-in.h (coff_tdata): Add `strings_written' flag.
(obj_coff_strings_written): New accessor macro for above.
* libcoff.h: Regenerate.
* cofflink.c (_bfd_coff_final_link): Say that we wrote the
strings.
* coffcode.h (coff_write_object_contents): No need to write out
the string table if it's already been done.

23 years ago2000-11-22 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 11:08:15 +0000 (11:08 +0000)]
2000-11-22  Philip Blundell  <pb@futuretv.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.

23 years agoFix movw/movb operands for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:18:15 +0000 (21:18 +0000)]
Fix movw/movb operands for 68HC12

23 years ago2000-11-25 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sat, 25 Nov 2000 10:58:09 +0000 (10:58 +0000)]
2000-11-25  David O'Brien  <obrien@FreeBSD.org>
* ld.1: Remove old date so it does not give the impression the
manpage is way out of date.

Approved by:  Nick Clifton <nickc@redhat.com>
              <200011250036.QAA09984@elmo.cygnus.com>

23 years agoAdd ARM v5t, v5te and XScale support
Nick Clifton [Sat, 25 Nov 2000 00:21:40 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support

23 years agoRemove redundant init of config.make_executable to true.
Nick Clifton [Fri, 24 Nov 2000 21:31:21 +0000 (21:31 +0000)]
Remove redundant init of config.make_executable to true.

23 years ago* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.

23 years ago2000-11-23 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 23 Nov 2000 07:33:24 +0000 (07:33 +0000)]
2000-11-23  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.

23 years agoChangeLog
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog

23 years ago * cplus-dem.c (main): Handle gnat_demangling.
Hans-Peter Nilsson [Thu, 23 Nov 2000 00:08:38 +0000 (00:08 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.

23 years agoAdd new machien types and section flags
Nick Clifton [Wed, 22 Nov 2000 23:49:39 +0000 (23:49 +0000)]
Add new machien types and section flags

23 years agoAdd new ELF ABI defines
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines

23 years agoEliminate compiler warnings from IA-64 port.
Jim Wilson [Wed, 22 Nov 2000 23:08:47 +0000 (23:08 +0000)]
Eliminate compiler warnings from IA-64 port.
* config/tc-ia64.c (pseudo_func): Add missing initializers.
(struct rsrc): Make line unsigned.
(gr_values): Add missing initializer.
(SLOT_NUM_NOT_SET): Add unsigned cast.
(ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
Add ATTRIBUTE_UNUSED to unused parameters.
(convert_expr_to_ab_reg): Add parens.
(convert_expr_to_xy_reg): Add parens.  Comment out >= REG_GR test.
(dot_prologue): Initialize grsave when declared.
(md_pseudo_table): Add missing initializers.
(operand_match): Add casts to bfd_vma.
(emit_one_bundle): Delete unused local prev.  Make required_template
unsigned.
(specify_resource): Cast i to unsigned.
(note_register_values): Use fprintf_vma.
(print_dependency): Likewise.

23 years agoEliminate compiler warnings from IA-64 port.
Jim Wilson [Wed, 22 Nov 2000 21:25:36 +0000 (21:25 +0000)]
Eliminate compiler warnings from IA-64 port.
* coff-ia64.c (howto_table): Use EMPTY_HOWTO.
(in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
* cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
(ins_imms_scaled): Initialize sign_bit at function entry.
(elf64_ia64_operands): Add missing initializers.
* elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
parameters.
(elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
and free_extsyms at function entry.
(elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
(elfNN_ia64_create_dynamic_sections): Delete unused local h.
(get_got): Delete unused local srel.
(elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
(elfNN_ia64_relocate_section): Delete unused local dynindx.

23 years ago * mips-opc.c: Fix file header comment.
Chris Demetriou [Wed, 22 Nov 2000 18:01:56 +0000 (18:01 +0000)]
    * mips-opc.c: Fix file header comment.

23 years agoFix linux kernel unwind section alignment failure.
Jim Wilson [Wed, 22 Nov 2000 02:10:34 +0000 (02:10 +0000)]
Fix linux kernel unwind section alignment failure.
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.

23 years agoFix assembler error on linux kernel mm/memory.c file.
Jim Wilson [Wed, 22 Nov 2000 01:12:05 +0000 (01:12 +0000)]
Fix assembler error on linux kernel mm/memory.c file.
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 01:08:53 +0000 (01:08 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 00:56:55 +0000 (00:56 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.

23 years ago * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
Jakub Jelinek [Tue, 21 Nov 2000 21:37:44 +0000 (21:37 +0000)]
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

23 years agoFix compile time warning, and remove possibility of infinite loop.
Nick Clifton [Tue, 21 Nov 2000 19:47:10 +0000 (19:47 +0000)]
Fix compile time warning, and remove possibility of infinite loop.

23 years ago * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
Jakub Jelinek [Tue, 21 Nov 2000 12:40:14 +0000 (12:40 +0000)]
* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
(output_insn): Call dwarf2_emit_insn.

23 years ago * cplus-dem.c (cplus_demangle): Fix formatting.
Hans-Peter Nilsson [Tue, 21 Nov 2000 10:54:08 +0000 (10:54 +0000)]
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.

* cplus-dem.c (main): Handle java_demangling.

* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 21 Nov 2000 02:24:32 +0000 (02:24 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:47:41 +0000 (23:47 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:45:42 +0000 (23:45 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_MONTEREY): Renamed to ...
(ELFOSABI_AIX): This.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 21:16:26 +0000 (21:16 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 20 Nov 2000 19:05:12 +0000 (19:05 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.

23 years ago * ltcf-cxx.sh: Added file, required by 2000-11-18 merge.
Ian Lance Taylor [Mon, 20 Nov 2000 17:27:59 +0000 (17:27 +0000)]
* ltcf-cxx.sh: Added file, required by 2000-11-18 merge.

23 years ago * readelf.c (display_debug_lines): Adjust last change to
Richard Henderson [Sun, 19 Nov 2000 20:57:42 +0000 (20:57 +0000)]
    * readelf.c (display_debug_lines): Adjust last change to
        use sizeof (external->li_length).

23 years ago* Makefile.in: Merge with GCC and libgcj.
Alexandre Oliva [Sat, 18 Nov 2000 22:01:34 +0000 (22:01 +0000)]
* Makefile.in: Merge with GCC and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros.  Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.

23 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
Alexandre Oliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

23 years agoFix DT_INIT ABI violation, it is an offset not a function pointer.
Jim Wilson [Sat, 18 Nov 2000 00:41:35 +0000 (00:41 +0000)]
Fix DT_INIT ABI violation, it is an offset not a function pointer.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.

23 years ago * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
Richard Henderson [Sat, 18 Nov 2000 00:13:28 +0000 (00:13 +0000)]
    * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
        callers.  Don't switch segments.  Expect CIE == -1 in .debug_frame.
        (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.

23 years agoAdd support for .line and .file pseudo ops.
Nick Clifton [Fri, 17 Nov 2000 18:46:43 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.

23 years ago * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
Richard Henderson [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
    * config/tc-i386.c (md_pseudo_table): Add .file and .loc.

23 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
Richard Henderson [Fri, 17 Nov 2000 18:07:33 +0000 (18:07 +0000)]
    * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
        tri-state definition of alpha_flag_mdebug.
        * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
        (s_alpha_file): Store first .file directive.
        (s_alpha_stab): New.
        (md_pseudo_table): Add stabs and stabn.

23 years ago * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
Richard Henderson [Fri, 17 Nov 2000 09:28:04 +0000 (09:28 +0000)]
    * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.

23 years ago* as.c (main): Call dwarf2_finish.
Richard Henderson [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.

23 years ago * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
Richard Henderson [Fri, 17 Nov 2000 08:47:52 +0000 (08:47 +0000)]
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it.  If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery.  Update
commentary wrt dwarf2.

* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.

* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.

* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.

* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.

23 years ago * readelf.c (display_debug_lines): Fix section length check
Richard Henderson [Fri, 17 Nov 2000 08:28:59 +0000 (08:28 +0000)]
    * readelf.c (display_debug_lines): Fix section length check
        and end_of_sequence computation.

23 years agoFix minor typos in recent errata workaround patch.
Jim Wilson [Thu, 16 Nov 2000 23:52:01 +0000 (23:52 +0000)]
Fix minor typos in recent errata workaround patch.
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128.  Abort if predicate regno is >= 64 instead of
> 16.

23 years ago Update relocations per August psABI docs.
Richard Henderson [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
    Update relocations per August psABI docs.
        * ia64.h (R_IA64_SEGBASE): Remove.
        (R_IA64_LTV*): Renumber to 0x74 to 0x77.
        (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
        (R_IA64_TPREL14, R_IA64_TPREL64I): New.
        (R_IA64_DTPMOD*): New.
        (R_IA64_DTPREL*): New.

23 years ago * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
Richard Henderson [Thu, 16 Nov 2000 22:44:07 +0000 (22:44 +0000)]
    * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
        (allocate_dynrel_entries): Likewise.
        (elfNN_ia64_relocate_section): Likewise.  Set REL addends correctly.
        (set_pltoff_entry): Likewise.
        (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
        (elfNN_ia64_reloc_type_lookup): Likewise.
        (elfNN_ia64_install_value): Likewise.
        (elfNN_ia64_relocate_section): Likewise.
        * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
        (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.

23 years agoUse "[ ]+" instead of "[ ]*".
H.J. Lu [Thu, 16 Nov 2000 22:27:45 +0000 (22:27 +0000)]
Use "[  ]+" instead of "[  ]*".

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 22:25:13 +0000 (22:25 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 20:48:09 +0000 (20:48 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 19:29:48 +0000 (19:29 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:29:12 +0000 (19:29 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:28:10 +0000 (19:28 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver.exp: Don't run symver4 nor symver5.

23 years ago* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
Hans-Peter Nilsson [Thu, 16 Nov 2000 09:07:59 +0000 (09:07 +0000)]
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.

23 years agoFix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
DJ Delorie [Thu, 16 Nov 2000 01:10:16 +0000 (01:10 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:59:49 +0000 (00:59 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:54:12 +0000 (00:54 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.

23 years ago * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
Richard Henderson [Wed, 15 Nov 2000 23:16:30 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 15 Nov 2000 20:20:52 +0000 (20:20 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.

23 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
Richard Henderson [Wed, 15 Nov 2000 19:22:28 +0000 (19:22 +0000)]
    * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
        section with the same ALLOC|LOAD flags as the source section.

23 years ago* config/tc-v850.c: Support dwarf2.
DJ Delorie [Wed, 15 Nov 2000 19:22:22 +0000 (19:22 +0000)]
* config/tc-v850.c: Support dwarf2.
* config/tc-v850.h: Ditto.

* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.

23 years ago[merge]
DJ Delorie [Wed, 15 Nov 2000 19:10:20 +0000 (19:10 +0000)]
[merge]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.

23 years agoops - omited from previous delta
Nick Clifton [Wed, 15 Nov 2000 18:24:49 +0000 (18:24 +0000)]
ops - omited from previous delta
Add GFPL to bfd.texinfo

23 years agoWorkaround for Itanium A/B step errata
Bernd Schmidt [Wed, 15 Nov 2000 17:34:00 +0000 (17:34 +0000)]
Workaround for Itanium A/B step errata

23 years agoCorrect date and style of last entry
Hans-Peter Nilsson [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry

23 years ago * cplus_dem.c: Add gnat demangler. Add java to demangle style
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:50:21 +0000 (11:50 +0000)]
* cplus_dem.c: Add gnat demangler.  Add java to demangle style
list.

23 years ago * demangle.h: Add gnat and java demangle styles.
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.

23 years agoExtend earlier ia64-hpux patches to work correctly for ia64-linux.
Jim Wilson [Tue, 14 Nov 2000 23:56:38 +0000 (23:56 +0000)]
Extend earlier ia64-hpux patches to work correctly for ia64-linux.
* config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
return little endian bfd formats.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 20:57:30 +0000 (20:57 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* config/aout_gnu.h: Fix formatting.
* config/atof-vax.c: Likewise.
* config/m68k-parse.h: Likewise.
* config/m88k-opcode.h: Likewise.
* config/obj-elf.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/te-386bsd.h: Likewise.
* config/te-hppa.h: Likewise.
* config/te-nbsd.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-sparcaout.h: Likewise.
* config/te-tmips.h: Likewise.
* config/vax-inst.h: Likewise.
* config/vms-conf.h: Likewise.

23 years ago * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
Jakub Jelinek [Tue, 14 Nov 2000 20:46:25 +0000 (20:46 +0000)]
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
by STO_ALPHA constants.

* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.

23 years ago * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
Hans-Peter Nilsson [Tue, 14 Nov 2000 20:08:55 +0000 (20:08 +0000)]
* cris-dis.c (cris_get_disassembler): If abfd is NULL, return
print_insn_cris_with_register_prefix.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 19:23:49 +0000 (19:23 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 19:17:53 +0000 (19:17 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.

23 years ago2000-11-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 22:49:54 +0000 (22:49 +0000)]
2000-11-08  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.

23 years ago * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
Denis Chertykov [Mon, 13 Nov 2000 22:26:38 +0000 (22:26 +0000)]
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.

23 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 21:36:14 +0000 (21:36 +0000)]
2000-11-13  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver.exp: New for symver test.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver0.s: Likewise.
* gas/symver/symver1.d: Likewise.
* gas/symver/symver1.s: Likewise.
* gas/symver/symver2.l: Likewise.
* gas/symver/symver2.s: Likewise.
* gas/symver/symver3.l: Likewise.
* gas/symver/symver3.s: Likewise.
* gas/symver/symver4.l: Likewise.
* gas/symver/symver4.s: Likewise.
* gas/symver/symver5.l: Likewise.
* gas/symver/symver5.s: Likewise.
* gas/symver/symver6.l: Likewise.
* gas/symver/symver6.s: Likewise.

23 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 21:23:34 +0000 (21:23 +0000)]
2000-11-13  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (elf_frob_symbol): Support
".symver name,name2@@@nodename".
(elf_frob_file_before_adjust): Likewise.

* doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
and ".symver name,name2@@@nodename".
Fix a typo.

23 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 13 Nov 2000 10:15:23 +0000 (10:15 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
around orphan sections whose names can be represented in C.

23 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 13 Nov 2000 10:01:13 +0000 (10:01 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* section.c (STD_SECTION): Set gc_mark flag.

23 years ago2000-11-12 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 13 Nov 2000 01:12:31 +0000 (01:12 +0000)]
2000-11-12  H.J. Lu  (hjl@gnu.org)

* config/obj-elf.c (obj_elf_symver): Check missing version
name.