platform/upstream/binutils.git
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.

24 years agoUpdate for hppa*w -> hppa*64* configure name change.
Alan Modra [Thu, 28 Sep 2000 10:16:34 +0000 (10:16 +0000)]
Update for hppa*w -> hppa*64* configure name change.

24 years agoModify .PARAM so we need an arg reloc.
Alan Modra [Thu, 28 Sep 2000 08:43:21 +0000 (08:43 +0000)]
Modify .PARAM so we need an arg reloc.

24 years ago* som.c: Include alloca-conf.h
Alan Modra [Thu, 28 Sep 2000 08:08:16 +0000 (08:08 +0000)]
* som.c: Include alloca-conf.h

24 years agoAdd alloca-conf.h from libiberty.
Alan Modra [Thu, 28 Sep 2000 08:00:54 +0000 (08:00 +0000)]
Add alloca-conf.h from libiberty.

24 years ago * sol-thread.c (ps_pdmodel): Return PR_MODEL_UNKNOWN instead of
Peter Schauer [Thu, 28 Sep 2000 07:53:41 +0000 (07:53 +0000)]
* sol-thread.c (ps_pdmodel):  Return PR_MODEL_UNKNOWN instead of
PS_ERR if exec_bfd is not yet open.

24 years ago * target.c (target_signal_from_host, do_target_signal_to_host):
Peter Schauer [Thu, 28 Sep 2000 07:48:14 +0000 (07:48 +0000)]
* target.c (target_signal_from_host, do_target_signal_to_host):
Add support for Solaris realtime signals.

24 years agoFor SOM, don't force relocs on out-of-range 12 bit branches.
Alan Modra [Thu, 28 Sep 2000 06:24:43 +0000 (06:24 +0000)]
For SOM, don't force relocs on out-of-range 12 bit branches.

24 years agoProtoization.
Kevin Buettner [Wed, 27 Sep 2000 17:43:07 +0000 (17:43 +0000)]
Protoization.

24 years ago.plt stub for lazy linking, --stub-group-size=N ld switch,
Alan Modra [Wed, 27 Sep 2000 17:30:19 +0000 (17:30 +0000)]
.plt stub for lazy linking, --stub-group-size=N ld switch,
import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc

24 years agoExternal/weak SOM fixes, branch limit corrections.
Alan Modra [Wed, 27 Sep 2000 16:50:39 +0000 (16:50 +0000)]
External/weak SOM fixes, branch limit corrections.

24 years ago * elfcode.h (elf_object_p): Preserve and clear abfd section
Hans-Peter Nilsson [Wed, 27 Sep 2000 07:52:24 +0000 (07:52 +0000)]
* elfcode.h (elf_object_p): Preserve and clear abfd section
  information.  Restore at error.

24 years ago* peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory
DJ Delorie [Tue, 26 Sep 2000 20:42:29 +0000 (20:42 +0000)]
* peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory
is empty, make sure that its rva also 0. NT loader dislikes
having otherwise.

24 years ago2000-09-26 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 26 Sep 2000 17:23:58 +0000 (17:23 +0000)]
2000-09-26  Dave Brolley  <brolley@redhat.com>

* cgen-utils.c (RORQI): New function.
(ROLQI): New function.
(RORHI): New function.
(ROLHI): New function.

24 years ago * gdb.texinfo (Hooks): Document the new post-hook functionality.
Eli Zaretskii [Tue, 26 Sep 2000 15:53:59 +0000 (15:53 +0000)]
* gdb.texinfo (Hooks): Document the new post-hook functionality.
From Steven Johnson <sbjohnson@ozemail.com.au>.

24 years ago2000-09-25 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 26 Sep 2000 07:09:19 +0000 (07:09 +0000)]
2000-09-25  Kazu Hirata  <kazu@hxi.com>

* config/tc-cris.c: Fix formatting.
* config/tc-d10v.h: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-d30v.h: Likewise.
* config/tc-fr30.c: Likewise.
* config/tc-fr30.h: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-vax.h: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-z8k.h: Likewise.

24 years agoProtoization.
Kevin Buettner [Tue, 26 Sep 2000 04:27:59 +0000 (04:27 +0000)]
Protoization.

24 years agoMake weak symbols SS_UNIVERSAL (ie. global)
Alan Modra [Tue, 26 Sep 2000 01:45:26 +0000 (01:45 +0000)]
Make weak symbols SS_UNIVERSAL (ie. global)

24 years ago* md5.c: #include "ansidecl.h".
DJ Delorie [Tue, 26 Sep 2000 01:39:17 +0000 (01:39 +0000)]
* md5.c: #include "ansidecl.h".

24 years ago* Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4 and
Alexandre Oliva [Mon, 25 Sep 2000 20:26:51 +0000 (20:26 +0000)]
* Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4 and
ltcf-c.sh.

24 years agoAdd Mark Kettenis to blanket write privs list.
Andrew Cagney [Mon, 25 Sep 2000 19:45:45 +0000 (19:45 +0000)]
Add Mark Kettenis to blanket write privs list.

