OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago * i386-dis.c (dis386): Recognize icebp (0xf1).
Doug Evans [Sat, 22 Mar 2003 18:56:45 +0000 (18:56 +0000)]
* i386-dis.c (dis386): Recognize icebp (0xf1).

21 years agodaily update
Alan Modra [Fri, 21 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
DJ Delorie [Fri, 21 Mar 2003 19:49:11 +0000 (19:49 +0000)]
* elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
_bfd_elf_rela_local_sym.

21 years ago * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
Andreas Schwab [Fri, 21 Mar 2003 14:02:09 +0000 (14:02 +0000)]
* config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
avoid aliasing issue.

21 years ago * s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
Martin Schwidefsky [Fri, 21 Mar 2003 13:28:09 +0000 (13:28 +0000)]
* s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
S390_OPCODE_ZARCH.
(print_insn_s390): Use new modes field of s390_opcodes.
* s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove.
(s390_opcode_mode_val, s390_opcode_cpu_val): New enums.
(struct op_struct): Remove archbits. Add mode_bits and min_cpu.
(insertOpcode): Replace archbits by min_cpu and mode_bits.
(dumpTable): Write mode_bits and min_cpu instead of archbits.
(main): Adapt to new format in s390-opcode.txt.
* s390-opc.c (s390_opformats): Replace archbits by min_cpu and
mode_bits.
* s390-opc.txt: Replace archbits by min_cpu and mode_bits.

21 years ago * s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
Martin Schwidefsky [Fri, 21 Mar 2003 13:26:21 +0000 (13:26 +0000)]
* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
(s390_opcode): Remove architecture. Add modes and min_cpu.

21 years ago * config/tc-s390.c (s390_arch_size): Initialize to zero.
Martin Schwidefsky [Fri, 21 Mar 2003 13:24:46 +0000 (13:24 +0000)]
* config/tc-s390.c (s390_arch_size): Initialize to zero.
(current_arch_mask): Rename to current_mode_mask.
(current_arch_requested): Remove variable.
(current_cpu): New variable.
(init_default_arch): Set defaults values for s390_arch_size,
current_mode_mask and current_cpu.
(md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
(md_begin): Replace current_arch_mask by current_cpu.
(md_assemble): Adapt check and error message to current_mode_mask and
current_cpu.

21 years agodaily update
Alan Modra [Thu, 20 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Mar 2003 16:04:18 +0000 (16:04 +0000)]
2003-03-20  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
non-ELF outputs.

21 years agoAdd Cirrus Maverick support to arm simulator
Nick Clifton [Thu, 20 Mar 2003 12:25:07 +0000 (12:25 +0000)]
Add Cirrus Maverick support to arm simulator

21 years agoInitialise $idata2 and $idata5 in case bfd_coff_final_link is not called.
Nick Clifton [Thu, 20 Mar 2003 09:02:09 +0000 (09:02 +0000)]
Initialise $idata2 and $idata5 in case bfd_coff_final_link is not called.

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

21 years ago * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
Andreas Schwab [Wed, 19 Mar 2003 09:56:06 +0000 (09:56 +0000)]
* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.

21 years ago * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count
Jakub Jelinek [Wed, 19 Mar 2003 09:26:51 +0000 (09:26 +0000)]
* elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count
field.
(canon_reloc_count): Define.
(sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table,
sparc64_elf_canonicalize_dynamic_reloc): Use it instead of
reloc_count.
(sparc64_elf_canonicalize_reloc): New routine.
(bfd_elf64_canonicalize_reloc): Define.

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
Jakub Jelinek [Tue, 18 Mar 2003 23:14:35 +0000 (23:14 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
againt mergeable sections.  Take r_addend into account when caching
trampolines.

21 years agodaily update
Alan Modra [Tue, 18 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * defilep.y (opt_base): If no number given, set to default
Danny Smith [Tue, 18 Mar 2003 21:33:43 +0000 (21:33 +0000)]
* defilep.y (opt_base): If no number given, set to default
(-1), not 0.

21 years ago * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
Richard Henderson [Tue, 18 Mar 2003 18:57:40 +0000 (18:57 +0000)]
    * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
        local symbols that have no dyninfo.

21 years agomerge from gcc
DJ Delorie [Mon, 17 Mar 2003 23:09:54 +0000 (23:09 +0000)]
merge from gcc

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

21 years agomerge from gcc
DJ Delorie [Mon, 17 Mar 2003 18:01:07 +0000 (18:01 +0000)]
merge from gcc

21 years ago Fix formatting. Update copyright date.
Nick Clifton [Mon, 17 Mar 2003 11:43:30 +0000 (11:43 +0000)]
 Fix formatting.  Update copyright date.

21 years ago(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
Nick Clifton [Mon, 17 Mar 2003 11:16:51 +0000 (11:16 +0000)]
(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
lines.

21 years ago(O_SYS_CMDLINE): New pseudo opcode for command line processing.
Nick Clifton [Mon, 17 Mar 2003 10:34:29 +0000 (10:34 +0000)]
(O_SYS_CMDLINE): New pseudo opcode for command line processing.

21 years agonm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
Nick Clifton [Mon, 17 Mar 2003 10:14:07 +0000 (10:14 +0000)]
nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
value when --size-sort is used, unless -S is used.
doc/binutils.texi (--size-sort): For non-bsd formats both the value and size
of the symbols are displayed.

21 years agodaily update
Alan Modra [Sun, 16 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update

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

21 years agodaily update
Alan Modra [Fri, 14 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
Daniel Jacobowitz [Fri, 14 Mar 2003 21:07:54 +0000 (21:07 +0000)]
ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
Nathanael Nerode [Fri, 14 Mar 2003 20:49:14 +0000 (20:49 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.

21 years ago2003-03-14 Michael Chastain <mec@shout.net>
Michael Chastain [Fri, 14 Mar 2003 18:59:59 +0000 (18:59 +0000)]
2003-03-14  Michael Chastain  <mec@shout.net>

* Makefile.in: Regenerate with correct Makefile.def.

21 years ago(ieee_write_expression): Handle the case where symbol is NULL.
Nick Clifton [Fri, 14 Mar 2003 12:47:20 +0000 (12:47 +0000)]
(ieee_write_expression): Handle the case where symbol is NULL.

21 years agodaily update
Alan Modra [Thu, 13 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoUpdated translation
Nick Clifton [Thu, 13 Mar 2003 15:12:05 +0000 (15:12 +0000)]
Updated translation

21 years agoAdd New Chinese (simplified) PO file.
Nick Clifton [Thu, 13 Mar 2003 15:09:29 +0000 (15:09 +0000)]
Add New Chinese (simplified) PO file.

21 years ago(buffer_and_nest): Store more to sb instead of '\n'.
Nick Clifton [Thu, 13 Mar 2003 11:49:33 +0000 (11:49 +0000)]
(buffer_and_nest): Store more to sb instead of '\n'.
(get_line_sb): Return end of line character or '\n' if it is zero or
non-existent.

21 years ago * deffilep.y (def_import): Use default extension of "dll"
Danny Smith [Thu, 13 Mar 2003 09:39:09 +0000 (09:39 +0000)]
* deffilep.y (def_import):  Use default extension of "dll"
if no extension provided in parsed IMPORT definition.

* deffilep.y (def_lex): Revert 2003-03-12 change.
(dot_name): New id type and rule.
(expline): Use instead of ID.
(opt_equal_name): Likewise.

21 years ago(BYTES_IN_WORD): Don't define.
Nick Clifton [Thu, 13 Mar 2003 09:28:49 +0000 (09:28 +0000)]
(BYTES_IN_WORD): Don't define.

21 years agoUpdate.
Nick Clifton [Thu, 13 Mar 2003 09:11:16 +0000 (09:11 +0000)]
Update.

21 years ago* config/tc-mips.c (mips_validate_fix): New function.
Alexandre Oliva [Wed, 12 Mar 2003 23:07:38 +0000 (23:07 +0000)]
* config/tc-mips.c (mips_validate_fix): New function.
* config/tc-mips.h (TC_VALIDATE_FIX): Define.
(mips_validate_fix): Declare.

21 years ago* gas/mips/branch-misc-2.s: Add branch to symbol in another
Alexandre Oliva [Wed, 12 Mar 2003 23:07:22 +0000 (23:07 +0000)]
* gas/mips/branch-misc-2.s: Add branch to symbol in another
section.
* gas/mips/branch-misc-2.l: Update error messages and warnings.

21 years ago* Reverted 2003-03-02's patch.
Alexandre Oliva [Wed, 12 Mar 2003 23:06:08 +0000 (23:06 +0000)]
* Reverted 2003-03-02's patch.

21 years ago* Reverted previous patch.
Alexandre Oliva [Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)]
* Reverted previous patch.

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

21 years ago* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
Alexandre Oliva [Wed, 12 Mar 2003 22:52:12 +0000 (22:52 +0000)]
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Nathanael Nerode [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.  Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.

21 years agomerge from gcc
DJ Delorie [Wed, 12 Mar 2003 17:28:10 +0000 (17:28 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Wed, 12 Mar 2003 15:08:02 +0000 (15:08 +0000)]
merge from gcc

21 years agoRename 'index' to 'offset'
Nick Clifton [Wed, 12 Mar 2003 09:59:52 +0000 (09:59 +0000)]
Rename 'index' to 'offset'

21 years ago * deffilep.y (def_lex): Accept '.' as valid non-lead char.
Danny Smith [Wed, 12 Mar 2003 08:38:16 +0000 (08:38 +0000)]
* deffilep.y (def_lex): Accept '.' as valid non-lead char.

21 years agodaily update
Alan Modra [Tue, 11 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update

21 years ago * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
Richard Henderson [Tue, 11 Mar 2003 22:00:33 +0000 (22:00 +0000)]
    * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
        (TC_DWARF2_EMIT_OFFSET): Provide default.
        (out_debug_aranges, out_debug_info): Use it.
        * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
        (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
        (ia64_gen_real_reloc_type): ... here.
        * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.

21 years agomerge from gcc
DJ Delorie [Tue, 11 Mar 2003 20:18:26 +0000 (20:18 +0000)]
merge from gcc

21 years ago* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
Alexandre Oliva [Tue, 11 Mar 2003 19:20:16 +0000 (19:20 +0000)]
* ld-mips-elf/mips-elf.exp (linux_gnu): New variable.  Add:
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
tests.

21 years ago* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
Alexandre Oliva [Tue, 11 Mar 2003 19:11:38 +0000 (19:11 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
dynamic relocations pointing to local or section symbols, use the
NULL symbol instead.  Document the choice to not emit an
additional R_MIPS_64 relocation.

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
Alan Modra [Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT.  Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs.  Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.

* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.

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

21 years agodaily update
Alan Modra [Sun, 9 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-10 Ben Elliston <bje@wasabisystems.com>
Ben Elliston [Sun, 9 Mar 2003 22:52:02 +0000 (22:52 +0000)]
2003-03-10  Ben Elliston  <bje@wasabisystems.com>

* MAINTAINERS: Update my mail address.

21 years ago* configure.in (gxx_include_dir): Fix typo.
DJ Delorie [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.

21 years ago * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
Thiemo Seufer [Sun, 9 Mar 2003 16:16:31 +0000 (16:16 +0000)]
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.

21 years agodaily update
Alan Modra [Sat, 8 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparent
Christopher Faylor [Sat, 8 Mar 2003 03:35:48 +0000 (03:35 +0000)]
* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparent
accidental removal on 2003-01-06.

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

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
Alan Modra [Fri, 7 Mar 2003 01:09:01 +0000 (01:09 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
a tls_get_addr call.

21 years ago * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
Alan Modra [Thu, 6 Mar 2003 23:26:20 +0000 (23:26 +0000)]
* elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one.  Use throughout.
(elf_i386_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.

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

21 years ago2003-03-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 6 Mar 2003 20:50:01 +0000 (20:50 +0000)]
2003-03-06  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Import version 2003-02-03.16.

21 years agoRemove redundant defintions of BYTES_IN_WORD and add conditional defintion in
Nick Clifton [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.

21 years ago2003-03-06 Jakub Jelinek <jakub@redhat.com>
Andrew Haley [Thu, 6 Mar 2003 15:47:23 +0000 (15:47 +0000)]
2003-03-06  Jakub Jelinek <jakub@redhat.com>
        Andrew Haley  <aph@redhat.com>

        * elflink.h (elf_bfd_discard_info): Don't process eh frames if
        output is relocateable.

21 years ago(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.
Nick Clifton [Thu, 6 Mar 2003 12:29:04 +0000 (12:29 +0000)]
(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.

21 years ago * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
Alan Modra [Thu, 6 Mar 2003 11:32:43 +0000 (11:32 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs.  Report reloc types on a number of errors.  Optimize
LOCAL24PC check for non-local syms.  Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs.  Report reloc types on a number of errors.
Don't capitalize error messages.

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

21 years ago2003-03-04 Daniel Jacobowitz <drow@mvista.com>
Nathanael Nerode [Wed, 5 Mar 2003 01:50:53 +0000 (01:50 +0000)]
2003-03-04  Daniel Jacobowitz  <drow@mvista.com>

* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent.  Don't set unused variables.
* configure: Regenerate.

21 years agodaily update
Alan Modra [Tue, 4 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoAdd new devices x1122 x1132 emulation.
Nick Clifton [Tue, 4 Mar 2003 17:02:40 +0000 (17:02 +0000)]
Add new devices x1122 x1132 emulation.

21 years agofix spelling typo.
Nick Clifton [Tue, 4 Mar 2003 16:36:40 +0000 (16:36 +0000)]
fix spelling typo.

21 years ago(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
Nick Clifton [Tue, 4 Mar 2003 16:34:40 +0000 (16:34 +0000)]
(mcu_types): Add recenly announced x1122 and x1123 devices, add missed x437.
(md_show_usage): Sort device list.

21 years ago(print_symbol): Remove check for undefined_only.
Nick Clifton [Tue, 4 Mar 2003 16:23:46 +0000 (16:23 +0000)]
(print_symbol): Remove check for undefined_only.
(main): Print a warning message if --size-sort and --undefined-only are used
together.

21 years agoReally commit it... dunno what happened last time.
Nathanael Nerode [Tue, 4 Mar 2003 08:36:40 +0000 (08:36 +0000)]
Really commit it... dunno what happened last time.

21 years ago * mh-dgux: Delete.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:49 +0000 (07:48 +0000)]
* mh-dgux: Delete.

21 years ago * Makefile.tpl: Always pass down RANLIB.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:06 +0000 (07:48 +0000)]
* Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads.  Remove bogus comments.  Remove redundant
noconfigdirs.
* configure: Regenerate.

* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.

21 years agomerge from gcc
DJ Delorie [Tue, 4 Mar 2003 03:02:50 +0000 (03:02 +0000)]
merge from gcc

21 years ago2003-03-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 3 Mar 2003 23:19:19 +0000 (23:19 +0000)]
2003-03-03  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (USE_BRL): Removed.
(oor_ip): Removed.

21 years agodaily update
Alan Modra [Mon, 3 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoFix sh-elf linker relaxation:
Joern Rennecke [Mon, 3 Mar 2003 21:04:01 +0000 (21:04 +0000)]
Fix sh-elf linker relaxation:

gcc:
* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
subtarget_asm_isa_spec.
(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
(ASM_SPEC): Define as SH_ASM_SPEC.
(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
gcc.dg/sh-relax.c: New test.

include/elf:
* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
and SH2E & SH4 merge to SH4, not SH2E.

gas:
* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
(md_begin): Use preset_target_arch.
(md_longopts): Make isa option unconditional.
(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
set preset_target_arch.
(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
by -S_GET_VALUE  (fixP->fx_subsy).
(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
and the addend is 0.
Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
relocation (no special function), and make it non-partial_inplace.
(sh_elf_relax_section): When creating a bsr, use a consistent value
no matter if the symbol is extern or not;  set addend to -4.
Don't swap load / non-load instructions for SH4.
(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
rather than if the symbol is external to determine if adjusting the
offset makes sense.  Adjust the addend too if appropriate.
(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
relocation.

21 years ago* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
Alexandre Oliva [Mon, 3 Mar 2003 20:01:02 +0000 (20:01 +0000)]
* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
well.

21 years ago* ldfile.h (struct search_dirs): Added sysrooted field.
Alexandre Oliva [Mon, 3 Mar 2003 20:00:35 +0000 (20:00 +0000)]
* ldfile.h (struct search_dirs): Added sysrooted field.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
(ldfile_open_file_search): Look for sysrooted filename starting
with / in ld_sysroot instead of in the current directory.  Clear
sysrooted flag if it's found in the current directory.  Set it
from the search directory's sysrooted flag where it is found
otherwise.
* ldlang.c (ldlang_sysrooted_script): New static variable.
(new_afile): Mark search_file_enums as sysrooted if
ldlang_sysrooted_script.
(load_symbols): Set ldlang_sysrooted_script according to the
script's sysrooted field while processing it.
* ld.texinfo: Document INPUT behavior in sysroot.

21 years agoInstalled latest Danish translation.
Nick Clifton [Mon, 3 Mar 2003 10:08:02 +0000 (10:08 +0000)]
Installed latest Danish translation.

21 years ago* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
Christopher Faylor [Mon, 3 Mar 2003 02:38:10 +0000 (02:38 +0000)]
* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,

21 years agodaily update
Alan Modra [Sun, 2 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoLeftover from previous commit.
Thiemo Seufer [Sun, 2 Mar 2003 22:28:51 +0000 (22:28 +0000)]
Leftover from previous commit.

21 years ago * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
Alan Modra [Sun, 2 Mar 2003 22:07:10 +0000 (22:07 +0000)]
* emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
PARSE_AND_LIST_EPILOGUE): Don't define.
* emultempl/alphaelf.em: New file.

21 years ago * elf32-mips.c (elf_mips_howto_table_rel): Change definition of
Thiemo Seufer [Sun, 2 Mar 2003 21:30:15 +0000 (21:30 +0000)]
* elf32-mips.c (elf_mips_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc.
(bfd_elf32_bfd_reloc_type_lookup): Support
BFD_RELOC_MIPSEMB_16_PCREL_S2.
* elf64-mips.c (mips_elf64_howto_table_rel): Change definition of
R_MIPS_PC16 to rightshift 2.
(mips_elf64_howto_table_rela): Likewise.
(mips_reloc_map): Map to rightshifted BFD reloc.
* elfn32-mips.c: The same as in elf64-mips.c.
* elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment.
(mips_elf_calculate_relocation): Handle rightshifted addends for
R_MIPS_PC16.
* reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for
MIPS Embedded PIC. Remove superfluous empty COMMENT.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* config/tc-mips.c (append_insn): Add handling of
BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
misaligned address and reange overflow.
(macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
earlier warnings about misaligned address and reange overflow.
(mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
(md_apply_fix): Likewise. Fix warning output.
(tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
(md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
* gas/mips/bge.d: Reactivate external branch tests.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/branch-misc-2.d: New File.
* gas/mips/branch-misc-2.l: Remove.
* gas/mips/mips.exp: Adjust branch-misc-2 test.

21 years agodaily update
Alan Modra [Sat, 1 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
Richard Henderson [Sat, 1 Mar 2003 02:44:45 +0000 (02:44 +0000)]
    * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
        for ltoff22x relaxation.

21 years ago * bfd-in.h (_bfd): Don't define.
Alan Modra [Fri, 28 Feb 2003 23:43:35 +0000 (23:43 +0000)]
* bfd-in.h (_bfd): Don't define.
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd".
* syms.c: Likewise.
* bfd-in2.h: Regenerate.

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

21 years ago * ldemul.c: Include getopt.h.
Alan Modra [Fri, 28 Feb 2003 22:55:11 +0000 (22:55 +0000)]
* ldemul.c: Include getopt.h.
* emultempl/elf32.em: Include getopt.h earlier.
* emultempl/ticoff.em: Likewise.

21 years ago * Makefile.tpl: Rearrange.
Nathanael Nerode [Fri, 28 Feb 2003 18:03:31 +0000 (18:03 +0000)]
* Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.