OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
Alexandre Oliva [Mon, 28 May 2001 20:56:20 +0000 (20:56 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

23 years ago * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
Andreas Jaeger [Mon, 28 May 2001 15:45:47 +0000 (15:45 +0000)]
* elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
generic version since we want a hashsize of 4.
(elf_backend_size_info): Likewise.

23 years ago * readelf.c (display_debug_frames): Fix warnings: Remove unused
Andreas Jaeger [Mon, 28 May 2001 15:41:34 +0000 (15:41 +0000)]
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.

23 years agoHandle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel
Nick Clifton [Mon, 28 May 2001 11:57:54 +0000 (11:57 +0000)]
Handle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel

23 years agoFor sh-*-linux-gnu target add a start address for the text section.
Nick Clifton [Mon, 28 May 2001 10:55:23 +0000 (10:55 +0000)]
For sh-*-linux-gnu target add a start address for the text section.

23 years agoSupport big endian PLT entries.
Nick Clifton [Mon, 28 May 2001 10:50:31 +0000 (10:50 +0000)]
Support big endian PLT entries.

23 years agoFix some entries.
Alan Modra [Mon, 28 May 2001 10:37:50 +0000 (10:37 +0000)]
Fix some entries.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
Alan Modra [Mon, 28 May 2001 10:12:04 +0000 (10:12 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
for symbols forced local that need plabels.
(elf32_hppa_adjust_dynamic_symbol): Don't allocate space in
.plt.rela for local syms if non-shared.
(hppa_build_one_stub): Mask lsb of plt.offset.
(elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.
(clobber_millicode_symbols): Correct comment.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.

23 years agoRemove section VMA adjustment when computing the address of the line to show.
Nick Clifton [Mon, 28 May 2001 10:03:19 +0000 (10:03 +0000)]
Remove section VMA adjustment when computing the address of the line to show.

23 years agoAdd support for .uahword, .uaword and .uaxword pseudo ops
Nick Clifton [Mon, 28 May 2001 09:23:54 +0000 (09:23 +0000)]
Add support for .uahword, .uaword and .uaxword pseudo ops

23 years agoRmeove i370-mvs architecture - it is not supported.
Nick Clifton [Mon, 28 May 2001 08:25:20 +0000 (08:25 +0000)]
Rmeove i370-mvs architecture - it is not supported.

23 years ago * write.c (relax_segment <rs_space>): Check the section of a
Alan Modra [Sun, 27 May 2001 12:17:38 +0000 (12:17 +0000)]
* write.c (relax_segment <rs_space>): Check the section of a
symbol to determine whether it is absolute rather than comparing
its frag against zero_address_frag as listings play tricks with
frags.

23 years ago * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
Alan Modra [Sun, 27 May 2001 11:57:25 +0000 (11:57 +0000)]
* config/tc-m68k.c (md_assemble): Ensure variable part of frag is
allocated in the same chunk as the fixed part.

23 years ago * gas/cris/addi.d: Tweak for 64-bit BFD.
Hans-Peter Nilsson [Sun, 27 May 2001 09:34:06 +0000 (09:34 +0000)]
* gas/cris/addi.d: Tweak for 64-bit BFD.
* gas/cris/binop-cmpmove.d, gas/cris/binop-cmpmovx.d,
gas/cris/binop-extx.d, gas/cris/binop.d, gas/cris/bork.d,
gas/cris/branch.d, gas/cris/break.d, gas/cris/brokw-1.d,
gas/cris/brokw-2.d, gas/cris/brokw-3.d, gas/cris/ccr.d,
gas/cris/clear.d, gas/cris/continue.d, gas/cris/fragtest.d,
gas/cris/jump-type.d, gas/cris/labfloat.d, gas/cris/macroat.d,
gas/cris/movem-to-reg.d, gas/cris/nosep.d, gas/cris/oneop-type.d,
gas/cris/prefix.d, gas/cris/pushpop-byte-sreg.d,
gas/cris/pushpop-dword-sreg.d, gas/cris/pushpop-word-sreg.d,
gas/cris/pushpop.d, gas/cris/quick-s6.d, gas/cris/quick-u5.d,
gas/cris/quick-u6.d, gas/cris/range-err-1.s, gas/cris/rd-pic-1.d,
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/reg-to-mem.d, gas/cris/regreg.d, gas/cris/return.d,
gas/cris/scc.d, gas/cris/separator.d, gas/cris/shexpr-1.d,
gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/unimplemented.d,
gas/cris/unop-mem.d, gas/cris/x-to-byte-sreg.d,
gas/cris/x-to-dcr1-sreg.d, gas/cris/x-to-dword-sreg.d,
gas/cris/x-to-word-sreg.d: Ditto.
* gas/cris/shexpr-1.d: Ditto.  Correct format.

23 years ago * write.c (relax_segment <rs_space>): Calculate growth using
Alan Modra [Sat, 26 May 2001 12:45:15 +0000 (12:45 +0000)]
* write.c (relax_segment <rs_space>): Calculate growth using
addresses before stretch.  Prevent repeated error messages.
From Peter Jakubek  <pjak@snafu.de>
Use as_bad_where and as_warn_where to pinpoint errors.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:50:27 +0000 (22:50 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
(coff-rs6000.lo): Remove the old dependency.
* Makefile.in: Rebuild.

* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
coff-rs6000.lo.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:49:14 +0000 (22:49 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:48:14 +0000 (22:48 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 21:23:48 +0000 (21:23 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
rs6000coff_core_file_matches_executable_p,
rs6000coff_core_file_failing_command and
rs6000coff_core_file_failing_signal only if AIX_CORE is
defined.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 21:19:46 +0000 (21:19 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 18:58:10 +0000 (18:58 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.

* binutils-all/readelf.s: Support traditional mips.

* binutils-all/readelf.ss-tmips: New for traditional mips.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 18:39:02 +0000 (18:39 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32el-rel2.d: New for little endian mips.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/tempic.d: New for traditional mips.
* gas/mips/tmips16-e.d: Likewise.

* gas/mips/elf-rel.d: Handle alignment padding.
* gas/mips/elf-rel2.d: Likewise.

* gas/mips/mips.exp: Support little endian and traditional
mips.

23 years agomonterey updates
Timothy Wall [Fri, 25 May 2001 12:42:28 +0000 (12:42 +0000)]
monterey updates

23 years ago * symbols.c (resolve_symbol_value): Always set segment, even when
Alan Modra [Fri, 25 May 2001 10:07:43 +0000 (10:07 +0000)]
* symbols.c (resolve_symbol_value): Always set segment, even when
not finalizing symbol value.

23 years ago * config/obj-ieee.c (write_object_file): Set finalize_syms.
Alan Modra [Fri, 25 May 2001 09:40:12 +0000 (09:40 +0000)]
* config/obj-ieee.c (write_object_file): Set finalize_syms.
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.

23 years agos/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
Alan Modra [Fri, 25 May 2001 07:21:01 +0000 (07:21 +0000)]
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 06:29:21 +0000 (06:29 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.
* libcoff.h: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 05:56:38 +0000 (05:56 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/stringify.sed: Removed again.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 05:39:22 +0000 (05:39 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/aix.em (OUTPUT_ARCH): Defined.
(gld${EMULATION_NAME}_before_parse): Initialize
ldfile_output_architecture, ldfile_output_machine and
ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 04:31:55 +0000 (04:31 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
Alan Modra [Fri, 25 May 2001 03:46:49 +0000 (03:46 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
undefined millicode syms in shared libs.
(hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.

23 years agoRevert last patch.
Alan Modra [Fri, 25 May 2001 01:59:43 +0000 (01:59 +0000)]
Revert last patch.

23 years ago * expr.c (expr): Set return value to absolute_section for
Alan Modra [Fri, 25 May 2001 00:01:30 +0000 (00:01 +0000)]
* expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.

23 years ago From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
Alan Modra [Thu, 24 May 2001 23:52:22 +0000 (23:52 +0000)]
From 2.11 branch 2001-03-30  Richard Henderson  <rth@redhat.com>
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.

23 years ago * symbols.c (resolve_symbol_value): Clear sy_resolving before
Alan Modra [Thu, 24 May 2001 23:44:06 +0000 (23:44 +0000)]
* symbols.c (resolve_symbol_value): Clear sy_resolving before
taking exit_dont_set_value.

23 years ago * write.c (relax_segment): Don't zap fr_symbol when relaxing.
Alan Modra [Thu, 24 May 2001 23:33:00 +0000 (23:33 +0000)]
* write.c (relax_segment): Don't zap fr_symbol when relaxing.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 22:01:25 +0000 (22:01 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* binutils-all/objdump.exp (cpus_expected): Add s390.

23 years agoFix for gas seg fault and neg line numbers
Tom Rix [Thu, 24 May 2001 21:39:09 +0000 (21:39 +0000)]
Fix for gas seg fault and neg line numbers

23 years agoSupport for xcoff64, enable ld for aix
Tom Rix [Thu, 24 May 2001 21:06:16 +0000 (21:06 +0000)]
Support for xcoff64, enable ld for aix

23 years agoSupport for xcoff64
Tom Rix [Thu, 24 May 2001 20:59:23 +0000 (20:59 +0000)]
Support for xcoff64

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 20:08:04 +0000 (20:08 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/m68k/pcrel.d: Support 64bit BFD.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 20:02:15 +0000 (20:02 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/arm/adrl.d: Support 64bit BFD.
* gas/arm/arm7t.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/pic.d: Likewise.
* gas/arm/xscale.d: Likewise.

23 years ago * write.c (write_object_file): Set finalize_syms = 1 before
Alan Modra [Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)]
* write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.

23 years ago* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
Alexandre Oliva [Thu, 24 May 2001 02:44:06 +0000 (02:44 +0000)]
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
variable to avoid non-portable shell construct.

23 years ago* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
Alexandre Oliva [Wed, 23 May 2001 23:56:22 +0000 (23:56 +0000)]
* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
s/ENTIRES/ENTRIES/.

23 years agoAdd MIPS ELF64 relocs
Nick Clifton [Wed, 23 May 2001 17:36:38 +0000 (17:36 +0000)]
Add MIPS ELF64 relocs

23 years agoAdd MIPS r12k support
Nick Clifton [Wed, 23 May 2001 17:26:40 +0000 (17:26 +0000)]
Add MIPS r12k support

23 years agoChange PLT code to avoid using r2 - it used by GCC to return large startures
Nick Clifton [Wed, 23 May 2001 16:38:36 +0000 (16:38 +0000)]
Change PLT code to avoid using r2 - it used by GCC to return large startures

23 years ago2001-05-23 John Healy <jhealy@redhat.com>
John Healy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years agoReplace sh_size/sh_entsize with NUM_SHDR_ENTRIES
Nick Clifton [Wed, 23 May 2001 08:23:27 +0000 (08:23 +0000)]
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES

23 years ago * gas/elf/ehopt0.d: Tweak for bigendian targets.
Alan Modra [Wed, 23 May 2001 05:33:31 +0000 (05:33 +0000)]
* gas/elf/ehopt0.d: Tweak for bigendian targets.

23 years agoMore whitespace fixes.
Alan Modra [Wed, 23 May 2001 03:25:03 +0000 (03:25 +0000)]
More whitespace fixes.

23 years ago * arc-opc.c: Whitespace changes.
Alan Modra [Wed, 23 May 2001 03:12:14 +0000 (03:12 +0000)]
* arc-opc.c: Whitespace changes.

23 years agoImprove Solaris compatability
Nick Clifton [Tue, 22 May 2001 14:00:18 +0000 (14:00 +0000)]
Improve Solaris compatability

23 years ago * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
Alan Modra [Tue, 22 May 2001 11:03:35 +0000 (11:03 +0000)]
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
Alexandre Oliva [Tue, 22 May 2001 10:40:29 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago * symbols.c (resolve_symbol_value): Remove "finalize" param,
Alan Modra [Tue, 22 May 2001 10:23:50 +0000 (10:23 +0000)]
* symbols.c (resolve_symbol_value): Remove "finalize" param,
instead use finalize_syms directly.  Don't treat expressions
specially with regard to finalize_syms.  Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise.  Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.

23 years ago * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
Alan Modra [Tue, 22 May 2001 09:01:55 +0000 (09:01 +0000)]
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.

23 years agoUpdate copyright date.
Alan Modra [Tue, 22 May 2001 08:41:10 +0000 (08:41 +0000)]
Update copyright date.

23 years ago * dwarf2.c (decode_line_info): Fix error message.
Andreas Jaeger [Mon, 21 May 2001 11:52:42 +0000 (11:52 +0000)]
* dwarf2.c (decode_line_info): Fix error message.
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Sun, 20 May 2001 19:02:56 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 16:15:42 +0000 (16:15 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Revert the last change.

* ld-elfvers/vers2.ver: Put back "tmpdir/" the version
references.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 16:06:43 +0000 (16:06 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Revert the last
change.

23 years ago * cris-opc.c (cris_spec_regs): Add missing initializer field for
Hans-Peter Nilsson [Fri, 18 May 2001 15:21:59 +0000 (15:21 +0000)]
* cris-opc.c (cris_spec_regs): Add missing initializer field for
last element.

23 years ago * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
Alan Modra [Fri, 18 May 2001 03:11:13 +0000 (03:11 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Temporarily set
ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
(hppa_build_one_stub): Add an assert to check plt.offset.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 01:25:34 +0000 (01:25 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".

* ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
definition.
* ld-elfvers/vers2.ver: Likewise.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers4a.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers7a.ver: Likewise.
* ld-elfvers/vers8.ver: Likewise.
* ld-elfvers/vers9.ver: Likewise.
* ld-elfvers/vers15.ver: Likewise.
* ld-elfvers/vers16a.ver: Likewise.
* ld-elfvers/vers17.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 01:20:02 +0000 (01:20 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 17 May 2001 19:08:46 +0000 (19:08 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
basename of the bfd filename.

23 years agoAdd a flag to asection, linker_has_input, and use it to reliably
Alan Modra [Thu, 17 May 2001 03:58:45 +0000 (03:58 +0000)]
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to
an output section.

23 years ago2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 16 May 2001 23:06:02 +0000 (23:06 +0000)]
2001-05-16  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
        howto entry is not found.

Fix for 105023-CR-1.

23 years agomerge from gcc
DJ Delorie [Wed, 16 May 2001 21:04:30 +0000 (21:04 +0000)]
merge from gcc

23 years ago * readelf.c (do_debug_frames_interp): New.
Richard Henderson [Wed, 16 May 2001 16:20:26 +0000 (16:20 +0000)]
    * readelf.c (do_debug_frames_interp): New.
        (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
        (byte_get_big_endian): Likewise.
        (parse_args) ['F']: Set do_debug_frames_interp.
        (Frame_Chunk): Make data_factor signed, add fde_encoding.
        (frame_display_row): Don't trunc pc_begin to int.
        (size_of_encoded_value): New.
        (display_debug_frames): Handle 64-bit targets.  Print raw data
        unless do_debug_frames_interp.
        (debug_displays): Remove duplicate .debug_frame.

23 years ago* gmon_io.c (gmon_io_read, gmon_io_write_vma,
Alexandre Oliva [Wed, 16 May 2001 05:26:57 +0000 (05:26 +0000)]
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
argument list for K&R C.

23 years ago* config/tc-mn10300.c (mn10300_force_relocation): Don't
Alexandre Oliva [Wed, 16 May 2001 01:48:51 +0000 (01:48 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Don't
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.

23 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't relax
Alexandre Oliva [Wed, 16 May 2001 01:48:13 +0000 (01:48 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.

23 years agoFix dwarf2_emit_insn calls when frag_var breaks things.
Alan Modra [Wed, 16 May 2001 01:08:21 +0000 (01:08 +0000)]
Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.

23 years ago* cgen disasm bug fix
Frank Ch. Eigler [Tue, 15 May 2001 18:10:05 +0000 (18:10 +0000)]
* cgen disasm bug fix

2001-05-15  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (extract_normal): Complete support for min<base case.

23 years agoRemove definition of EM_MIPS_RS4_BE. The constant was never in active use
Nick Clifton [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE.  The constant was never in active use
and is used otherwise by the ABI.

23 years agoFix MIPS disassembler so that it produces reassemblable code.
Nick Clifton [Tue, 15 May 2001 12:11:13 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.

23 years ago * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
Richard Henderson [Tue, 15 May 2001 06:10:43 +0000 (06:10 +0000)]
    * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
        last change.

23 years ago * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
Richard Henderson [Mon, 14 May 2001 22:37:47 +0000 (22:37 +0000)]
    * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
        also collect whether to expect an FDE augmentation.
        (check_eh_frame): Rewrite as a state machine.  Track where in
        an FDE we are located, skip any augmentation.
        (eh_frame_estimate_size_before_relax): Get code alignment from
        the fragment subtype.
        (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
        * read.c (emit_leb128_expr): Call check_eh_frame.

23 years ago * gas/elf/ehopt0.s: New.
Richard Henderson [Mon, 14 May 2001 22:37:31 +0000 (22:37 +0000)]
    * gas/elf/ehopt0.s: New.
        * gas/elf/ehopt0.d: New.
        * gas/elf/elf.exp: Run it.

23 years ago* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
Alexandre Oliva [Mon, 14 May 2001 20:01:12 +0000 (20:01 +0000)]
* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
before a relaxable insns.

23 years ago* ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
J.T. Conklin [Mon, 14 May 2001 17:20:13 +0000 (17:20 +0000)]
* ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
simplified mnemonics used for setting PPC750-specific special
purpose registers.

23 years ago* Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
DJ Delorie [Mon, 14 May 2001 16:55:23 +0000 (16:55 +0000)]
* Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
* Makefile.in: Ditto.

23 years ago2001-05-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 14 May 2001 16:40:49 +0000 (16:40 +0000)]
2001-05-14  H.J. Lu <hjl@gnu.org>

* config.if (libc_interface): Set to -libc6.2- for cross
compiling to Linux/glibc 2.2.

23 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
Alexandre Oliva [Sun, 13 May 2001 23:16:30 +0000 (23:16 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
between symbols if the base symbol is in the current section;
emit a PC-relative relocation instead.

23 years ago2001-05-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 12 May 2001 15:19:22 +0000 (15:19 +0000)]
2001-05-12  H.J. Lu  <hjl@gnu.org>

* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.

23 years agoPeter Targett's backwards compatibility and other arc fixes.
Alan Modra [Sat, 12 May 2001 15:14:53 +0000 (15:14 +0000)]
Peter Targett's backwards compatibility and other arc fixes.

23 years ago * i386-dis.c (twobyte_has_modrm): Update table.
Alan Modra [Sat, 12 May 2001 12:07:10 +0000 (12:07 +0000)]
* i386-dis.c (twobyte_has_modrm): Update table.
(need_modrm): Give it file scope.
(MODRM_CHECK): Define.
(dofloat): Use MODRM_CHECK.
(OP_E): Likewise.
(OP_EM): Likewise.
(OP_EX): Likewise.
and fix testsuite yet again now that we are getting correct disassembly.

23 years agoOops, wrong address for pmuludq insn.
Alan Modra [Sat, 12 May 2001 10:28:20 +0000 (10:28 +0000)]
Oops, wrong address for pmuludq insn.

23 years agoCorrect cvtps2dq, movdq2q, movq2dq, and movq problems.
Alan Modra [Sat, 12 May 2001 09:52:40 +0000 (09:52 +0000)]
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.

23 years agomerge from gcc
DJ Delorie [Fri, 11 May 2001 20:22:28 +0000 (20:22 +0000)]
merge from gcc

23 years ago * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
Jakub Jelinek [Fri, 11 May 2001 12:36:47 +0000 (12:36 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.

* readelf.c (process_unwind): Print all unwind sections, not just
one.

* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.

* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.

* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.

23 years ago * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
Jakub Jelinek [Fri, 11 May 2001 12:23:48 +0000 (12:23 +0000)]
* merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
fields, change sec into secinfo.
(struct sec_merge_info): Add chain, remove last fields.
(struct sec_merge_sec_info): Add next, sec, psecinfo fields.
(sec_merge_hash_lookup): If lookup could not use a string only
because it has bad alignment, mark the old string for deletion.
(sec_merge_add): Add secinfo argument. Don't compute entry's
position, instead record the section.
(sec_merge_emit): Update for the sec into secinfo change in
struct sec_merge_hash_entry.
(_bfd_merge_section): Only record the section for merging, defer
putting strings into the hash table.
(cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
_bfd_merge_sections): New functions.
(_bfd_merged_section_offset): Update for the sec_merge_hash_entry
changes.
* libbfd-in.h (_bfd_merge_sections): Add prototype.
(_bfd_nolink_bfd_merge_sections): Define.
* libbfd.h: Likewise.
(bfd_generic_merge_sections): Add prototype.
* targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
(struct bfd_target): Likewise.
* bfd.c (bfd_merge_sections): Define.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_merge_sections): New function.
* elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
* elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
* reloc.c (bfd_generic_merge_sections): New function.
* vms.c (vms_bfd_merge_sections): New function.
* aout-adobe.c (aout_32_bfd_merge_sections): Define.
* aout-target.h (MY_bfd_merge_sections): Define.
* aout-tic30.c (MY_bfd_merge_sections): Define.
* binary.c (binary_bfd_merge_sections): Define.
* bout.c (b_out_bfd_merge_sections): Define.
* coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
* coffcode.c (coff_bfd_merge_sections): Define.
* coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
* i386msdos.c (msdos_bfd_merge_sections): Define.
* i386os9k.c (os9k_bfd_merge_sections): Define.
* ieee.c (ieee_bfd_merge_sections): Define.
* ihex.c (ihex_bfd_merge_sections): Define.
* nlm-target.h (nlm_bfd_merge_sections): Define.
* oasys.c (oasys_bfd_merge_sections): Define.
* ppcboot.c (ppcboot_bfd_merge_sections): Define.
* som.c (som_bfd_merge_sections): Define.
* srec.c (srec_bfd_merge_sections): Define.
* tekhex.c (tekhex_bfd_merge_sections): Define.
* versados.c (versados_bfd_merge_sections): Define.
* xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.

* ldlang.c (lang_process): Call bfd_merge_sections.

23 years agoWhen truncating an aligned block, ensure that the low order bits of the
Nick Clifton [Fri, 11 May 2001 10:01:41 +0000 (10:01 +0000)]
When truncating an aligned block, ensure that the low order bits of the
alignment are preserved.

23 years agoChange type of 'addr' to be unsigned long, in order to match its use.
Nick Clifton [Fri, 11 May 2001 09:55:02 +0000 (09:55 +0000)]
Change type of 'addr' to be unsigned long, in order to match its use.

23 years ago2001-05-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 10 May 2001 22:59:29 +0000 (22:59 +0000)]
2001-05-10  H.J. Lu  <hjl@gnu.org>

* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.

23 years agoFix more fallout from multi-pass relaxation patch.
Alan Modra [Thu, 10 May 2001 11:32:52 +0000 (11:32 +0000)]
Fix more fallout from multi-pass relaxation patch.

23 years ago * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
Hans-Peter Nilsson [Thu, 10 May 2001 02:31:01 +0000 (02:31 +0000)]
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.