OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agooops - omitted from previous delta
Nick Clifton [Tue, 23 Jul 2002 09:59:47 +0000 (09:59 +0000)]
oops - omitted from previous delta

22 years agoupdate translations.
Nick Clifton [Tue, 23 Jul 2002 09:58:05 +0000 (09:58 +0000)]
update translations.

22 years agoKen Raeburn is no longer the maintainer for GAS.
Nick Clifton [Tue, 23 Jul 2002 07:25:37 +0000 (07:25 +0000)]
Ken Raeburn is no longer the maintainer for GAS.

22 years ago * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
Alan Modra [Tue, 23 Jul 2002 05:12:57 +0000 (05:12 +0000)]
* doc/binutils.texi (addr2line <man synopsis>): Correct brackets.

22 years ago * budemang.c: Include config.h and string.h/strings.h.
Alan Modra [Tue, 23 Jul 2002 05:12:26 +0000 (05:12 +0000)]
* budemang.c: Include config.h and string.h/strings.h.

22 years ago * elflink.h (elf_link_input_bfd): Don't change internal symbols
Alan Modra [Tue, 23 Jul 2002 04:38:17 +0000 (04:38 +0000)]
* elflink.h (elf_link_input_bfd): Don't change internal symbols
when outputting relocs.

22 years agodaily update
Alan Modra [Tue, 23 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * doc/c-ip2k.texi: The company name Scenix changed to Ubicom.
Denis Chertykov [Mon, 22 Jul 2002 19:04:28 +0000 (19:04 +0000)]
* doc/c-ip2k.texi: The company name Scenix changed to Ubicom.
* doc/as.texi: Likewise.

22 years agodaily update
Alan Modra [Mon, 22 Jul 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 21 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * budemang.c: Include string.h.
Alan Modra [Sat, 20 Jul 2002 14:00:47 +0000 (14:00 +0000)]
* budemang.c: Include string.h.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
Alan Modra [Sat, 20 Jul 2002 13:41:11 +0000 (13:41 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
bomb on /DISCARD/ input section.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.

22 years ago* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
Jason Thorpe [Sat, 20 Jul 2002 04:09:30 +0000 (04:09 +0000)]
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
DT_PLTGOT into the dynamic section if there is a PLT.

22 years agodaily update
Alan Modra [Sat, 20 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
Thiemo Seufer [Fri, 19 Jul 2002 21:34:02 +0000 (21:34 +0000)]
* elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
elf32-mips.c.
(_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype.
(_bfd_mips_elf_write_section): Likewise.
* elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c.
(elf32_mips_write_section): Likewise.
* elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it.
(_bfd_mips_elf_write_section): Likewise.

22 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
Thiemo Seufer [Fri, 19 Jul 2002 21:30:26 +0000 (21:30 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
instead of S_IS_EXTERN.
(md_estimate_size_before_relax): Likewise.
(mips_fix_adjustable): Likewise.

22 years ago * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
Thiemo Seufer [Fri, 19 Jul 2002 21:28:49 +0000 (21:28 +0000)]
* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.

22 years ago2002-07-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 19 Jul 2002 18:16:30 +0000 (18:16 +0000)]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS: Clarify updates of config.guess and config.sub, and
add one instance of them which was missed to the list to update.

22 years agoMake .ifdef treat a referenced but not yet defined symbol as if it were
Nick Clifton [Fri, 19 Jul 2002 11:35:06 +0000 (11:35 +0000)]
Make .ifdef treat a referenced but not yet defined symbol as if it were
undefined, in exactly the same way as .equiv.

22 years agoAdd IP2k GAS and OPCODES support.
Nick Clifton [Fri, 19 Jul 2002 07:52:40 +0000 (07:52 +0000)]
Add IP2k GAS and OPCODES support.

22 years ago * ld-mmix/sec-1.d: Adjust for changes in padding.
Hans-Peter Nilsson [Fri, 19 Jul 2002 03:30:13 +0000 (03:30 +0000)]
* ld-mmix/sec-1.d: Adjust for changes in padding.
* ld-mmix/sec-3.d: Ditto.

22 years ago * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
Hans-Peter Nilsson [Fri, 19 Jul 2002 02:56:59 +0000 (02:56 +0000)]
* emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
output section.

22 years ago * gas/mmix/list-pseudoints.l: Adjust for changes in gas section
Hans-Peter Nilsson [Fri, 19 Jul 2002 01:51:17 +0000 (01:51 +0000)]
* gas/mmix/list-pseudoints.l: Adjust for changes in gas section
padding.
* gas/mmix/greg7.d: Ditto.
* gas/mmix/greg8.d: Ditto.
* gas/mmix/fb-2.d: Ditto.
* gas/mmix/comment-1.d: Ditto.
* gas/mmix/byte-1.d: Ditto.

22 years ago * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
Alan Modra [Fri, 19 Jul 2002 01:10:28 +0000 (01:10 +0000)]
* elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
PT_IA_64_UNWIND segments for a given section.

22 years agodaily update
Alan Modra [Fri, 19 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoAdd IP2K support
Nick Clifton [Thu, 18 Jul 2002 11:11:13 +0000 (11:11 +0000)]
Add IP2K support

22 years agodaily update
Alan Modra [Thu, 18 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoIndex: sim/common/ChangeLog
Andrew Cagney [Wed, 17 Jul 2002 21:20:09 +0000 (21:20 +0000)]
Index: sim/common/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Declare.  Moved
to here from "gdb/remote-sim.h".

Index: include/gdb/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h: Update copyright.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Delete.  Moved to
"sim/common/run-sim.h".

22 years agoinclude/gdb:
Joern Rennecke [Wed, 17 Jul 2002 18:43:26 +0000 (18:43 +0000)]
include/gdb:
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.

22 years ago2002-07-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 17 Jul 2002 17:53:28 +0000 (17:53 +0000)]
2002-07-17  H.J. Lu <hjl@gnu.org>

* Makefile.am: Fix a typo.
* Makefile.in: Regenerate.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 17 Jul 2002 14:18:37 +0000 (14:18 +0000)]
oops - omitted from previous delta

22 years agoAdd IP2k support to BFD and LD
Nick Clifton [Wed, 17 Jul 2002 14:15:52 +0000 (14:15 +0000)]
Add IP2k support to BFD and LD

22 years agoFrom: Ian Rickards <irickard@arm.com>
Richard Earnshaw [Wed, 17 Jul 2002 12:17:18 +0000 (12:17 +0000)]
From: Ian Rickards  <irickard@arm.com>
* dwarf2.c (concat_filename): If we can't establish the directory
just return the filename.

22 years ago2002-07-17 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Wed, 17 Jul 2002 07:27:40 +0000 (07:27 +0000)]
2002-07-17  David Mosberger  <davidm@hpl.hp.com>

* ia64-opc-b.c (bWhc): New macro.
(mWhc): Ditto.
(OpPaWhcD): Ditto.
(ia64_opcodes_b): Correct patterns for indirect call
instructions to use 3-bit "wh" field.
* ia64-asmtab.c: Regnerate.

22 years ago2002-07-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 17 Jul 2002 07:26:30 +0000 (07:26 +0000)]
2002-07-17  H.J. Lu <hjl@gnu.org>

* gas/ia64/dv-branch.d: Updated.
* gas/ia64/opc-b.d: Likewise.

22 years ago2002-07-16 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 17 Jul 2002 00:17:14 +0000 (00:17 +0000)]
2002-07-16  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2002-07-09 version.
        * config.sub: Update to 2002-07-03 version.

22 years agodaily update
Alan Modra [Wed, 17 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
Jan Hubicka [Tue, 16 Jul 2002 22:31:19 +0000 (22:31 +0000)]
* tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.

22 years ago * config/tc-z8k.c (build_bytes): Correct order of memset args.
Alan Modra [Tue, 16 Jul 2002 13:37:49 +0000 (13:37 +0000)]
* config/tc-z8k.c (build_bytes): Correct order of memset args.

22 years ago * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
Alan Modra [Tue, 16 Jul 2002 13:35:58 +0000 (13:35 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.

22 years ago * elflink.h: Formatting fixes, tidy prototypes.
Alan Modra [Tue, 16 Jul 2002 12:31:35 +0000 (12:31 +0000)]
* elflink.h: Formatting fixes, tidy prototypes.
(elf_link_assign_sym_version): Move common code out of loop.

22 years ago * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
Alan Modra [Tue, 16 Jul 2002 09:00:42 +0000 (09:00 +0000)]
* elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
reloc section size is zero.  Correct reloc output location.

22 years agoAdd 'Chnages in 2.13' to NEWS files.
Nick Clifton [Tue, 16 Jul 2002 07:58:34 +0000 (07:58 +0000)]
Add 'Chnages in 2.13' to NEWS files.

22 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
Alan Modra [Tue, 16 Jul 2002 02:26:30 +0000 (02:26 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
the final type for the e_fsel selector when generating PA2.0W code.
(elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1
relocations.

22 years ago2002-07-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 16 Jul 2002 00:15:57 +0000 (00:15 +0000)]
2002-07-15  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers21.

* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.

22 years agodaily update
Alan Modra [Tue, 16 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agobfd/
H.J. Lu [Mon, 15 Jul 2002 02:23:26 +0000 (02:23 +0000)]
bfd/
2002-07-14  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_assign_sym_version): Hide the default
definition if there is a hidden versioned definition.

ld/
2002-07-14  H.J. Lu <hjl@gnu.org>

* ld.texinfo: Document a .symver takes precedence over a
version script.

22 years agocopyright date
Alan Modra [Mon, 15 Jul 2002 01:52:48 +0000 (01:52 +0000)]
copyright date

22 years ago * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
Alan Modra [Mon, 15 Jul 2002 01:51:07 +0000 (01:51 +0000)]
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.

22 years agodaily update
Alan Modra [Mon, 15 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 14 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 13 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
Hans-Peter Nilsson [Fri, 12 Jul 2002 15:54:57 +0000 (15:54 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
dynamic reference test in assertion when initializing GOT with
static contents.  Just assert that there are either no dynamic
sections, the symbol is defined in the regular objects or that the
symbol is undef weak.  Tweak comment.
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program
only if the symbol isn't defined in the program and isn't undef
weak.
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting
rid of PLT entry: only do it if the symbol isn't defined in a DSO.
When doing so, clear ELF_LINK_HASH_NEEDS_PLT.  Tweak comments.
(elf_cris_discard_excess_program_dynamics): Don't consider
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs.

22 years ago * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
Hans-Peter Nilsson [Fri, 12 Jul 2002 15:51:54 +0000 (15:51 +0000)]
* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
ld-cris/expdref1.s: New tests.

22 years ago * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
Alan Modra [Fri, 12 Jul 2002 06:48:54 +0000 (06:48 +0000)]
* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
(COMMONPAGESIZE): Define.

22 years ago * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
Alan Modra [Fri, 12 Jul 2002 03:47:36 +0000 (03:47 +0000)]
* config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
case with non CODE_64BIT case.  Don't warn on "qword ptr" if
not CODE_64BIT.

22 years agodaily update
Alan Modra [Fri, 12 Jul 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Remove two redundant tests.
DJ Delorie [Thu, 11 Jul 2002 20:14:41 +0000 (20:14 +0000)]
* configure.in: Remove two redundant tests.

22 years ago* configure.in (mips*-*-irix6*o32): Enable stabs.
DJ Delorie [Thu, 11 Jul 2002 19:38:34 +0000 (19:38 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Don't complain about
Alan Modra [Thu, 11 Jul 2002 05:33:28 +0000 (05:33 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

22 years ago * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
Alan Modra [Thu, 11 Jul 2002 01:07:49 +0000 (01:07 +0000)]
* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
(ppc_frob_file_before_adjust): New function.
* config/tc-ppc.h (tc_frob_symbol): Don't define.
(ppc_elf_frob_symbol): Don't declare.
(tc_frob_file_before_adjust): Define.
(ppc_frob_file_before_adjust): Declare.

22 years ago * config/tc-ppc.c (md_pseudo_table): Warning fix.
Alan Modra [Thu, 11 Jul 2002 01:06:58 +0000 (01:06 +0000)]
* config/tc-ppc.c (md_pseudo_table): Warning fix.
(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
flags.
(ppc_size): Delete.
(ppc_xcoff64): Rename to ppc_obj64.
(md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
(ppc_set_cpu): Set PPC_OPCODE_32 too.
(ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
or bfd_mach_ppc.
(ppc_target_format): Use ppc_obj64 to select format.
(md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
(ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
(ppc_elf_suffix): Likewise.  Don't depend on BFD_DEFAULT_TARGET_SIZE.
(tc_frob_symbol): Likewise.
(md_assemble): Use ppc_obj64 instead of ppc_size.  Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ppc_tc): Likewise.
(ppc_is_toc_sym): Likewise.
(md_apply_fix3): Likewise.
* config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ELF_TC_SPECIAL_SECTIONS): Likewise.
(tc_frob_symbol): Likewise.

22 years agodaily update
Alan Modra [Thu, 11 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
Jakub Jelinek [Wed, 10 Jul 2002 15:28:34 +0000 (15:28 +0000)]
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.

* elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED,
DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.

22 years ago * elf64-ppc.c (ONES): Define.
Alan Modra [Wed, 10 Jul 2002 11:46:19 +0000 (11:46 +0000)]
* elf64-ppc.c (ONES): Define.
(ppc64_elf_howto_table): Use ONES here to avoid warnings.  Fill in
missing src_mask fields.  Tweak R_PPC64_NONE, R_PPC64_COPY.  Fill
in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32.

22 years ago * elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.
Alan Modra [Wed, 10 Jul 2002 10:28:44 +0000 (10:28 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.
(ppc64_elf_set_private_flags): Delete.
(ppc64_elf_section_from_shdr): Delete.
(ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code.
(ppc64_elf_fake_sections): Delete.
(bfd_elf64_bfd_set_private_flags): Don't define.
(bfd_elf64_get_symbol_info): Likewise.
(elf_backend_section_from_shdr): Likewise.
(elf_backend_fake_sections): Likewise.

22 years ago * elf.c: (assign_section_numbers) Set sh_entsize for .stab only
Alan Modra [Wed, 10 Jul 2002 04:59:42 +0000 (04:59 +0000)]
* elf.c: (assign_section_numbers) Set sh_entsize for .stab only
when not already set.
* elf64-sparc.c: (sparc64_elf_fake_sections): New function.
(elf_backend_fake_sections): Define.

22 years agomerge from gcc
DJ Delorie [Wed, 10 Jul 2002 00:01:58 +0000 (00:01 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Wed, 10 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * merge.c (_bfd_merge_section): Remove redundant output_section check.
Alan Modra [Tue, 9 Jul 2002 23:47:22 +0000 (23:47 +0000)]
* merge.c (_bfd_merge_section): Remove redundant output_section check.
Formatting.
(_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.

22 years ago * config/tc-mips.c (macro_build): Handle MIPS16 insns.
Thiemo Seufer [Tue, 9 Jul 2002 14:21:40 +0000 (14:21 +0000)]
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.

22 years ago * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
Alan Modra [Tue, 9 Jul 2002 09:46:18 +0000 (09:46 +0000)]
* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
(md_apply_fix3): Formatting.  Remove redundant test.
(tc_gen_reloc): Remove redundant code.
(tc_i386_force_relocation): Delete.  Movy body of function to..
* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.

22 years ago * ld-scripts/dynamic-sections*: New test.
Richard Sandiford [Tue, 9 Jul 2002 08:47:24 +0000 (08:47 +0000)]
    * ld-scripts/dynamic-sections*: New test.

22 years ago * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
Alan Modra [Tue, 9 Jul 2002 08:13:06 +0000 (08:13 +0000)]
* emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.

22 years agooops, forgot to commit.
Alan Modra [Tue, 9 Jul 2002 07:49:49 +0000 (07:49 +0000)]
oops, forgot to commit.

22 years ago * elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
Hans-Peter Nilsson [Tue, 9 Jul 2002 03:49:27 +0000 (03:49 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
NULL sym_hashes to just before use.
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also
symbol with non-default visibility.
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Ditto.
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for
symbol with non-default visibility.
(cris_elf_check_relocs): At tests for local symbol before
increasing h->plt.refcount, also check for non-default
visibility.  Ditto when checking for local symbol to eliminate
pc-relative runtime relocs.

22 years ago * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
Hans-Peter Nilsson [Tue, 9 Jul 2002 03:46:49 +0000 (03:46 +0000)]
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
ld-cris/noglob1.d: New tests.

22 years ago * configure.tgt: Add hppaobsd.o.
Alan Modra [Tue, 9 Jul 2002 02:42:13 +0000 (02:42 +0000)]
* configure.tgt: Add hppaobsd.o.
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.

22 years ago * configure.in: Add hppa-*-openbsd* target, change
Alan Modra [Tue, 9 Jul 2002 02:41:16 +0000 (02:41 +0000)]
* configure.in: Add hppa-*-openbsd* target, change
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.

22 years agoFix typo last change
Hans-Peter Nilsson [Tue, 9 Jul 2002 02:41:15 +0000 (02:41 +0000)]
Fix typo last change

22 years agomerge from gcc
DJ Delorie [Tue, 9 Jul 2002 01:01:18 +0000 (01:01 +0000)]
merge from gcc

22 years ago * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
Hans-Peter Nilsson [Tue, 9 Jul 2002 00:50:01 +0000 (00:50 +0000)]
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.

22 years ago* config/tc-mips.c (macro): Shift the 32-bit address range
Maciej W. Rozycki [Tue, 9 Jul 2002 00:42:57 +0000 (00:42 +0000)]
* config/tc-mips.c (macro): Shift the 32-bit address range
accessible with a lone "lui" down by 32768.

22 years agodaily update
Alan Modra [Tue, 9 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* config/tc-mips.c (load_address): Use non-trapping "daddu"
Maciej W. Rozycki [Mon, 8 Jul 2002 22:42:09 +0000 (22:42 +0000)]
* config/tc-mips.c (load_address): Use non-trapping "daddu"
instead of "dadd" in address calculations.
(macro): Likewise.

22 years ago* configure.in: Don't build grez.
DJ Delorie [Mon, 8 Jul 2002 22:18:40 +0000 (22:18 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.

22 years ago* Makefile.in: Remove references to bsp, cygmon, libstub.
DJ Delorie [Mon, 8 Jul 2002 20:43:20 +0000 (20:43 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

22 years ago* configure.in (gxx_include_dir): Change to match versioned
DJ Delorie [Mon, 8 Jul 2002 17:14:04 +0000 (17:14 +0000)]
* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

22 years ago * gas/i386/intel16.s: New.
Alan Modra [Mon, 8 Jul 2002 10:40:37 +0000 (10:40 +0000)]
* gas/i386/intel16.s: New.
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.

22 years agogas/ChangeLog
Alan Modra [Mon, 8 Jul 2002 10:03:11 +0000 (10:03 +0000)]
gas/ChangeLog
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.

include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.

22 years ago * elf.c: Formatting.
Alan Modra [Mon, 8 Jul 2002 08:13:37 +0000 (08:13 +0000)]
* elf.c: Formatting.
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks.
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP.
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP
segments.

22 years ago * cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
Mark Mitchell [Mon, 8 Jul 2002 05:34:08 +0000 (05:34 +0000)]
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
account the impact of relocation count overflow when computing
section offsets.
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether
or not to apply the PE COFF reloc overflow handling.  Fix a
fencepost error in deciding whether or not to use that technique.

22 years agodaily update
Alan Modra [Mon, 8 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
Alan Modra [Sun, 7 Jul 2002 09:10:41 +0000 (09:10 +0000)]
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
change type of locsyms.
(bfd_elf_get_elf_syms): Declare.
* elf.c (bfd_elf_get_elf_syms): New function.
(group_signature): Use bfd_elf_get_elf_syms.
(bfd_section_from_r_symndx): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise.  Reorganise to increase
locality of various data structures.  Properly free internal relocs.
(elf_bfd_final_link): Properly free internal relocs.
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise.  Properly free internal relocs.
(elf_gc_sweep): Properly free internal relocs.
(elf_reloc_symbol_deleted_p): No need to swap syms in.
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms.  Properly free
internal relocs.
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code.
(mn10200_elf_symbol_address_p): Pass in internal syms.  Remove
symbol swapping code.
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c.
(m32r_elf_relax_delete_bytes): Likewise.
(m32r_elf_get_relocated_section_contents): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using
elf_section_data to determine whether cached.
(sh_elf_relax_section): As above for elf-m10200.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above.
* elf64-alpha.c (elf64_alpha_relax_section): As above.  Also delay
reading of local syms.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above.
* elfxx-ia64.c (elfNN_ia64_relax_section): As above.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal
relocs.
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly
free internal relocs and section contents.  Don't read symbols.
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms.
(elf32_hppa_size_stubs): Don't free local syms.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay
reading of local syms.  Use bfd_elf_get_elf_syms.  Properly free
possibly cached info.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms.
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and
all_local_syms.
(get_local_syms): Delete function.
(edit_opd): Use bfd_elf_get_elf_syms.  Free on error exit.  Cache
on exit.
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms.  Free/cache on exit.

22 years agodaily update
Alan Modra [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 6 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoThis makes gprof work with non-standard text sections.
Jim Wilson [Fri, 5 Jul 2002 20:29:38 +0000 (20:29 +0000)]
This makes gprof work with non-standard text sections.
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.

22 years ago * ldlang.c (print_wild_statement): Fix output formatting.
Alan Modra [Fri, 5 Jul 2002 12:54:28 +0000 (12:54 +0000)]
* ldlang.c (print_wild_statement): Fix output formatting.

22 years agodaily update
Alan Modra [Fri, 5 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
Alexandre Oliva [Thu, 4 Jul 2002 22:51:16 +0000 (22:51 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.