OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 2 Jun 2001 19:42:40 +0000 (19:42 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* aout-cris.c (MACHTYPE_OK): New. Defined.

23 years ago * section.c (_bfd_strip_section_from_output): Handle NULL
Hans-Peter Nilsson [Sat, 2 Jun 2001 19:05:34 +0000 (19:05 +0000)]
* section.c (_bfd_strip_section_from_output): Handle NULL
output_section.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 2 Jun 2001 18:46:14 +0000 (18:46 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* gas/sparc/unalign.d: Support Sparc V9.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 2 Jun 2001 17:32:09 +0000 (17:32 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add
rs6000coff64_vec only if BFD64 is defined.
(powerpc64-*-aix*): Enable only if BFD64 is defined.

23 years ago2001-06-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 2 Jun 2001 15:46:43 +0000 (15:46 +0000)]
2001-06-02  H.J. Lu  <hjl@gnu.org>

* coff-ia64.c (ia64coff_object_p): Rewrite with
external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
Andreas Jaeger [Fri, 1 Jun 2001 11:52:11 +0000 (11:52 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
relocation, small reformatting.

23 years ago* MAINTAINERS: Update my email address.
Alan Modra [Fri, 1 Jun 2001 04:21:57 +0000 (04:21 +0000)]
* MAINTAINERS: Update my email address.

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

* ldlang.c (open_input_bfds): Don't change the bfd error
handler whilst loading symbols.

23 years ago * read.c (emit_leb128_expr): Call md_cons_align.
Richard Henderson [Thu, 31 May 2001 00:00:30 +0000 (00:00 +0000)]
    * read.c (emit_leb128_expr): Call md_cons_align.

23 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
Andreas Jaeger [Wed, 30 May 2001 18:44:46 +0000 (18:44 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
(elf64_x86_64_relocate_section): Likewise.

23 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
Alan Modra [Wed, 30 May 2001 14:30:33 +0000 (14:30 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
millicode.  Don't allocate .got and .rela.got space here..
(elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rela.plt here..
(hppa_handle_PIC_calls): ..nor here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf32_hppa_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .got if not dynamic.
(elf32_hppa_final_link): Call regular bfd_final_link instead of
gc_common_final_link.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf32_hppa_relocate_section): Use it here.
(elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
dynamic_sections_created.
(hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.

23 years agoAdd command line switches to objcopy to provide lists of symbols in files
Nick Clifton [Wed, 30 May 2001 10:46:28 +0000 (10:46 +0000)]
Add command line switches to objcopy to provide lists of symbols in files

23 years agoformatting change
Tom Rix [Tue, 29 May 2001 14:53:22 +0000 (14:53 +0000)]
formatting change

23 years ago* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
Alexandre Oliva [Mon, 28 May 2001 21:05:35 +0000 (21:05 +0000)]
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

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.