24 years ago * rs6000-tdep.c (rs6000_pop_frame): Use PC_IN_CALL_DUMMY to test
Peter Schauer [Sun, 24 Sep 2000 09:58:16 +0000 (09:58 +0000)]
* rs6000-tdep.c (rs6000_pop_frame):  Use PC_IN_CALL_DUMMY to test
for call dummy instead of accessing stop_stack_dummy, which does
not work if we `return' from a stop in a call dummy.
(rs6000_gdbarch_init):  Use generic_save_dummy_frame_tos for
dummy_frame_tos function to make PC_IN_CALL_DUMMY work.

24 years agoProtoization.
Kevin Buettner [Sun, 24 Sep 2000 04:42:12 +0000 (04:42 +0000)]
Protoization.

24 years ago* config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
Alan Modra [Sat, 23 Sep 2000 10:06:15 +0000 (10:06 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
checks only for ELF.
(hppa_force_relocation): Likewise.

24 years agoAdd missing fpcmp instructions, and add missing fcmp/fpcmp tests.
Jim Wilson [Fri, 22 Sep 2000 22:34:41 +0000 (22:34 +0000)]
Add missing fpcmp instructions, and add missing fcmp/fpcmp tests.
* gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
* ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
gt, ge, ngt, and nge.
* ia64-asmtab.c: Regenerate.

24 years agoFix ia64 gas testsuite. Update ia64 DV tables. Fix ia64 gas testsuite again.
Jim Wilson [Fri, 22 Sep 2000 19:43:50 +0000 (19:43 +0000)]
Fix ia64 gas testsuite.  Update ia64 DV tables.  Fix ia64 gas testsuite again.
gas/ChangeLog
* config/tc-ia64.c (dv_sem): Add "stop".
(specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
(specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
(specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
match above.
(mark_resources): Check IA64_RS_PRr.
gas/testsuite/ChangeLog
* gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/dv-imply.d: Regenerate.
* gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l,
gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise.
include/opcode/ChangeLog
* ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP.
opcodes/ChangeLog
* ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
* ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
(lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
* ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
* ia64-asmtab.c: Regnerate.

24 years ago * Makefile.in (REQUIRED_OFILES): Add md5.o.
Jason Merrill [Fri, 22 Sep 2000 18:31:23 +0000 (18:31 +0000)]
    * Makefile.in (REQUIRED_OFILES): Add md5.o.
        (CFILES): Add md5.c.
        * md5.c: New file.

24 years ago * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
Peter Schauer [Fri, 22 Sep 2000 17:45:47 +0000 (17:45 +0000)]
* i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
OLD_CANNOT_FETCH_REGISTER):  New definitions for accessible registers
when accessing the registers via the U area.
(fetch_register, store_register):  Use them.
(cannot_fetch_register, cannot_store_register):  New functions,
all registers should be accessible if we have GETREGS support.
* config/i386/nm-linux.h:  Use cannot_fetch/store_register for
CANNOT_FETCH/STORE_REGISTER definitions.

24 years agoRedesign and clean up the relaxation mechanism.
Nick Clifton [Fri, 22 Sep 2000 17:33:55 +0000 (17:33 +0000)]
Redesign and clean up the relaxation mechanism.

24 years agoConditionalise the embedded relocs feature on the m68*-*-elf target
Nick Clifton [Fri, 22 Sep 2000 00:41:50 +0000 (00:41 +0000)]
Conditionalise the embedded relocs feature on the m68*-*-elf target

24 years ago2000-09-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 21 Sep 2000 20:26:34 +0000 (20:26 +0000)]
2000-09-21  Kazu Hirata  <kazu@hxi.com>

* config/tc-ns32k.c: Fix formatting.
* config/tc-ns32k.h: Likewise.

24 years ago2000-09-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 21 Sep 2000 20:21:59 +0000 (20:21 +0000)]
2000-09-21  Kazu Hirata  <kazu@hxi.com>

* ldmain.c: Fix formatting.
* ldmisc.c: Likewise.
* ldver.c: Likewise.
* ldwrite.c: Likewise.

24 years ago * infttrace.c (update_thread_state_after_attach): Pass address
Fred Fish [Thu, 21 Sep 2000 16:17:49 +0000 (16:17 +0000)]
* infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.

24 years agoSilence gcc warning.
Alan Modra [Thu, 21 Sep 2000 14:21:24 +0000 (14:21 +0000)]
Silence gcc warning.

24 years agoCorrect comments. Don't check non-code output sections for stub
Alan Modra [Thu, 21 Sep 2000 13:40:00 +0000 (13:40 +0000)]
Correct comments.  Don't check non-code output sections for stub
grouping.  (In the process, partly revert and fix bugs introduced
with the last change.  Oops.)

24 years agoFix a segfault caused by under-allocating an array.
Alan Modra [Thu, 21 Sep 2000 10:13:18 +0000 (10:13 +0000)]
Fix a segfault caused by under-allocating an array.

24 years ago2000-09-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 20 Sep 2000 22:05:08 +0000 (22:05 +0000)]
2000-09-20  Kazu Hirata  <kazu@hxi.com>

* config/tc-m32r.c: Fix formatting.
* config/tc-m32r.h: Likewise.
* config/tc-m68851.h: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-mn10200.h: Likewise.
* config/tc-mn10300.h: Likewise.

24 years ago2000-09-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 20 Sep 2000 21:12:43 +0000 (21:12 +0000)]
2000-09-20  Kazu Hirata  <kazu@hxi.com>

* config/tc-mcore.c: Fix formatting.
* config/tc-mcore.h: Likewise.

24 years ago2000-09-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 20 Sep 2000 13:14:47 +0000 (13:14 +0000)]
2000-09-20  Kazu Hirata  <kazu@hxi.com>

* config/tc-tahoe.c: Fix formatting.
* config/tc-tahoe.h: Likewise.

24 years agoHandle out of memory situations.
Alan Modra [Wed, 20 Sep 2000 04:20:26 +0000 (04:20 +0000)]
Handle out of memory situations.