OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agodaily update
Alan Modra [Fri, 4 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-10-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 3 Oct 2002 23:56:24 +0000 (23:56 +0000)]
2002-10-03  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
        more compatible with non-embedded targets.
        * ld-mips-elf/branch-misc-2.d: Likewise.

        * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
        PIC tests.
        (elf): New variable, to control whether generic ELF tests are run.
        (embedded_elf): New variable, to control whether ELF tests
        requiring embedded PIC or embedded relocs are run.

21 years ago2002-10-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 3 Oct 2002 23:53:09 +0000 (23:53 +0000)]
2002-10-03  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-no-jalx.l: Make error message regexps accomodate
        tools which target a specific CPU by default.

21 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 3 Oct 2002 19:08:53 +0000 (19:08 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.

21 years ago * contig/tc-sh.c (sh_local_pcrel): New.
Kaz Kojima [Thu, 3 Oct 2002 04:58:28 +0000 (04:58 +0000)]
* contig/tc-sh.c (sh_local_pcrel): New.
(sh_force_relocation): Use sh_local_pcrel.
(md_pcrel_from_section): Check the relocation type whether it
should be resolved locally. Use S_FORCE_RELOC.
* testsuite/gas/sh/pcrel2.d: Check code also.

21 years ago* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*
Stephen Clarke [Thu, 3 Oct 2002 00:56:06 +0000 (00:56 +0000)]
* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*
symbol generation.
* gas/sh/sh64/ptc64-noexp-1.d: Likewise.

21 years agodaily update
Alan Modra [Thu, 3 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
Stephen Clarke [Wed, 2 Oct 2002 21:56:50 +0000 (21:56 +0000)]
* ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
ld-sh/sh64/gotplt.s: New test.

21 years ago* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
Stephen Clarke [Wed, 2 Oct 2002 21:53:40 +0000 (21:53 +0000)]
* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
(sh_elf_link_hash_newfunc): Initialize it.
(allocate_dynrelocs): Transfer gotplt refs from plt.refcount
to got.refcount for symbols that are forced local or when
we have direct got refs.
(sh_elf_gc_sweep_hook): Adjust gotplt_refcount.  Use it
to correctly adjust got.refcount and plt.refcount.
(sh_elf_copy_indirect_symbol): Copy gotplt_refcount across.
(sh_elf_check_relocs): Increment gotplt_refcount.

21 years ago* ld-sh/sh64/cmpct1.sd : Fix linked file name.
Stephen Clarke [Wed, 2 Oct 2002 21:19:59 +0000 (21:19 +0000)]
* ld-sh/sh64/cmpct1.sd : Fix linked file name.
* ld-sh/sh64/crange3.dd: Likewise.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 19:14:25 +0000 (19:14 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:29:04 +0000 (06:29 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:22:08 +0000 (06:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Remove material now in src-release.  (Finally!)
* Makefile.in: Regenerate.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:37:46 +0000 (05:37 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Restore my original patch by syncing with gcc version.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:22:11 +0000 (05:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Bring following over from gcc:

2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>

* configure.in (s390*-*-linux*): Enable libgcj.

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 04:40:23 +0000 (04:40 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Regenerate.  This really ought to fix things. :sigh:

21 years ago * configure: Move stray lines back to where they belong.
Alan Modra [Wed, 2 Oct 2002 03:47:32 +0000 (03:47 +0000)]
* configure: Move stray lines back to where they belong.

21 years ago * configure: Move stray line back to where it belongs.
Alan Modra [Wed, 2 Oct 2002 02:41:36 +0000 (02:41 +0000)]
* configure: Move stray line back to where it belongs.

21 years ago * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
Alan Modra [Wed, 2 Oct 2002 02:21:52 +0000 (02:21 +0000)]
* emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.

21 years agodaily update
Alan Modra [Wed, 2 Oct 2002 00:00:12 +0000 (00:00 +0000)]
daily update

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Insert configure-target target, for src-release.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:21:51 +0000 (23:21 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Finish reverting change which Andrew Cagney started
reverting.  Should fix bustage.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: New file.  Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.

21 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 10:43:37 +0000 (10:43 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Fix
movl foo@indntpoff, %eax IE->LE transition.
ld/testsuite/
* ld-i386/i386.exp: Add tlsindntpoff test.
* ld-i386/tlsindntpoff.s: New test.
* ld-i386/tlsindntpoff.dd: New test.

21 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 09:15:34 +0000 (09:15 +0000)]
bfd/
* elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
sequence and its transitions.
ld/testsuite/
* ld-x86-64/tlspic1.s: Change TLSGD sequences.
* ld-x86-64/tlsbinpic.s: Likewise.
* ld-x86-64/tlspic.dd: Adjust.

21 years agobfd/
Jakub Jelinek [Tue, 1 Oct 2002 09:10:46 +0000 (09:10 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32
to st_value + addend in non-code sections.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve
R_X86_64_DTPOFF32 to st_value + addend in non-code sections.

ld/testsuite/
* ld-i386/i386.exp: Add tlsg test.
* ld-i386/tlsg.s: New test.
* ld-i386/tlsg.sd: New test.
* ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-i386/tlsbinpic.s: Likewise.
* ld-x86-64/x86-64.exp: Add tlsg test.
* ld-x86-64/tlsg.s: New test.
* ld-x86-64/tlsg.sd: New test.
* ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-x86-64/tlsbinpic.s: Likewise.

21 years ago * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
Alan Modra [Tue, 1 Oct 2002 06:15:33 +0000 (06:15 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
(TC_FORCE_RELOCATION): Tidy arg.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 04:37:47 +0000 (04:37 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Undo the last change.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 03:27:56 +0000 (03:27 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 1 Oct 2002 00:12:26 +0000 (00:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the
rest of output.

21 years agodaily update
Alan Modra [Tue, 1 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 21:12:24 +0000 (21:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and
empic3_g2 on Linux/mips.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 20:59:11 +0000 (20:59 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.

21 years agoFix date in last commit.
Richard Sandiford [Mon, 30 Sep 2002 12:08:05 +0000 (12:08 +0000)]
Fix date in last commit.

21 years ago[gas/]
Richard Sandiford [Mon, 30 Sep 2002 12:04:54 +0000 (12:04 +0000)]
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.

21 years ago[include/opcode/]
Richard Sandiford [Mon, 30 Sep 2002 11:58:10 +0000 (11:58 +0000)]
[include/opcode/]
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.

[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.

21 years ago[include/elf]
Richard Sandiford [Mon, 30 Sep 2002 11:53:56 +0000 (11:53 +0000)]
[include/elf]
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.

[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.

21 years agoAdd cpu directory.
Nick Clifton [Mon, 30 Sep 2002 10:34:06 +0000 (10:34 +0000)]
Add cpu directory.

21 years ago * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
Alan Modra [Mon, 30 Sep 2002 09:31:31 +0000 (09:31 +0000)]
* scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.

21 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Sep 2002 06:32:00 +0000 (06:32 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (md_apply_fix3): Subtract the symbol value
twice if howto->pcrel_offset is true.

21 years ago * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
Alan Modra [Mon, 30 Sep 2002 05:54:51 +0000 (05:54 +0000)]
* ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.

21 years ago * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
Alan Modra [Mon, 30 Sep 2002 05:25:20 +0000 (05:25 +0000)]
* ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
* ld-powerpc/powerpc.exp: New.

21 years agoNo need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.
H.J. Lu [Mon, 30 Sep 2002 04:23:40 +0000 (04:23 +0000)]
No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.

21 years ago * ld-i386/reloc.s, ld-i386/reloc.d: New.
Alan Modra [Mon, 30 Sep 2002 03:35:18 +0000 (03:35 +0000)]
* ld-i386/reloc.s, ld-i386/reloc.d: New.
* ld-i386/i386.exp: Run new test.

21 years ago * emultempl/elf32.em (output_rel_find): Always place orphan loadable
Alan Modra [Mon, 30 Sep 2002 03:34:46 +0000 (03:34 +0000)]
* emultempl/elf32.em (output_rel_find): Always place orphan loadable
reloc sections just before .rel.plt/.rela.plt.
(gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
Only put loadable reloc sections in hold_rel.

21 years agodaily update
Alan Modra [Mon, 30 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 29 Sep 2002 23:59:49 +0000 (23:59 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
* ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.

21 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 29 Sep 2002 17:19:28 +0000 (17:19 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.

21 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 16:12:36 +0000 (16:12 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Revert accidentally applied changes.

21 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 15:59:34 +0000 (15:59 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.

2002-09-28  Richard Earnshaw  <rearnsha@arm.com>

* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

21 years agodaily update
Alan Modra [Sun, 29 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
Jason Thorpe [Sat, 28 Sep 2002 23:15:50 +0000 (23:15 +0000)]
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
.got sections.

21 years ago* config/tc-vax.c (md_estimate_size_before_relax): Only try to
Jason Thorpe [Sat, 28 Sep 2002 20:01:43 +0000 (20:01 +0000)]
* config/tc-vax.c (md_estimate_size_before_relax): Only try to
convert undefined references to GOT32/PLT32 if PIC code is
requested.  Fix comment.

21 years ago * elf.c (map_sections_to_segments): Correct test for start of
Alan Modra [Sat, 28 Sep 2002 03:25:56 +0000 (03:25 +0000)]
* elf.c (map_sections_to_segments): Correct test for start of
writable section in the same page as end of read-only section.

21 years ago * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
Geoffrey Keating [Sat, 28 Sep 2002 01:44:34 +0000 (01:44 +0000)]
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
things that depend on them.

21 years ago2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
Daniel Jacobowitz [Sat, 28 Sep 2002 00:41:27 +0000 (00:41 +0000)]
2002-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

        * config/tc-sh.c (sh_force_relocation): Return 0 for
        some PC relative relocations when not relaxing.
        * testsuite/gas/sh/pcrel2.s: New.
        * testsuite/gas/sh/pcrel2.d: New.
        * testsuite/gas/sh/basic.exp: Add pcrel2 test.

21 years agodaily update
Alan Modra [Sat, 28 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* gas/vax/elf-rel.[ds]: New test.
Jason Thorpe [Fri, 27 Sep 2002 23:36:01 +0000 (23:36 +0000)]
* gas/vax/elf-rel.[ds]: New test.
* gas/vax/quad.exp: Move contents to...
* gas/vax/vax.exp: ...here.  New file.

21 years ago* elf32-vax.c (elf_vax_check_relocs): Remove unused
Jason Thorpe [Fri, 27 Sep 2002 22:28:17 +0000 (22:28 +0000)]
* elf32-vax.c (elf_vax_check_relocs): Remove unused
local_got_refcounts usage.  Remove allocation of got slot.
(elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
Remove de-allocation of got slot.
(elf_vax_size_dynamic_section): Fix some indentation.  Add hash
traversal for elf_vax_instantiate_got_entries.  Allow empty .got
sections to be GC'ed.
(elf_vax_instantiate_got_entries): New function.
(elf_vax_relocate_section): Simplify R_VAX_GOT32 handling.  Remove
tests that are now handled by elf_vax_instantiate_got_entries.
Assert GOT entry falls within .got section size.  Remove redundant
comparisions.  Fix comments.

21 years agobfd/
Jakub Jelinek [Fri, 27 Sep 2002 19:29:18 +0000 (19:29 +0000)]
bfd/
* reloc.c: Add x86-64 TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
relocs.  Add TLS relocs.
(x86_64_reloc_map): Add TLS relocs.
(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
(struct elf64_x86_64_link_hash_entry): Add tls_type field.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
(elf64_x86_64_hash_entry): Define.
(struct elf64_x86_64_obj_tdata): New.
(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
(link_hash_newfunc): Initialize tls_type.
(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
(elf64_x86_64_mkobject): New.
(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
(elf64_x86_64_tls_transition): New.
(elf64_x86_64_check_relocs): Add r_type variable and use it.
Handle TLS relocs.
(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
(allocate_dynrelocs): Allocate GOT space for TLS relocs.
(elf64_x86_64_size_dynamic_sections): Likewise.
(dtpoff_base, tpoff): New.
(elf64_x86_64_relocate_section): Handle TLS relocs.
(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
entries.
(bfd_elf64_mkobject): Define.

* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
DF_STATIC_TLS if shared.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
Define them if not BFD_ASSEMBLER.
(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
@tlsld.
(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Add.
* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
file_contents): Remove.
(sh64tests): Add 6th field to the tests array.
* ld-i386/i386.exp (run_ld_link_tests): Remove.
* ld-x86-64/x86-64.exp: New.
* ld-x86-64/tlsbin.dd: New test.
* ld-x86-64/tlsbinpic.s: New test.
* ld-x86-64/tlsbin.rd: New test.
* ld-x86-64/tlsbin.s: New test.
* ld-x86-64/tlsbin.sd: New test.
* ld-x86-64/tlsbin.td: New test.
* ld-x86-64/tlslib.s: New test.
* ld-x86-64/tlspic1.s: New test.
* ld-x86-64/tlspic2.s: New test.
* ld-x86-64/tlspic.dd: New test.
* ld-x86-64/tlspic.rd: New test.
* ld-x86-64/tlspic.sd: New test.
* ld-x86-64/tlspic.td: New test.

21 years ago2002-09-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 27 Sep 2002 14:53:16 +0000 (14:53 +0000)]
2002-09-27  H.J. Lu <hjl@gnu.org>

* gas/mips/mips-jalx.s: Add ".p2align 4".
* gas/mips/mips16-jalx.s: Likewise.

* gas/mips/mips-jalx.d: Check nop.
* gas/mips/mips16-jalx.d: Likewise.

21 years ago * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
Alan Modra [Fri, 27 Sep 2002 04:38:47 +0000 (04:38 +0000)]
* config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
fixups to current or absolute section.

21 years agodaily update
Alan Modra [Fri, 27 Sep 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years agoFix v850 .offset pseudo-op
Jim Wilson [Thu, 26 Sep 2002 22:04:19 +0000 (22:04 +0000)]
Fix v850 .offset pseudo-op
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
and frag_more.

21 years ago2002-09-26 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 26 Sep 2002 19:40:29 +0000 (19:40 +0000)]
2002-09-26  Andrew Cagney  <ac131313@redhat.com>

* regs/: Delete directory.

21 years ago /gas/ChangeLog
Thiemo Seufer [Thu, 26 Sep 2002 09:56:35 +0000 (09:56 +0000)]
/gas/ChangeLog
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
capable configuration.
(macro_build): Check for MIPS16 capability, not for actual MIPS16 code
generation.
(mips_ip): Likewise.

/gas/testsuite/ChangeLog
* gas/mips/mips-jalx.d: New file, check jalx assembly.
* gas/mips/mips-jalx.s: Likewise.
* gas/mips/mips-no-jalx.l: Likewise.
* gas/mips/mips-no-jalx.s: Likewise.
* gas/mips/mips16-jalx.d: Likewise.
* gas/mips/mips16-jalx.s: Likewise.
* gas/mips/mips.exp: Add new tests.

/opcodes/ChangeLog:
* mips-dis.c (print_insn_mips): Always allow disassembly of
32-bit jalx opcode.

21 years ago * elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded
Thiemo Seufer [Thu, 26 Sep 2002 09:10:57 +0000 (09:10 +0000)]
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded
empty relocation sections.

21 years ago * config/tc-mips.c (append_insn): Fix jump overflow check.
Thiemo Seufer [Thu, 26 Sep 2002 09:00:08 +0000 (09:00 +0000)]
* config/tc-mips.c (append_insn): Fix jump overflow check.
* gas/mips/jal-range.s: Fix jump overflow check.
* gas/mips/jal-range.l: Likewise.

21 years ago * elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here.
Alan Modra [Thu, 26 Sep 2002 05:19:38 +0000 (05:19 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here.
(ppc64_elf_build_stubs): Build them here instead.

21 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 26 Sep 2002 04:25:16 +0000 (04:25 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
* configure: Make seds more autoconfy.

21 years agodaily update
Alan Modra [Thu, 26 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 25 Sep 2002 17:25:27 +0000 (17:25 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Rewrite substituted lines to look autoconfy.
* Makefile.in: Regenerate.
* configure.in: Rewrite sed statements to look autoconfy.

21 years ago From "Anita Kulkarni" <AnitaK@kpit.com>
Daniel Jacobowitz [Wed, 25 Sep 2002 17:06:09 +0000 (17:06 +0000)]
    From "Anita Kulkarni" <AnitaK@kpit.com>
        * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
        sections.

21 years agoReally rebuild it this time. :sigh:
Nathanael Nerode [Wed, 25 Sep 2002 16:56:04 +0000 (16:56 +0000)]
Really rebuild it this time. :sigh:

21 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 25 Sep 2002 16:53:08 +0000 (16:53 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
* Makefile.tpl: Autogenerate *-target-* lists, dependencies of
all-target-foo on configure-target-foo.
* Makefile.def: Ditto.
* Makefile.in: Rebuild.

21 years ago * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
Alan Modra [Wed, 25 Sep 2002 07:21:08 +0000 (07:21 +0000)]
* genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
TARGET_PAGE_SIZE.
* scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
SEGMENT_SIZE alignment.
* emulparams/elf64ppc.sh (DATA_ADDR): Delete.
(SEGMENT_SIZE): Define.

21 years ago * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
Alan Modra [Wed, 25 Sep 2002 02:42:13 +0000 (02:42 +0000)]
* ldexp.c (fold_unary): New.  Split out from exp_fold_tree.
(fold_binary): Correct abs - non-abs case.
(fold_trinary): New.  Split out from exp_fold_tree.

21 years agodaily update
Alan Modra [Wed, 25 Sep 2002 00:00:09 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 24 Sep 2002 23:01:30 +0000 (23:01 +0000)]
2002-09-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: New file.
* Makefile.tpl: New file.
* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.

* configure.in: Minor rearrangement.  Simplify tests.

21 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE
Jakub Jelinek [Tue, 24 Sep 2002 15:54:22 +0000 (15:54 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE
addend into r_addend, not *r_offset.
(elf32_sparc_finish_dynamic_symbol): Likewise.
* elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at
R_SPARC_RELATIVE's r_offset.

21 years agoUpdated German translation.
Nick Clifton [Tue, 24 Sep 2002 13:00:33 +0000 (13:00 +0000)]
Updated German translation.

21 years agoFix typo introduced with previous delta.
Nick Clifton [Tue, 24 Sep 2002 07:11:16 +0000 (07:11 +0000)]
Fix typo introduced with previous delta.

21 years ago * emulparams/elf64ppc.sh (DATA_ADDR): Define.
Alan Modra [Tue, 24 Sep 2002 04:02:03 +0000 (04:02 +0000)]
* emulparams/elf64ppc.sh (DATA_ADDR): Define.
* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
for start of .data, instead align up to 256M boundary.
* scripttempl/aix.sc: Likewise.

21 years ago * config/tc-i386.c (process_operands): Warn about "lea" segment
Alan Modra [Tue, 24 Sep 2002 01:46:42 +0000 (01:46 +0000)]
* config/tc-i386.c (process_operands): Warn about "lea" segment
overrides.

21 years agodaily update
Alan Modra [Tue, 24 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* configure.in (with_headers): Skip copy if value is "yes".
Jason Thorpe [Mon, 23 Sep 2002 23:36:54 +0000 (23:36 +0000)]
* configure.in (with_headers): Skip copy if value is "yes".
(with_libs): Likewise.

21 years agoAdd missing ChangeLog entry
Daniel Jacobowitz [Mon, 23 Sep 2002 21:29:27 +0000 (21:29 +0000)]
Add missing ChangeLog entry

21 years agoAdd LDM and STM instructions which are unpredictable because of their use of
Nick Clifton [Mon, 23 Sep 2002 16:46:33 +0000 (16:46 +0000)]
Add LDM and STM instructions which are unpredictable because of their use of
the writeback bit.

21 years agoUpdate to correctly decode (non-standard DWARF2) out-of-order address sequences.
Nick Clifton [Mon, 23 Sep 2002 16:13:52 +0000 (16:13 +0000)]
Update to correctly decode (non-standard DWARF2) out-of-order address sequences.

21 years agomerge from gcc
DJ Delorie [Mon, 23 Sep 2002 12:08:57 +0000 (12:08 +0000)]
merge from gcc

21 years ago* config.bfd: For DJGPP targets, match with any cpu and any machine.
DJ Delorie [Mon, 23 Sep 2002 11:59:34 +0000 (11:59 +0000)]
* config.bfd: For DJGPP targets, match with any cpu and any machine.

21 years ago* write.c: Delete set_segment_vma and prototype. Update all callers.
DJ Delorie [Mon, 23 Sep 2002 11:58:00 +0000 (11:58 +0000)]
* write.c: Delete set_segment_vma and prototype. Update all callers.

21 years ago* scripttempl/i386go32.sc: Handle bss unique sections.
DJ Delorie [Mon, 23 Sep 2002 11:36:15 +0000 (11:36 +0000)]
* scripttempl/i386go32.sc: Handle bss unique sections.

21 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs
Alan Modra [Mon, 23 Sep 2002 10:52:03 +0000 (10:52 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs
for discarded FDEs.  Remove redundant assignment.
* elflink.h (elf_bfd_discard_info): Save edited relocs.

21 years agodaily update
Alan Modra [Mon, 23 Sep 2002 00:00:09 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 22 Sep 2002 22:32:49 +0000 (22:32 +0000)]
2002-09-22  H.J. Lu <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge
the relocation count between different .reloc sections.

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

21 years ago2002-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sat, 21 Sep 2002 16:35:47 +0000 (16:35 +0000)]
2002-09-20  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs.
* configure.in (sh*-*-pe*): Ditto.
* configure.in (mips*-*-pe*): Ditto.
* configure.in (*arm-wince-pe): Ditto.

21 years ago * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
Alan Modra [Sat, 21 Sep 2002 14:14:25 +0000 (14:14 +0000)]
* ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.