OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agoTreat elfNN_bed like other macros defined in elfxx-target.h and #undef it
Nick Clifton [Mon, 20 Jan 2003 18:06:21 +0000 (18:06 +0000)]
Treat elfNN_bed like other macros defined in elfxx-target.h and #undef it
before #define'ing it.

21 years ago * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
Alan Modra [Mon, 20 Jan 2003 12:57:59 +0000 (12:57 +0000)]
* ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.

21 years ago * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
Martin Schwidefsky [Mon, 20 Jan 2003 11:51:38 +0000 (11:51 +0000)]
* s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
gotplt and pltoff relocations.

21 years ago * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
Martin Schwidefsky [Mon, 20 Jan 2003 11:50:38 +0000 (11:50 +0000)]
* gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
relocations.
* gas/s390/reloc.s: Likewise.
* gas/s390/reloc64.d: Likewise.
* gas/s390/reloc64.s: Likewise.

21 years ago * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
Martin Schwidefsky [Mon, 20 Jan 2003 11:48:32 +0000 (11:48 +0000)]
* config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
gotplt and pltoff relocations.
(s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
(s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
gotplt and pltoff to bfd relocations.
(md_gather_operands): Map new instruction operand/elf suffix
combinations to bfd relocations.
(tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
to the list of unadjustable relocations.
(tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
and pltoff relocations.
(md_apply_fix3): Add the new relocations.

21 years ago * bfd-in2.h: Regenerate.
Martin Schwidefsky [Mon, 20 Jan 2003 11:46:33 +0000 (11:46 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.

21 years ago * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
Martin Schwidefsky [Mon, 20 Jan 2003 10:22:26 +0000 (10:22 +0000)]
    * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
        with a subsy symbol.

21 years ago * configure.in: Add missing \.
Nathanael Nerode [Sun, 19 Jan 2003 23:45:39 +0000 (23:45 +0000)]
* configure.in: Add missing \.
* configure: Rebuilt.

21 years agodaily update
Alan Modra [Sat, 18 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
Richard Henderson [Fri, 17 Jan 2003 23:43:20 +0000 (23:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
        PAL entry points.

21 years ago * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
Jakub Jelinek [Fri, 17 Jan 2003 23:27:57 +0000 (23:27 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
R_IA64_TPREL64[LM]SB against non-global symbol properly.

* ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
* ld-ia64/tlspic.rd: Adjust.
* ld-ia64/tlspic.dd: Adjust.
* ld-ia64/tlspic.sd: Adjust.

21 years agodaily update
Alan Modra [Fri, 17 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
Stephane Carrez [Fri, 17 Jan 2003 22:51:28 +0000 (22:51 +0000)]
* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
of relocs for memory bank addressing.

21 years ago * config/tc-m68hc11.c (md_show_usage): Update usage.
Stephane Carrez [Fri, 17 Jan 2003 22:29:54 +0000 (22:29 +0000)]
* config/tc-m68hc11.c (md_show_usage): Update usage.
(md_parse_option): Recognize -m68hcs12.
(m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
HCS12.
* doc/as.texinfo (Overview): Document new option -m68hcs12.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
Andreas Jaeger [Fri, 17 Jan 2003 10:36:49 +0000 (10:36 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
skip ':'.

21 years ago * configure.in (baseargs): Avoid using \| in sed regular
Jakub Jelinek [Fri, 17 Jan 2003 08:00:16 +0000 (08:00 +0000)]
* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.

21 years ago * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
Alan Modra [Fri, 17 Jan 2003 01:34:01 +0000 (01:34 +0000)]
* readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
and ELFOSABI_NSK.

21 years agomissed changelog entry
Alan Modra [Fri, 17 Jan 2003 01:33:13 +0000 (01:33 +0000)]
missed changelog entry

21 years ago * common.h: Formatting, typo fixes.
Alan Modra [Fri, 17 Jan 2003 01:32:46 +0000 (01:32 +0000)]
* common.h: Formatting, typo fixes.
(DT_ENCODING): Correct value.

* common.h (ELFOSABI_AROS): Define.
(ELFOSABI_OPENVMS): Likewise.
(ELFOSABI_NSK): Likewise.

21 years agodaily update
Alan Modra [Thu, 16 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
Jakub Jelinek [Thu, 16 Jan 2003 21:31:18 +0000 (21:31 +0000)]
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
self_dtpmod_done and self_dtpmod_offset.
(allocate_global_data_got): Only use one got entry for all
dtpmod relocs against local symbols.
(allocate_dynrel_entries): Only need .rela.got entry for
dtpmod against global symbol.
(elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset.
Reserve space in .rela.got for the local dtpmod entry.
(set_got_entry): Initialize the common local dtpmod .got entry.
(elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB
and R_IA_64_DTPREL64MSB.

* config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.

* ld-ia64/ia64.exp: New.
* ld-ia64/tlsbin.dd: New test.
* ld-ia64/tlsbinpic.s: New test.
* ld-ia64/tlsbin.rd: New test.
* ld-ia64/tlsbin.s: New test.
* ld-ia64/tlsbin.sd: New test.
* ld-ia64/tlsbin.td: New test.
* ld-ia64/tlsg.s: New test.
* ld-ia64/tlsg.sd: New test.
* ld-ia64/tlslib.s: New test.
* ld-ia64/tlspic1.s: New test.
* ld-ia64/tlspic2.s: New test.
* ld-ia64/tlspic.dd: New test.
* ld-ia64/tlspic.rd: New test.
* ld-ia64/tlspic.sd: New test.
* ld-ia64/tlspic.td: New test.

21 years ago * configure.in (baseargs): Remove all supported forms of
Jakub Jelinek [Thu, 16 Jan 2003 16:27:51 +0000 (16:27 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

21 years ago * Makefile.in: Regenerate.
Alan Modra [Thu, 16 Jan 2003 04:11:53 +0000 (04:11 +0000)]
* Makefile.in: Regenerate.

21 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 16 Jan 2003 04:11:36 +0000 (04:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

21 years ago * readelf.c: Include elf/ppc64.h.
Alan Modra [Thu, 16 Jan 2003 04:10:23 +0000 (04:10 +0000)]
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

21 years ago * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
Alan Modra [Thu, 16 Jan 2003 04:09:37 +0000 (04:09 +0000)]
* elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
(R_PPC_*): Rename all occurrences to R_PPC64_*.
(R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30.
(enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type.
(ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other
relative relocs, not with absolute ones.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * ppc.h: Split out ppc64 definitions to..
Alan Modra [Thu, 16 Jan 2003 04:08:47 +0000 (04:08 +0000)]
* ppc.h: Split out ppc64 definitions to..
* pcc64.h: ..here.  New file.
(R_PPC64_REL30): Rename from R_PPC64_ADDR30.

21 years agodaily update
Alan Modra [Wed, 15 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
Andreas Schwab [Wed, 15 Jan 2003 15:54:51 +0000 (15:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
relocation against a non-allocated readonly section.

21 years ago* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
Alexandre Oliva [Wed, 15 Jan 2003 11:24:47 +0000 (11:24 +0000)]
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

21 years agodaily update
Alan Modra [Tue, 14 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago(node WIN32): Some clarifications and formatting fixups.
Nick Clifton [Tue, 14 Jan 2003 11:25:58 +0000 (11:25 +0000)]
(node WIN32): Some clarifications and formatting fixups.

21 years agodaily update
Alan Modra [Mon, 13 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agoChange EM_MSP430 value to new, officially assigned number.
Nick Clifton [Mon, 13 Jan 2003 16:37:47 +0000 (16:37 +0000)]
Change EM_MSP430 value to new, officially assigned number.

21 years agodaily update
Alan Modra [Sun, 12 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sat, 11 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * read.c (get_absolute_expr): New, split out from..
Alan Modra [Sat, 11 Jan 2003 06:24:12 +0000 (06:24 +0000)]
* read.c (get_absolute_expr): New, split out from..
(get_absolute_expression): ..here.
* read.h (get_absolute_expr): Declare.
* config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
Trim size to arch bits_per_address, and test for negative input
via get_absolute_expr.

21 years agodaily update
Alan Modra [Fri, 10 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
Nathanael Nerode [Fri, 10 Jan 2003 21:43:31 +0000 (21:43 +0000)]
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
* Makefile.in: Regenerate.
* configure: Regenerate.

21 years agomerge from gcc
DJ Delorie [Fri, 10 Jan 2003 03:27:26 +0000 (03:27 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Thu, 9 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
Alan Modra [Thu, 9 Jan 2003 22:51:37 +0000 (22:51 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.  PLTGOT16_HA too.

21 years ago2003-01-09 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 9 Jan 2003 21:26:53 +0000 (21:26 +0000)]
2003-01-09  Chris Demetriou  <cgd@broadcom.com>

        * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
        order, and handle (ignore) -mips32r2.

21 years ago* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
DJ Delorie [Thu, 9 Jan 2003 20:50:25 +0000 (20:50 +0000)]
* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.

21 years ago* configure.in: Remove Makefile in build, host and target modules
Alexandre Oliva [Thu, 9 Jan 2003 20:45:29 +0000 (20:45 +0000)]
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

21 years ago * ldmain.c (main): Make sure ld_sysroot is initialized.
Daniel Jacobowitz [Thu, 9 Jan 2003 16:40:14 +0000 (16:40 +0000)]
* ldmain.c (main): Make sure ld_sysroot is initialized.

21 years agomerge from gcc
DJ Delorie [Thu, 9 Jan 2003 14:39:43 +0000 (14:39 +0000)]
merge from gcc

21 years ago2002-01-08 Klee Dienes <kdienes@apple.com>
Klee Dienes [Thu, 9 Jan 2003 08:35:28 +0000 (08:35 +0000)]
2002-01-08  Klee Dienes  <kdienes@apple.com>

        * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c.
        (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c.
        * Makefile.in: Regenerate.

21 years ago2003-01-08 Klee Dienes <kdienes@apple.com>
Klee Dienes [Thu, 9 Jan 2003 08:32:26 +0000 (08:32 +0000)]
2003-01-08  Klee Dienes  <kdienes@apple.com>

        * Makefile.am (ALL_MACHINES): Add msp430-dis.lo.
        * Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Wed, 8 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago[ ChangeLog ]
Chris Demetriou [Wed, 8 Jan 2003 22:09:30 +0000 (22:09 +0000)]
[ ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ dejagnu/ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ readline/ChangeLog.gdb ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

21 years ago* elfn32-mips.c (prev_reloc_section): New.
Alexandre Oliva [Wed, 8 Jan 2003 22:00:53 +0000 (22:00 +0000)]
* elfn32-mips.c (prev_reloc_section): New.
(GET_RELOC_ADDEND): Use it.  Parenthesize macro arguments.
(SET_RELOC_ADDEND): Parenthesize macro argument.

21 years ago2003-01-07 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 8 Jan 2003 07:36:47 +0000 (07:36 +0000)]
2003-01-07  Chris Demetriou  <cgd@broadcom.com>

        * mips.h: Fix missing space in comment.
        (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5)
        (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right
        by four bits.

21 years ago * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
Alan Modra [Wed, 8 Jan 2003 02:55:52 +0000 (02:55 +0000)]
* ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.

21 years ago * elf32-hppa.c (final_link_relocate): For all DP relative relocations,
Dave Anglin [Wed, 8 Jan 2003 02:19:23 +0000 (02:19 +0000)]
* elf32-hppa.c (final_link_relocate): For all DP relative relocations,
adjust addil instructions if the symbol has no section.

21 years ago* configure: Regenerate with proper autoconf 2.13.
Christopher Faylor [Wed, 8 Jan 2003 01:19:55 +0000 (01:19 +0000)]
* configure: Regenerate with proper autoconf 2.13.

21 years agodaily update
Alan Modra [Tue, 7 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* configure.in: Add AC_PREREQ for consistency.
Christopher Faylor [Tue, 7 Jan 2003 21:58:19 +0000 (21:58 +0000)]
* configure.in: Add AC_PREREQ for consistency.
* configure: Regenerate.

21 years ago* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
DJ Delorie [Tue, 7 Jan 2003 21:27:58 +0000 (21:27 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
on operand type.
(xstormy16_md_apply_fix3): Use adjustment.

21 years ago* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.
DJ Delorie [Tue, 7 Jan 2003 21:26:29 +0000 (21:26 +0000)]
* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.

21 years ago* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not
DJ Delorie [Tue, 7 Jan 2003 21:26:13 +0000 (21:26 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not
partial_inplace.

21 years ago * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for
Andreas Schwab [Tue, 7 Jan 2003 13:12:35 +0000 (13:12 +0000)]
* elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for
PC relative relocations.
(elf_m68k_discard_copies): Set it here instead.

21 years agodaily update
Alan Modra [Mon, 6 Jan 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 6 Jan 2003 18:36:08 +0000 (18:36 +0000)]
2003-01-06  Andrew Cagney  <ac131313@redhat.com>

* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.

21 years ago * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
Daniel Jacobowitz [Mon, 6 Jan 2003 16:14:01 +0000 (16:14 +0000)]
* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.

* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
(GENSCRIPTS): Add @use_sysroot@.
* Makefile.in: Regenerated.
* configure.host: Move setting of NATIVE_LIB_DIRS to...
* configure.tgt: ... here.  Use ${target} instead of ${host}
for NATIVE_LIB_DIRS.
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* genscripts.sh: Accept use_sysroot option.  Set new variables
NATIVE and USE_LIBPATH.  Prepend "=" to directory names if
$use_sysroot.  Don't search $tool_lib if $use_sysroot.
* ldfile.c (ldfile_add_library_path): Handle leading '='.
* ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
(ld_sysroot): New variable.
(main): Initialize ld_sysroot.
* ldmain.h (ld_sysroot): New extern.
* emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
searching $EMULATION_LIBPATH.
(gld${EMULATION_NAME}_add_sysroot): New function.
(gld${EMULATION_NAME}_check_ld_so_conf): Use it.  Honor ld_sysroot.
(gld${EMULATION_NAME}_after_open): Likewise.  Only search
environment variables if $NATIVE.
* ld.texinfo (Options): Mention "=" prefix in the description of -L.
* NEWS: Mention --with-sysroot.

* emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
instead of setting LIB_PATH.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.

* emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
* emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.

21 years agodaily update
Alan Modra [Sun, 5 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
Christopher Faylor [Sun, 5 Jan 2003 03:04:10 +0000 (03:04 +0000)]
* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.

21 years agodaily update
Alan Modra [Sat, 4 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * configure.in (LD): Improve test for gcc. Try to set LD to the ld used
Dave Anglin [Sat, 4 Jan 2003 22:36:41 +0000 (22:36 +0000)]
* configure.in (LD): Improve test for gcc.  Try to set LD to the ld used
by gcc if LD is not defined and we are not doing a Canadian Cross.
* configure: Rebuilt.

21 years ago * Makefile.am (ldmain.o): Pass BINDIR.
Daniel Jacobowitz [Sat, 4 Jan 2003 20:40:28 +0000 (20:40 +0000)]
* Makefile.am (ldmain.o): Pass BINDIR.
* Makefile.in: Regenerated.
* ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
search path.

21 years ago * readelf.c (guess_is_rela): Handle EM_IQ2000.
Stan Cox [Sat, 4 Jan 2003 02:13:46 +0000 (02:13 +0000)]
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.

21 years ago * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
Stan Cox [Sat, 4 Jan 2003 02:04:44 +0000 (02:04 +0000)]
* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
(eelf32iq2000.c): New target.
* Makefile.in: Regenerate.
* configure.tgt: Handle iq2000-*-elf.
* emulparams/elf32iq10.sh: New file.
* emulparams/elf32iq2000.sh: New file.
* scripttempl/iq2000.sc: New file.

21 years agodaily update
Alan Modra [Fri, 3 Jan 2003 23:00:34 +0000 (23:00 +0000)]
daily update

21 years ago * configure.in: Add iq2000-elf target.
Stan Cox [Fri, 3 Jan 2003 21:47:21 +0000 (21:47 +0000)]
* configure.in: Add iq2000-elf target.
* configure: Regenerate.
* config/tc-iq2000.c: New file.
* config/tc-iq2000.h: Likewise.

21 years ago * gas/iq2000: New testsuite.
Stan Cox [Fri, 3 Jan 2003 21:38:50 +0000 (21:38 +0000)]
* gas/iq2000: New testsuite.

21 years ago * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.
Stan Cox [Fri, 3 Jan 2003 21:12:28 +0000 (21:12 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.
(ALL_MACHINES_CFILES): Add cpu-iq2000.c.
(BFD32_BACKENDS): Add elf32-iq2000.lo.
(BFD32_BACKENDS_CFILES): Add elf32-iq2000.c.
(cpu-iq2000.lo): New target.
* Makefile.in: Regenerate.
* config.bfd: Handle iq2000-*-elf.
* archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000.
(bfd_archures_list): Add bfd_iq2000_arch.
* configure.in: Handle bfd_elf32_iq2000_vec.
* configure: Regenerate.
* reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21,
and BFD_RELOC_IQ2000_UHI16.
* targets.c (bfd_elf32_iq2000_vec): Declare.
(bfd_target_vector): Add bfd_elf32_iq2000_vec.
* elf.c (prep_headers): Set e_machine to EM_IQ2000.
* cpu-iq2000.c: New file.
* elf32-iq2000.c: Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.

21 years ago * iq2000-asm.c: New file.
Stan Cox [Fri, 3 Jan 2003 19:52:23 +0000 (19:52 +0000)]
* iq2000-asm.c: New file.
* iq2000-desc.c: Likewise.
* iq2000-desc.h: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-ibld.c: Likewise.
* iq2000-opc.c: Likewise.
* iq2000-opc.h: Likewise.
* Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
(CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
iq2000-ibld.c, iq2000-opc.c.
(ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
iq2000-ibld.lo, iq2000-opc.lo.
(CLEANFILES): Add stamp-iq2000.
(IQ2000_DEPS): New macro.
(stamp-iq2000): New target.
* Makefile.in: Regenerate.
* configure.in: Handle bfd_iq2000_arch.
* configure: Regenerate.

21 years ago * dis-asm.h (print_insn_iq2000): Declare.
Stan Cox [Fri, 3 Jan 2003 18:03:18 +0000 (18:03 +0000)]
* dis-asm.h (print_insn_iq2000): Declare.
* common.h (EM_IQ2000): Define.
* iq2000.h: New file.

21 years ago * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
Richard Sandiford [Fri, 3 Jan 2003 11:04:26 +0000 (11:04 +0000)]
* ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.

21 years agooops - omitted from previous delta - a reworking of the linker relaxation code.
Nick Clifton [Fri, 3 Jan 2003 08:21:43 +0000 (08:21 +0000)]
oops - omitted from previous delta - a reworking of the linker relaxation code.

21 years agodaily update
Alan Modra [Thu, 2 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 2 Jan 2003 22:04:55 +0000 (22:04 +0000)]
2003-01-02  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (print_insn_args): Use position extracted by "+A"
        to calculate size for "+B".  Redo code for "+C" so it shares
        the same style as "+A" and "+B" now do.

21 years agobfd/
Richard Sandiford [Thu, 2 Jan 2003 21:31:32 +0000 (21:31 +0000)]
bfd/
* elfxx-mips.c: Include libiberty.h.
(elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove.
(mips_set_isa_flags): New function, split out from...
(_bfd_mips_elf_final_write_processing): ...here.  Only call
mips_set_isa_flags if the EF_MIPS_MACH bits are clear.
(mips_mach_extensions): New array.
(mips_32bit_flags_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks.
Use mips_32bit_flags_p to check if one binary is 32-bit and the
other is 64-bit.  When adopting IBFD's architecture, adopt the
bfd_mach as well as the flags.

ld/testsuite/
* ld-mips-elf/jr.s: New file.
* ld-mips-elf/mips-elf-flags.exp: New test.

21 years ago * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
Richard Sandiford [Thu, 2 Jan 2003 21:17:59 +0000 (21:17 +0000)]
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.

21 years ago2003-01-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 2 Jan 2003 21:07:00 +0000 (21:07 +0000)]
2003-01-02  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c: Update copyright years.
        (print_insn_arg): Rename to...
        (print_insn_args): This, returning void.  Process the whole
        string of args rather than a single one.  Reindent.
        (print_insn_mips): Update to match the above.

21 years ago2003-01-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 2 Jan 2003 20:51:02 +0000 (20:51 +0000)]
2003-01-02  H.J. Lu <hjl@gnu.org>

* Makefile.in (DESTDIR): New.
(install-info): Use it.

21 years ago[ gas/ChangeLog ]
Chris Demetriou [Thu, 2 Jan 2003 20:03:09 +0000 (20:03 +0000)]
[ gas/ChangeLog ]
2003-01-02  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c: Update copyright years to include 2003.
        (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
        Additionally, clean up their code slightly and clean up their
        comments some more.

        * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.

[ gas/testsuite/ChangeLog ]
2003-01-02  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/elf_arch_mips32r2.d: Fix file description comment.

[ include/opcode/ChangeLog ]
2003-01-02  Chris Demetriou  <cgd@broadcom.com>

        * mips.h: Update copyright years to include 2002 (which had
        been missed previously) and 2003.  Make comments about "+A",
        "+B", and "+C" operand types more descriptive.

21 years agoRework IP2k linker relxation.
Nick Clifton [Thu, 2 Jan 2003 11:26:17 +0000 (11:26 +0000)]
Rework IP2k linker relxation.

21 years agoAdd do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.
Nick Clifton [Thu, 2 Jan 2003 10:26:41 +0000 (10:26 +0000)]
Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.

21 years ago * ldfile.c: Fix comment typos.
Kazu Hirata [Thu, 2 Jan 2003 03:53:53 +0000 (03:53 +0000)]
* ldfile.c: Fix comment typos.
* ldlang.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.

21 years ago * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
Daniel Jacobowitz [Thu, 2 Jan 2003 01:20:26 +0000 (01:20 +0000)]
* doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
$(CPU_DOCS)".
* doc/Makefile.in: Regenerate.

21 years ago * src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.
Daniel Jacobowitz [Thu, 2 Jan 2003 00:50:57 +0000 (00:50 +0000)]
* src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.

21 years ago Suggested by Manfred Hollstein <manfred.h@gmx.net>:
Daniel Jacobowitz [Thu, 2 Jan 2003 00:47:44 +0000 (00:47 +0000)]
Suggested by Manfred Hollstein <manfred.h@gmx.net>:
* Makefile.am (ld.1): Depend on configdoc.texi
and ldver.texi.
* Makefile.in: Regenerated.

21 years agodaily update
Alan Modra [Wed, 1 Jan 2003 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * config/obj-elf.c (special_sections): Work around HP's incorrect usage
Dave Anglin [Wed, 1 Jan 2003 16:56:34 +0000 (16:56 +0000)]
    * config/obj-elf.c (special_sections): Work around HP's incorrect usage
        of .init and .fini sections for array initializers and finalizers.

21 years ago2002-12-31 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 1 Jan 2003 01:06:13 +0000 (01:06 +0000)]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Move "di" into the
        right order alphabetically, and make all hex constants use
        lower-case letters.

21 years agodaily update
Alan Modra [Tue, 31 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.in: Rebuilt.
Tom Tromey [Tue, 31 Dec 2002 22:51:53 +0000 (22:51 +0000)]
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.

21 years ago * configure.in: Fix use of $program_transform_name.
Andreas Schwab [Tue, 31 Dec 2002 18:00:11 +0000 (18:00 +0000)]
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.

21 years ago[ gas/ChangeLog ]
Chris Demetriou [Tue, 31 Dec 2002 08:11:18 +0000 (08:11 +0000)]
[ gas/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
the "+D" operand, which will be used only by the disassembler.

[ gas/testsuite/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/cp0sel-names-mips32.d: New test.
* gas/mips/cp0sel-names-mips32r2.d: New test.
* gas/mips/cp0sel-names-mips64.d: New test.
* gas/mips/cp0sel-names-numeric.d: New test.
* gas/mips/cp0sel-names-sb1.d: New test.
* gas/mips/cp0sel-names.s: New test source file.
* gas/mips/mips.exp: Run new tests.

[ include/opcode/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* mips.h: Note that the "+D" operand type name is now used.

[ opcodes/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* mips-dis.c (mips_cp0sel_name): New structure.
(mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2)
(mips_cp0sel_names_sb1): New arrays.
(mips_arch_choice): New structure members "cp0sel_names" and
"cp0sel_names_len".
(mips_arch_choices): Add references to new cp0sel_names arrays
as appropriate, and make all existing entries reference
appropriate mips_XXX_names_numeric arrays rather than simply
using NULL.
(mips_cp0sel_names, mips_cp0sel_names_len): New variables.
(lookup_mips_cp0sel_name): New function.
(set_default_mips_dis_options): Set mips_cp0sel_names and
mips_cp0sel_names_len as appropriate.  Remove now-unnecessary
checks for NULL register name arrays.
(parse_mips_dis_option): Likewise.
(print_insn_arg): Handle "+D" operand type.
* mips-opc.c (mips_builtin_opcodes): Add new "+D" variants
of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register
names symbolically.