OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoChange from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh
Bernd Schmidt [Fri, 26 Jul 2002 11:14:04 +0000 (11:14 +0000)]
Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh

22 years ago * elf32-i386.c (elf_i386_link_hash_table_create): Clear
Alan Modra [Fri, 26 Jul 2002 05:32:05 +0000 (05:32 +0000)]
* elf32-i386.c (elf_i386_link_hash_table_create): Clear
tls_ldm_got.refcount.

22 years ago * gas/ppc/altivec.d: Invoke "as" with "-a32".
Alan Modra [Fri, 26 Jul 2002 04:19:12 +0000 (04:19 +0000)]
* gas/ppc/altivec.d: Invoke "as" with "-a32".

22 years ago * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
Alan Modra [Fri, 26 Jul 2002 04:18:42 +0000 (04:18 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.

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

22 years ago * elf64-mips.c: Update TODO comment.
Thiemo Seufer [Thu, 25 Jul 2002 15:35:14 +0000 (15:35 +0000)]
* elf64-mips.c: Update TODO comment.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc,
mips_elf64_gprel16_reloca): Remove prototypes.
(mips16_jump_reloc,mips16_gprel_reloc): Add functions.
(UNUSED_RELOC): Replace by EMPTY_RELOC.
(mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove
wrong comments. Remove disfunctional support of R_MIPS_HIGHER and
R_MIPS_HIGHEST.
(mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and
R_MIPS_GOT16. Remove wrong comments.
(elf_mips16_jump_howto,elf_mips16_gprel_howto,
elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code
from elf32-mips.c.
(mips_elf64_hi16_reloc): Fix formatting.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove.
(mips_elf64_got16_reloc): Fix formatting. Remove superfluous code.
Better comment. Fall back to R_MIPS_GOT_DISP instead of abort().
(mips_elf64_gprel16_reloc): Make static. Add check for
partial_inplace.
(mips_elf64_gprel16_reloca): Remove.
(mips_elf64_literal_reloc): New function.
(mips_elf64_gprel32_reloc): Fix formatting.
(mips_elf64_shift6_reloc): Fix comment. Make static.
(mips16_jump_reloc,mips16_gprel_reloc): New functions, code from
elf32-mips.c.
(elf_reloc_map,mips_reloc_map): New mapping table, similiar as in
elf32-mips.c
(bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU
specific relocations.
(mips_elf64_rtype_to_howto): Enable GNU specific relocations.
(mips_elf64_object_p): Invert logic to check for SGI-ish ABI.
(ELF_MAXPAGESIZE): Add comment.

22 years agoFix comment from last commit.
Richard Sandiford [Thu, 25 Jul 2002 11:07:47 +0000 (11:07 +0000)]
Fix comment from last commit.

22 years agoNew translations
Nick Clifton [Thu, 25 Jul 2002 10:31:28 +0000 (10:31 +0000)]
New translations

22 years ago[gas/]
Richard Sandiford [Thu, 25 Jul 2002 09:48:07 +0000 (09:48 +0000)]
[gas/]
* doc/c-mips.texi: Remove -mcpu.  Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly.  Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa.  Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file.  Constify string argument.
(md_show_usage): Move to the end of the file.  Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework.  Remove -mcpu handling.  -mipsN
is an alias for -march=mipsN.  Don't change the ABI based on other
flags.  Infer the register size from the ABI as well as the
architecture.  Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries.  Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries.  Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.

[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.

22 years ago * opcode/mips.h (CPU_R2000): Remove.
Richard Sandiford [Thu, 25 Jul 2002 09:44:39 +0000 (09:44 +0000)]
* opcode/mips.h (CPU_R2000): Remove.

22 years ago * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
Alan Modra [Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)]
* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
as elf_link_record_local_dynamic_symbol.
(_bfd_elf64_link_record_local_dynamic_symbol): Likewise.
(elf_link_record_local_dynamic_symbol): Declare.  Now returns int.
* elflink.h (elf_link_record_local_dynamic_symbol): Move to..
* elflink.c: .. here.  Use bfd_elf_get_elf_syms.  Check whether an
attempt is made to record a symbol in a discarded section, and
return `2' in that case.

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

22 years ago2002-07-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Jul 2002 15:25:03 +0000 (15:25 +0000)]
2002-07-24  Dave Brolley  <brolley@redhat.com>

* corefile.c (core_create_function_syms): Use the end of the section
containing the symbol to compute max_vma.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 24 Jul 2002 09:37:02 +0000 (09:37 +0000)]
oops - omitted from previous delta

22 years agoUpdate Spanish and Swedish translations
Nick Clifton [Wed, 24 Jul 2002 09:34:08 +0000 (09:34 +0000)]
Update Spanish and Swedish translations

22 years agoAdd missing 2001-09-29 entry
Alan Modra [Wed, 24 Jul 2002 06:45:02 +0000 (06:45 +0000)]
Add missing 2001-09-29 entry

22 years agoFix a typo.
H.J. Lu [Wed, 24 Jul 2002 06:42:54 +0000 (06:42 +0000)]
Fix a typo.

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

22 years agofix typo introduced in previous delta
Nick Clifton [Tue, 23 Jul 2002 18:02:32 +0000 (18:02 +0000)]
fix typo introduced in previous delta

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:46:43 +0000 (12:46 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:44:25 +0000 (12:44 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:42:32 +0000 (12:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years agoRegenerate.
Alan Modra [Tue, 23 Jul 2002 12:37:37 +0000 (12:37 +0000)]
Regenerate.

22 years agomissed 'em from the last delta
Alan Modra [Tue, 23 Jul 2002 12:34:35 +0000 (12:34 +0000)]
missed 'em from the last delta

22 years ago * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
Alan Modra [Tue, 23 Jul 2002 12:29:33 +0000 (12:29 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
immediately.  Remove code handling relocatable linking.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf32-avr.c (elf_backend_rela_normal): Define.
* elf32-cris.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-sparc.c: Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Edit comment.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf-m10200.c (USE_RELA): Don't define.
* elf-m10300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-avr.c (USE_REL): Don't undef.
* elf32-ip2k.c: Likewise.

22 years agoAdd new bitfield 'want_p_paddr_set_to_zero'.
Nick Clifton [Tue, 23 Jul 2002 11:15:06 +0000 (11:15 +0000)]
Add new bitfield 'want_p_paddr_set_to_zero'.
Set this field for HPUX IA64 port.
Test this field when setting p_paddr.

22 years agosim-h8300.h new file
Andrey Volkov [Tue, 23 Jul 2002 10:30:14 +0000 (10:30 +0000)]
sim-h8300.h new file

22 years agoSwapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
Nick Clifton [Tue, 23 Jul 2002 10:25:34 +0000 (10:25 +0000)]
Swapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
loaders to show the Copyright string.

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.