external/binutils.git
24 years ago(readelf -S test, readelf -s test): Expect mips*-*-* to fail.
Nick Clifton [Thu, 19 Oct 2000 18:04:56 +0000 (18:04 +0000)]
(readelf -S test, readelf -s test): Expect mips*-*-* to fail.

24 years ago* cleanup
Frank Ch. Eigler [Thu, 19 Oct 2000 10:52:52 +0000 (10:52 +0000)]
* cleanup

2000-10-19  Frank Ch. Eigler  <fche@redhat.com>

On advice from Chris G. Demetriou <cgd@sibyte.com>:
* sim-main.h (GPR_CLEAR): Remove unused alternative macro.

24 years agoEnsure section sizes are multiples of 16, so that targets like MIPS
Alan Modra [Thu, 19 Oct 2000 03:19:51 +0000 (03:19 +0000)]
Ensure section sizes are multiples of 16, so that targets like MIPS
that pad out sections won't fail these tests.

24 years ago2000-10-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 18 Oct 2000 19:46:28 +0000 (19:46 +0000)]
2000-10-18  H.J. Lu <hjl@gnu.org>

* gas/i386/intel.d: Fix the support for 64bit BFD in the last
change.

24 years agoFix the previous misapplied patch.
Nick Clifton [Wed, 18 Oct 2000 19:26:57 +0000 (19:26 +0000)]
Fix the previous misapplied patch.

24 years agoRELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.
Nick Clifton [Wed, 18 Oct 2000 17:42:27 +0000 (17:42 +0000)]
RELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.

24 years ago * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
Hans-Peter Nilsson [Wed, 18 Oct 2000 13:10:12 +0000 (13:10 +0000)]
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.

24 years agoProtoization.
Kevin Buettner [Wed, 18 Oct 2000 03:29:25 +0000 (03:29 +0000)]
Protoization.

24 years ago2000-10-17 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 17 Oct 2000 20:21:45 +0000 (20:21 +0000)]
2000-10-17  Kazu Hirata  <kazu@hxi.com>

* debug.c: Fix formatting.
* depend.c: Likewise.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.
* ecoff.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-konst.c: Likewise.
* frags.h: Likewise.

24 years agoAdded new option --target-help.
Chandra Chavva [Tue, 17 Oct 2000 20:10:20 +0000 (20:10 +0000)]
Added new option --target-help.

24 years ago2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 17 Oct 2000 20:00:21 +0000 (20:00 +0000)]
2000-10-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
        no floating point support.
        (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
        * gdb.base/call-ar-st.exp: Use above procs to skip tests.
        * gdb.base/call-rt-st.exp: Ditto.
        * gdb.base/call-strs.exp: Ditto.
        * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
        * gdb.base/varargs.exp: Skip entire test if no printf support.
        * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
        * gdb.base/shlib-call.exp: Skip several tests if no printf support.

24 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
Geoffrey Keating [Mon, 16 Oct 2000 20:49:53 +0000 (20:49 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
of a GOT reloc.

24 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
Geoffrey Keating [Mon, 16 Oct 2000 19:52:26 +0000 (19:52 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
(SYMBOL_CALLS_LOCAL): New macro.
(ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_relocate_section): Use flag variable to determine
whether the relocation refers to a local symbol.
Test whether a PLTREL24 reloc will produce a reloc by looking
to see whether a PLT entry was made.

24 years ago * config/tc-sh.c (JREG): Remove.
Hans-Peter Nilsson [Mon, 16 Oct 2000 19:44:39 +0000 (19:44 +0000)]
* config/tc-sh.c (JREG): Remove.
(md_convert_frag): Remove #if 0:d code using JREG.

24 years agoAdd tests of return values from bfd function calls
Nick Clifton [Mon, 16 Oct 2000 19:08:45 +0000 (19:08 +0000)]
Add tests of return values from bfd function calls

24 years agoChange mask for OC to 0xFE00
Nick Clifton [Mon, 16 Oct 2000 18:18:47 +0000 (18:18 +0000)]
Change mask for OC to 0xFE00

24 years ago * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
Peter Schauer [Mon, 16 Oct 2000 17:19:47 +0000 (17:19 +0000)]
* sparc-tdep.c (sparc_fix_call_dummy):  Improve comments.
Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
in a call dummy works.
(sparc_gdbarch_init):  Fix setting of pc_in_call_dummy, it depends
on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.

24 years agoSpelling changes from Dmitry Sivachenko <dima@Chg.RU>.
Eli Zaretskii [Mon, 16 Oct 2000 07:34:02 +0000 (07:34 +0000)]
Spelling changes from Dmitry Sivachenko <dima@Chg.RU>.

24 years agoProtoization.
Kevin Buettner [Mon, 16 Oct 2000 06:42:28 +0000 (06:42 +0000)]
Protoization.

24 years agogas:
Diego Novillo [Sun, 15 Oct 2000 06:17:36 +0000 (06:17 +0000)]
gas:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* config/tc-i386.c (i386_operand_modifier): Only match
modifiers SHORT and FLAT if they are followed by a space.
(parse_register): When `allow_naked_reg' is set, do not confuse
identifiers that start with a register name with a register.

gas/testsuite:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* intel.s, intel.d: Add new tests for naked registers using intel
syntax.

24 years ago * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
Geoffrey Keating [Sat, 14 Oct 2000 23:30:12 +0000 (23:30 +0000)]
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.

24 years ago2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Sat, 14 Oct 2000 04:05:23 +0000 (04:05 +0000)]
2000-10-13  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p.  Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.

24 years ago2000-10-13 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 21:41:21 +0000 (21:41 +0000)]
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

* remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
(read_frame): Do not call error() on communication error when
reading checksum, but return failure instead and log message.

24 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 20:42:55 +0000 (20:42 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* varobj.c (type_changeable): Arrays are not changeable.
Trying to check for updates was causing an error if the array lived
in a register as gdb value_equal() cannot handle that case yet.

24 years agoOops - fix mistake in previous delta where unused variable 'nsyms' was
Nick Clifton [Fri, 13 Oct 2000 20:41:08 +0000 (20:41 +0000)]
Oops - fix mistake in previous delta where unused variable 'nsyms' was
deleted, but along with its (necessary) call to bfd_canonicalize_symtab.

24 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 20:31:38 +0000 (20:31 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* varobj.c (varobj_update): Prevent uninitialized error code to be
returned on type_changed.  Also, prevent value_equal() to be called
for the types we do not want to test for updates.

24 years agoAdd #ifdef DLL_SUPPORT around use of pe_dll_search_prefix.
Nick Clifton [Fri, 13 Oct 2000 20:16:03 +0000 (20:16 +0000)]
Add #ifdef DLL_SUPPORT around use of pe_dll_search_prefix.

24 years ago2000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 12 Oct 2000 22:56:31 +0000 (22:56 +0000)]
2000-10-11  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        From Grant Edwards <grante@visi.com>
        This keeps the GUI alive while running an RDI target and lets the
        STOP button be used to stop the target.
        * remote-rdi.c (arm_rdi_stop): New function.  Implements target_stop.
        (init_rdi_ops): Set to_stop target vector entry to the above.
        * rdi-share/ardi.c (stop_request): New variable.  Tells when a stop
        has been requested.
        (angel_RDI_stop_request): New function. Registers that a stop has
        been requested.
        (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
        waits while target is executing.  Initialize and reset stop_request.
        * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().

24 years agoProtoization.
Kevin Buettner [Thu, 12 Oct 2000 21:39:21 +0000 (21:39 +0000)]
Protoization.

24 years ago2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 12 Oct 2000 19:34:27 +0000 (19:34 +0000)]
2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Daniel Berlin <dberlin@redhat.com> :

* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
  language to auto instead of unknown, so it will try to demangle
  the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.

24 years ago* emultempl/pe.em (pe_dll_search_prefix): New variable,
DJ Delorie [Thu, 12 Oct 2000 19:18:20 +0000 (19:18 +0000)]
* emultempl/pe.em (pe_dll_search_prefix): New variable,
(longopts): New --dll-search-prefix option.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse_args): Handle.
(gld_${EMULATION_NAME}_open_dynamic_archive): When linking
dynamically, search for a dll named '<prefix><basename>.dll'
in preference to 'lib<basename>.dll' if --dll-search-prefix
is specified.

24 years ago* Make comma after string after icon/control optional.
DJ Delorie [Thu, 12 Oct 2000 17:47:35 +0000 (17:47 +0000)]
* Make comma after string after icon/control optional.

24 years ago2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 12 Oct 2000 16:53:06 +0000 (16:53 +0000)]
2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Daniel Berlin <dberlin@redhat.com> :

* symtab.c (lookup_symbol_aux): New function. Renamed from
  lookup_symbol. Move code to do demangling/case sensitivity to
  lookup_symbol().
   (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
  perform case sensitivity/demangling without leaking memory.  Move
  code to do demangling/case sensitivity from old_lookup_symbol to
  here.
(lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
(lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME. Don't do linear search in case of C++.

   * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
   (compare_psymbols): Same here.

24 years agoAnother try at correcting relocations against discarded
Alan Modra [Thu, 12 Oct 2000 03:44:51 +0000 (03:44 +0000)]
Another try at correcting relocations against discarded
link-once section symbols.

24 years agomerge from gcc repository
DJ Delorie [Thu, 12 Oct 2000 02:16:48 +0000 (02:16 +0000)]
merge from gcc repository

24 years agoInclude alloca-conf.h
Alan Modra [Thu, 12 Oct 2000 01:28:06 +0000 (01:28 +0000)]
Include alloca-conf.h

24 years ago2000-10-12 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 11 Oct 2000 20:24:32 +0000 (20:24 +0000)]
2000-10-12  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix formatting.
* as.c: Likewise.
* as.h: Likewise.
* bit_fix.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.

24 years agoRevert 2000-10-07 link-once section symbol changes.
Alan Modra [Wed, 11 Oct 2000 07:05:02 +0000 (07:05 +0000)]
Revert 2000-10-07 link-once section symbol changes.

24 years ago2000-10-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 11 Oct 2000 00:16:07 +0000 (00:16 +0000)]
2000-10-10  Kazu Hirata  <kazu@hxi.com>

* deffile.h: Fix formatting.
* lexsup.c: Likewise.
* mri.c: Likewise.

24 years agoFix my last change to actually compile.
Alan Modra [Tue, 10 Oct 2000 23:38:27 +0000 (23:38 +0000)]
Fix my last change to actually compile.

24 years ago(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
Alan Modra [Tue, 10 Oct 2000 15:50:35 +0000 (15:50 +0000)]
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.

24 years ago* section.c (bfd_make_section_anyway): Release newsect ptr when
Alan Modra [Tue, 10 Oct 2000 15:23:38 +0000 (15:23 +0000)]
* section.c (bfd_make_section_anyway): Release newsect ptr when
newsect->symbol fails to alloc.  Use bfd_release instead of free.

24 years agoProtoization.
Kevin Buettner [Tue, 10 Oct 2000 05:17:25 +0000 (05:17 +0000)]
Protoization.

24 years ago* pe-dll.c (make_one): Do not generate code thunk for DATA
DJ Delorie [Tue, 10 Oct 2000 03:28:01 +0000 (03:28 +0000)]
* pe-dll.c (make_one): Do not generate code thunk for DATA
exports.
(process_def_file): deduce DATA flag for auto-export sumbols.

24 years ago * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
Richard Henderson [Mon, 9 Oct 2000 23:16:30 +0000 (23:16 +0000)]
    * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
        (elf64_ia64_unwind_entry_compare): New.
        (elf64_ia64_final_link): Sort the .IA_64.unwind section.

24 years ago * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
Peter Schauer [Mon, 9 Oct 2000 19:40:37 +0000 (19:40 +0000)]
* config/i386/i386sol2.mh:  Add XM_CLIBS definition to resolve
reference to gethostbyname.

24 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 15:46:45 +0000 (15:46 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Revert some formatting fixes.

24 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 15:09:17 +0000 (15:09 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* ldcref.c: Fix formatting.
* ldctor.h: Likewise.
* ldemul.c: Likewise.
* ldemul.h: Likewise.
* ldexp.c: Likewise.
* ldexp.h: Likewise.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ld.h: Likewise.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldmain.c: Likewise.

24 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 07:01:29 +0000 (07:01 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Fix formatting.

24 years ago2000-10-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 01:37:11 +0000 (01:37 +0000)]
2000-10-08  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Fix formatting.

24 years ago * ld-selective/selective.exp: Rearrange to be table-driven.
Hans-Peter Nilsson [Mon, 9 Oct 2000 01:35:13 +0000 (01:35 +0000)]
* ld-selective/selective.exp: Rearrange to be table-driven.

24 years ago* usability improvements
Ben Elliston [Sun, 8 Oct 2000 22:37:14 +0000 (22:37 +0000)]
* usability improvements

2000-10-08  Ben Elliston  <bje@redhat.com>

* cgen-utils.c (cgen_rtx_error): New function.

2000-10-07  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
conditions for sim_core_read_buffer().

24 years agoWhitespace tweak: replace leading spaces with a hard tab.
Ben Elliston [Sun, 8 Oct 2000 22:31:22 +0000 (22:31 +0000)]
Whitespace tweak: replace leading spaces with a hard tab.

24 years ago(md_apply_fix): Remove bad assert added 2000-09-26.
Alan Modra [Sat, 7 Oct 2000 14:38:32 +0000 (14:38 +0000)]
(md_apply_fix): Remove bad assert added 2000-09-26.

24 years ago* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too
Alan Modra [Sat, 7 Oct 2000 13:57:29 +0000 (13:57 +0000)]
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too

24 years agoCure a number of segfaults caused by /DISCARD/ of dynamic sections.
Alan Modra [Sat, 7 Oct 2000 13:40:33 +0000 (13:40 +0000)]
Cure a number of segfaults caused by /DISCARD/ of dynamic sections.

24 years agoMake elf section symbols global for link-once sections.
Alan Modra [Sat, 7 Oct 2000 12:52:15 +0000 (12:52 +0000)]
Make elf section symbols global for link-once sections.

24 years agoProtoization.
Kevin Buettner [Fri, 6 Oct 2000 21:50:56 +0000 (21:50 +0000)]
Protoization.

24 years ago* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
DJ Delorie [Fri, 6 Oct 2000 19:47:51 +0000 (19:47 +0000)]
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs

24 years ago2000-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 6 Oct 2000 16:59:56 +0000 (16:59 +0000)]
2000-10-06  Dave Brolley  <brolley@redhat.com>

* sem.c: Regenerated.
* sem-switch.c: Regenerated.
* semx-switch.c: Regenerated.

24 years ago2000-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 6 Oct 2000 16:58:40 +0000 (16:58 +0000)]
2000-10-06  Dave Brolley  <brolley@redhat.com>

* sem.c: Regenerated.
* sem-switch.c: Regenerated.

24 years ago2000-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 6 Oct 2000 16:57:26 +0000 (16:57 +0000)]
2000-10-06  Dave Brolley  <brolley@redhat.com>

* fr30-desc.h: Regenerate.
* m32r-desc.h: Regenerate.
* m32r-ibld.c: Regenerate.

24 years agoPreserve machine dependent section header flags when reading ELF object file.
Jim Wilson [Thu, 5 Oct 2000 22:22:27 +0000 (22:22 +0000)]
Preserve machine dependent section header flags when reading ELF object file.
* elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
field.
* elf.c (_bfd_elf_make_section_from_shdr): Call the
elf_backend_section_flags function.
* elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
code.
(elf64_ia64_section_flags): New function containing flag conversion
code.
(elf_backend_section_flags): Define to elf64_ia64_section_flags.
* elfxx-target.h (elf_backend_section_flags): Define.
(elfNN_bed): Initialize elf_backend_section_flags field.

24 years agoMinor DV table update, minor DV checking bug fix.
Jim Wilson [Thu, 5 Oct 2000 21:55:25 +0000 (21:55 +0000)]
Minor DV table update, minor DV checking bug fix.
* config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
* ia64-ic.tbl: Update from Intel.
* ia64-asmtab.c: Regenerate.

24 years ago2000-10-05 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 5 Oct 2000 13:03:30 +0000 (13:03 +0000)]
2000-10-05  Kazu Hirata  <kazu@hxi.com>

* ldlang.c: Fix formatting.

24 years agoCorrect handling of non-global syms in linkonce sections.
Alan Modra [Thu, 5 Oct 2000 01:49:36 +0000 (01:49 +0000)]
Correct handling of non-global syms in linkonce sections.
Tidy a few comments.

24 years agoAdd a limit parameter for scanning the prologue.
Kevin Buettner [Thu, 5 Oct 2000 01:13:53 +0000 (01:13 +0000)]
Add a limit parameter for scanning the prologue.

24 years ago2000-10-04 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 4 Oct 2000 06:38:01 +0000 (06:38 +0000)]
2000-10-04  Kazu Hirata  <kazu@hxi.com>

* ia64-gen.c: Convert C++-style comments to C-style comments.
* tic54x-dis.c: Likewise.

24 years agoExcise C++ style comments.
Alan Modra [Wed, 4 Oct 2000 00:28:45 +0000 (00:28 +0000)]
Excise C++ style comments.

24 years agoProtoization.
Kevin Buettner [Tue, 3 Oct 2000 22:42:32 +0000 (22:42 +0000)]
Protoization.

24 years ago* pe-dll.c (fill_edata): initialize entire block
DJ Delorie [Tue, 3 Oct 2000 22:07:17 +0000 (22:07 +0000)]
* pe-dll.c (fill_edata): initialize entire block
(make_one): fill in correct section.

24 years ago2000-10-03 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 3 Oct 2000 07:31:55 +0000 (07:31 +0000)]
2000-10-03  Kazu Hirata  <kazu@hxi.com>

* ldexp.c: Fix formatting.

24 years ago* emultempl/pe.em (gld_*_after_open): detect case where there two
DJ Delorie [Mon, 2 Oct 2000 14:39:46 +0000 (14:39 +0000)]
* emultempl/pe.em (gld_*_after_open): detect case where there two
import libraries for same dll; rename one to ensure proper link
order.

* pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
typo
(generate_edata): fix typo

24 years agoRemove some hppa-elf fudges.
Alan Modra [Mon, 2 Oct 2000 10:18:14 +0000 (10:18 +0000)]
Remove some hppa-elf fudges.

24 years agoCorrect call to _bfd_elf32_gc_record_vtable.
Alan Modra [Mon, 2 Oct 2000 09:09:27 +0000 (09:09 +0000)]
Correct call to _bfd_elf32_gc_record_vtable.

24 years ago2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Mon, 2 Oct 2000 06:04:16 +0000 (06:04 +0000)]
2000-10-01  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
produces binaries with got[1] = 0x80000001 to differenciate them
for the dynamic linker from the broken binaries produced by old
versions.

24 years agoProtoization.
Kevin Buettner [Mon, 2 Oct 2000 00:49:55 +0000 (00:49 +0000)]
Protoization.

24 years ago* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
Alexandre Oliva [Sat, 30 Sep 2000 06:07:00 +0000 (06:07 +0000)]
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.

24 years agoMake definitions of supply_gregset, fill_gregset, supply_fpregset,
Kevin Buettner [Sat, 30 Sep 2000 05:41:39 +0000 (05:41 +0000)]
Make definitions of supply_gregset, fill_gregset, supply_fpregset,
and fill_fpregset match declarations in gregset.h.

24 years agoProtoization.
Kevin Buettner [Sat, 30 Sep 2000 02:39:10 +0000 (02:39 +0000)]
Protoization.

24 years agoSupport for Unixware 7.1.x pxstatus_t and lwpxstatus_t.
Alan Modra [Sat, 30 Sep 2000 00:44:49 +0000 (00:44 +0000)]
Support for Unixware 7.1.x pxstatus_t and lwpxstatus_t.

24 years ago * scripttempl/crisaout.sc (ENTRY): Now __start.
Hans-Peter Nilsson [Fri, 29 Sep 2000 19:03:57 +0000 (19:03 +0000)]
* scripttempl/crisaout.sc (ENTRY): Now __start.
(.text): Add default setting for __start.
Remove CONSTRUCTORS handling.
(/DISCARD/): Add .gnu.warning.*.
* emulparams/crislinux.sh (ENTRY): Now __start.
(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
(ENTRY): Now __start.
(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
(EXECUTABLE_SYMBOLS): Add default setting for __start.

24 years agoOops. Forgot to commit ChangeLog
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:40:19 +0000 (18:40 +0000)]
Oops.  Forgot to commit ChangeLog

24 years ago * gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:39:31 +0000 (18:39 +0000)]
* gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New.
* gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d.

24 years agoCorrect date of checkin
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:23:26 +0000 (18:23 +0000)]
Correct date of checkin

24 years ago Changes to add dollar prefix to registers for files where user symbols
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:17:25 +0000 (18:17 +0000)]
Changes to add dollar prefix to registers for files where user symbols
don't have a leading underscore.  Fix formatting.
* cris-dis.c (REGISTER_PREFIX_CHAR): New.
(format_reg): Add parameter with_reg_prefix.  All callers changed.
(print_with_operands): Ditto.
(print_insn_cris_generic): Renamed from print_insn_cris, add
parameter with_reg_prefix.
(print_insn_cris_with_register_prefix,
print_insn_cris_without_register_prefix, cris_get_disassembler):
New.
* disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.

24 years ago * dis-asm.h: Declare cris_get_disassembler, not print_insn_cris.
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:07:47 +0000 (18:07 +0000)]
* dis-asm.h: Declare cris_get_disassembler, not print_insn_cris.
Fix typo in comment.

24 years ago Changes to handle varying register prefix and user symbol prefix.
Hans-Peter Nilsson [Fri, 29 Sep 2000 18:01:23 +0000 (18:01 +0000)]
Changes to handle varying register prefix and user symbol prefix.
* config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
(s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
(demand_register_prefix): New variable.
(md_pseudo_table): New pseudo ".syntax".
(md_longopts): New options --no-underscore and --underscore.
(cris_target_format): Return elf32-us-cris or elf32-cris depending
on symbols_have_leading_underscore.
(get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
(get_spec_reg): Ditto.
(cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
Fix formatting.
(md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
--help.
<case OPTION_NO_US, case OPTION_US>: New.
(md_show_usage): Be brief and reformat to match continuation of
--help.
* po/gas.pot: Regenerate.

24 years ago Define two bfd_targets for absence and presence of leading
Hans-Peter Nilsson [Fri, 29 Sep 2000 17:05:22 +0000 (17:05 +0000)]
Define two bfd_targets for absence and presence of leading
underscore on symbols.  Make sure to only link same kind.
* elf32-cris.c (cris_elf_object_p,
cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
cris_elf_merge_private_bfd_data): New.
(elf_backend_object_p, elf_backend_final_write_processing,
bfd_elf32_bfd_print_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data): Define.
<Target vector definition>: Include elf32-target.h twice with
different macro settings:
(TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
bfd_elf32_us_cris_vec.
(TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
(elf_symbol_leading_char): First as 0, then '_'.
(INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
* config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
* configure: Regenerate.
* targets.c: Declare bfd_elf32_us_cris_vec.
* po/bfd.pot: Regenerate.

24 years ago * cris.h (EF_CRIS_UNDERSCORE): New.
Hans-Peter Nilsson [Fri, 29 Sep 2000 16:52:42 +0000 (16:52 +0000)]
* cris.h (EF_CRIS_UNDERSCORE): New.

24 years ago(arm_add_to_rel): Fix R_ARM_THM_PC22 relocations.
Alan Modra [Fri, 29 Sep 2000 13:51:49 +0000 (13:51 +0000)]
(arm_add_to_rel): Fix R_ARM_THM_PC22 relocations.

24 years ago2000-09-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 29 Sep 2000 13:21:41 +0000 (13:21 +0000)]
2000-09-29  Kazu Hirata  <kazu@hxi.com>

* deffile.h: Fix formatting.
* ld.h: Likewise.
* ldctor.h: Likewise.
* ldemul.h: Likewise.
* ldexp.h: Likewise.
* ldfile.h: Likewise.
* ldlang.h: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.

24 years ago* elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
Alan Modra [Fri, 29 Sep 2000 13:15:03 +0000 (13:15 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.

24 years ago2000-09-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 29 Sep 2000 11:18:18 +0000 (11:18 +0000)]
2000-09-29  Kazu Hirata  <kazu@hxi.com>

* ldcref.c: Fix formatting.
* ldctor.c: Likewise.
* ldemul.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.

24 years agoThat'll teach me not to type little patches in by hand. Get
Alan Modra [Fri, 29 Sep 2000 07:14:05 +0000 (07:14 +0000)]
That'll teach me not to type little patches in by hand.  Get
the parentheses right.

24 years ago(elf_fake_sections): Do not mark the section SHT_NOBITS if
Alan Modra [Fri, 29 Sep 2000 07:01:18 +0000 (07:01 +0000)]
(elf_fake_sections): Do not mark the section SHT_NOBITS if
is has the SEC_HAS_CONTENTS flag set.

24 years ago * ld-selective/5.cc: New test.
Hans-Peter Nilsson [Thu, 28 Sep 2000 22:57:26 +0000 (22:57 +0000)]
* ld-selective/5.cc: New test.
* ld-selective/selective.exp: Run it as xfailed.

* ld-selective/4.cc: Correct spelling of "lose".

24 years ago * aout-cris.c (N_TXTADDR): Define.
Hans-Peter Nilsson [Thu, 28 Sep 2000 21:58:16 +0000 (21:58 +0000)]
* aout-cris.c (N_TXTADDR): Define.

24 years agooops, didn't mean to check in that change yet
DJ Delorie [Thu, 28 Sep 2000 20:58:57 +0000 (20:58 +0000)]
oops, didn't mean to check in that change yet

24 years ago* pe-dll.c (process_def_file): Uninitialized data wasn't
DJ Delorie [Thu, 28 Sep 2000 20:53:40 +0000 (20:53 +0000)]
* pe-dll.c (process_def_file): Uninitialized data wasn't
exported with --export-all-symbols switch.

* pe-dll.c (fill_edata): rearrange the data so that ordinals and
noname work properly.