OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
Thiemo Seufer [Thu, 8 Nov 2001 19:32:24 +0000 (19:32 +0000)]
* config/tc-mips.c (mips_force_relocation): Remove duplicate code.

22 years ago* elf32-s390: Major rework that introduces all recent changes to
Martin Schwidefsky [Thu, 8 Nov 2001 18:45:46 +0000 (18:45 +0000)]
* elf32-s390: Major rework that introduces all recent changes to
the s390 backends.  Get a closer match to elf32-i386.
(elf_s390_relocate_section): Make use of dynamic section short-cuts.
Localise vars, and delay setting.  Better error reporting, replace
BFD_ASSERT with abort.  Check ELF_LINK_HASH_DEF_DYNAMIC to see if a
symbol is not defined in the regular object file and tread the weak
definition as the normal one.  Don't discard relocs for undefweak or
undefined symbols and check !DEF_REGULAR as well as DEF_DYNAMIC in
test for avoided copy relocs.  Reinstate fudge for unresolved relocs
in debugging sections.
(elf32_s390_adjust_dynamic_symbol): Handle nocopyreloc.  Don't do copy
reloc processing for weakdefs.  Remove redundant casts and aborts.
Delay setting of vars until needed.  Move creation of dynamic symbols
and allocation of .plt and .rela.plt to allocate_dynrelocs.  Replace
BFD_ASSERT with abort.  Discard .plt entries for everything with
plt.refcount <= 0.
(elf_s390_check_relocs):  Don't allocate space for dynamic relocs,
.got or .relgot here but do it in allocate_dynrelocs.  Reference count
possible .plt and .got entries.  Don't test input section SEC_READONLY
here to try to avoid copy relocs, and keep dyn_relocs regardless of
ELF_LINK_NON_GOT_REF.  Don't set DF_TEXTREL here.  Delay setting of
variables until needed.  Remove separate switch stmt for creating .got
section.  Initialise local_got_refcounts to 0.  Cache pointer to
"sreloc" section in elf_section_data. Tweak condition under which .got
created.  Report files with bad relocation section names.
(elf_s390_finish_dynamic_symbol): Don't copy relocs for symbols that
have been forced local.  Use same test to decide if we can use a
relative reloc for got as elf_s390_relocate_section.  Expand SHN_UNDEF
comment.  Move expressions out of function calls.  Replace BFD_ASSERT
with abort.
(elf_s390_finish_dynamic_sections): Migrate common code out of switch
statement.  Replace BFD_ASSERT with abort.
(elf_s390_size_dynamic_sections): Call readonly_dynrelocs. Rename "i"
to "ibfd".  Allocate space for local dyn relocs.  Use DF_TEXTREL flag
instead of looking up section names for DT_TEXTREL.  Replace
BFD_ASSERT with abort.  Zero out the dynamic allocated content space.
Add a comment to remind us that one day this ought to be fixed.
(struct elf_s390_link_hash_entry): Rename "root" to "elf".
(struct elf_s390_link_hash_table): Likewise.
(elf_s390_link_hash_newfunc): Rename to link_hash_newfunc and get
rid of unnecessary casts.
(struct elf_s390_dyn_relocs): Add "sec", and "pc_count" fields.
Remove "section" field.
(elf_s390_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
Reference count possible .plt entries.  Don't deallocate .got and
.relgot space here.
(struct elf_s390_pcrel_relocs_copied): Rename to elf_s390_dyn_relocs.
Update comment.
(struct elf_s390_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_s390_discard_copies):  Delete.
(elf_s390_link_hash_traverse): Delete.
(bfd_elf32_bfd_final_link): Delete.  (ie. use regular final link
rather than gc variety).
(struct elf_s390_link_hash_table): Add sgot, sgotplt, srelgot, splt,
srelplt, sdynbss, srelbss fields.
(elf_s390_link_hash_table_create): Init them.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(allocate_dynrelocs): New function.
(create_got_section): New function.
(elf_backend_can_refcount): Define.
(elf_backend_copy_indirect_symbol): Define.
(elf_s390_copy_indirect_symbol): New function.
(elf_s390_create_dynamic_sections): New function.
(readonly_dynrelocs): New function.
* elf64-s390x: Likewise.

22 years agodaily update
Alan Modra [Wed, 7 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
Jakub Jelinek [Wed, 7 Nov 2001 16:50:38 +0000 (16:50 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
(BFD32_BACKENDS_CFILES): Add elf-strtab.c.
(elf-strtab.lo): Add rule.
* Makefile.in: Rebuilt.
* configure.in (elf): Add elf-strtab.lo.
* configure: Rebuilt.
* elf-bfd.h (elf_strtab_hash): Forward declare.
(struct elf_link_hash_table): Change dynstr type to
struct elf_strtab_hash *.
(struct elf_obj_tdata): Change strtab_ptr type to
struct elf_strtab_hash *.
(_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add,
_bfd_elf_strtab_addref, _bfd_elf_strtab_delref,
_bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size,
_bfd_elf_strtab_offset, _bfd_elf_strtab_emit,
_bfd_elf_strtab_finalize): New prototypes.
* elf-strtab.c: New file.
* elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add
and _bfd_elf_strtab_size instead of _bfd_stringtab calls.
Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or
when forcing dynamic symbol to local.
(elf_link_create_dynamic_sections): Call
_bfd_elf_strtab_init instead of elf_stringtab_init.
(elf_link_record_local_dynamic_symbol): Likewise, change
dynstr type.  Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls.
(size_dynamic_sections): Use _bfd_elf_strtab functions instead of
_bfd_stringtab calls.  For DT_RUNPATH and Verdaux vda_name fields,
call _bfd_elf_strtab_addref.  Call elf_finalize_dynstr.
(elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions.
(elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing
dynamic symbol to local.
(elf_link_assign_sym_version): Likewise.
(elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of
_bfd_stringtab_emit.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr
type.  Call _bfd_elf_strtab functions instead of
_bfd_stringtab functions.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
* elf.c (_bfd_elf_init_reloc_shdr): Likewise.
(elf_fake_sections): Likewise.
(assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs
on shstrtab hash table, call _bfd_elf_strtab_addref on each section
name in the output.  Call _bfd_elf_strtab_finalize and
use _bfd_elf_strtab_offset to finalize sh_name section header fields.
(_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size
instead of _bfd_stringtab_size.
(prep_headers): Change shstrtab type.
Use _bfd_elf_strtab calls instead of _bfd_stringtab calls.

22 years ago * readelf.c (debug_str, debug_str_size): New.
Jakub Jelinek [Wed, 7 Nov 2001 16:14:09 +0000 (16:14 +0000)]
* readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
Call free_abbrevs.
(read_and_display_addr): Handle DW_FORM_strp.
(display_debug_info): Read .debug_str section if present,
so that DW_FORM_strp can be handled.
Fix test for non-existant .debug_abbrev section.

22 years ago * elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
Alan Modra [Wed, 7 Nov 2001 04:07:09 +0000 (04:07 +0000)]
* elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
bad symtab segfault.  Formatting and warning fixes.  Improve
error message for internationalisation.

22 years agodaily update
Alan Modra [Tue, 6 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
Eric Christopher [Tue, 6 Nov 2001 21:39:09 +0000 (21:39 +0000)]
2001-11-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

* config/tc-mips.c (my_getSmallParser): Fix small parser bug.

22 years ago2001-11-06 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 6 Nov 2001 17:49:38 +0000 (17:49 +0000)]
2001-11-06  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain relocs against
discarded sections.

22 years ago * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
Hans-Peter Nilsson [Tue, 6 Nov 2001 07:20:20 +0000 (07:20 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.

22 years agodaily update
Alan Modra [Mon, 5 Nov 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
Jakub Jelinek [Mon, 5 Nov 2001 16:20:37 +0000 (16:20 +0000)]
* arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.

* arsup.c (ar_open): Prepend tmp- to basename, not whole path.

22 years agoAdd self as s390/s390x maintainer.
Martin Schwidefsky [Mon, 5 Nov 2001 08:50:47 +0000 (08:50 +0000)]
Add self as s390/s390x maintainer.

22 years agoForce got and plt relocations.
Martin Schwidefsky [Mon, 5 Nov 2001 08:47:46 +0000 (08:47 +0000)]
Force got and plt relocations.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 5 Nov 2001 03:07:51 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (print_insn_mips): Remove spaces at end of line.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Remove extra space.

22 years agomerge from gcc
DJ Delorie [Mon, 5 Nov 2001 01:12:22 +0000 (01:12 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Sun, 4 Nov 2001 23:08:47 +0000 (23:08 +0000)]
daily update

22 years ago[ gas/ChangeLog ]
Chris Demetriou [Sun, 4 Nov 2001 19:06:38 +0000 (19:06 +0000)]
[ gas/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.in (mips-*-netbsd*): Add support for target.
* configure: Regenerate.

[ gas/testsuite/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
(aout): Don't set if *-*-netbsd*.

[ ld/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Add support for targets.

22 years agodaily update
Alan Modra [Sat, 3 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.
Alan Modra [Sat, 3 Nov 2001 03:18:34 +0000 (03:18 +0000)]
* elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.

22 years agodaily update
Alan Modra [Fri, 2 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years agoAdd myself as the ppc xcoff maintainer
Tom Rix [Fri, 2 Nov 2001 21:47:19 +0000 (21:47 +0000)]
Add myself as the ppc xcoff maintainer

22 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 2 Nov 2001 19:46:59 +0000 (19:46 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for symbols defined in regular objects when
creating executables.

22 years agoAdd translations
Nick Clifton [Fri, 2 Nov 2001 19:09:06 +0000 (19:09 +0000)]
Add translations

22 years agoAdd French translation
Nick Clifton [Fri, 2 Nov 2001 18:06:21 +0000 (18:06 +0000)]
Add French translation

22 years ago* tc-arm.c: Re-arrange prototypes by architecture.
Richard Earnshaw [Fri, 2 Nov 2001 17:25:11 +0000 (17:25 +0000)]
* tc-arm.c: Re-arrange prototypes by architecture.
(insns): Re-arrange instructions by archtitecture.  Pld instruction
is part of ARMv5E.
(tinsns): blx and bkpt are part of ARMv5T.
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*.  All callers changed.

* tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.

22 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 2 Nov 2001 17:24:54 +0000 (17:24 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.

* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.

22 years agoFix testsuites for bigendian sh-linux
Nick Clifton [Fri, 2 Nov 2001 17:07:52 +0000 (17:07 +0000)]
Fix testsuites for bigendian sh-linux

22 years agoSet targ_emul, targ_extra_emuls as little endian default and to support big endian.
Nick Clifton [Fri, 2 Nov 2001 16:58:18 +0000 (16:58 +0000)]
Set targ_emul, targ_extra_emuls as little endian default and to support big endian.

22 years agoAdd comment
Nick Clifton [Fri, 2 Nov 2001 16:29:15 +0000 (16:29 +0000)]
Add comment

22 years agoInitialize subspace_sections.
Nick Clifton [Fri, 2 Nov 2001 16:19:54 +0000 (16:19 +0000)]
Initialize subspace_sections.

22 years ago2001-11-02 H.J. Lu (hjl@gnu.org)
H.J. Lu [Fri, 2 Nov 2001 15:47:24 +0000 (15:47 +0000)]
2001-11-02  H.J. Lu  (hjl@gnu.org)

* coffgen.c (coff_object_p): Return 0 if the header is too big.

22 years ago * elfcore.h (elf_core_file_p): Preserve and clear abfd section
Hans-Peter Nilsson [Fri, 2 Nov 2001 13:12:56 +0000 (13:12 +0000)]
* elfcore.h (elf_core_file_p): Preserve and clear abfd section
information.  Save bfd arch and mach values.  Restore on error.

22 years ago * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
Alan Modra [Fri, 2 Nov 2001 10:37:04 +0000 (10:37 +0000)]
* elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
(allocate_PIC_calls): New function.
(allocate_dynrelocs): Don't allocate pic_call plt entries here.
(elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
(elf32_hppa_finish_dynamic_symbol): Remove dead code.

22 years agoFix cutnpasto in last entry
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:22:37 +0000 (07:22 +0000)]
Fix cutnpasto in last entry

22 years ago * elf32-cris.c (cris_elf_grok_prstatus): New function.
Hans-Peter Nilsson [Fri, 2 Nov 2001 07:20:24 +0000 (07:20 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): New function.
(cris_elf_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

22 years ago2001-11-01 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 2 Nov 2001 01:13:09 +0000 (01:13 +0000)]
2001-11-01  Chris Demetriou  <cgd@broadcom.com>

        * ld.texinfo (Options): Document new option, -nostdlib.
        * lexsup.c (OPTION_NOSTDLIB): New definition.
        (ld_options): Add entry for "nostdlib".
        (parse_args): Handle OPTIONS_NOSTDLIB.
        * ldfile.c (ldfile_add_library_path): Don't add directories
        to the search path if they weren't specified on the command line
        and -nostdlib was specified.
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.

22 years agodaily update
Alan Modra [Thu, 1 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
Stephane Carrez [Thu, 1 Nov 2001 09:56:17 +0000 (09:56 +0000)]
* config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
for bra/bsr and use frag_variant(), this ensure that the possible
16-bit BFD_RELOC_16 will be in the same frag.

22 years ago * gas/m68hc11/opers12.s: Add test for disassembler bug with movb
Stephane Carrez [Thu, 1 Nov 2001 09:52:03 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.

22 years ago * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
Stephane Carrez [Thu, 1 Nov 2001 09:48:57 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.

22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
Alan Modra [Thu, 1 Nov 2001 05:35:10 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.

22 years ago[ bfd/ChangeLog ]
Chris Demetriou [Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@demetriou.com>

* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.

[ gas/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)".  In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.

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

* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.

22 years agodaily update
Alan Modra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update

22 years ago2001-10-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 31 Oct 2001 16:42:48 +0000 (16:42 +0000)]
2001-10-31  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Don't clear the visibility
field for relocateable.

22 years agoFix infinite parsing loop
Nick Clifton [Wed, 31 Oct 2001 15:41:19 +0000 (15:41 +0000)]
Fix infinite parsing loop

22 years ago Revert previous delta, instead do this.
Alan Modra [Wed, 31 Oct 2001 15:32:09 +0000 (15:32 +0000)]
Revert previous delta, instead do this.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
.plt relocs in DT_RELASZ.

22 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
Alan Modra [Wed, 31 Oct 2001 14:58:14 +0000 (14:58 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.

22 years agoGeneral cleanup of feature definitions.
Richard Earnshaw [Wed, 31 Oct 2001 14:48:23 +0000 (14:48 +0000)]
General cleanup of feature definitions.
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
(ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
(FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
(ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
(ARM_EXT_V{5,5E}): Synchronize with above.
(ARM_ARCH_V*): Define a complete set in terms of above features.
(ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
(FPU_FPA_EXT_V[12]): Define.
(FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
(FPU_ANY): Define.
(FPU_DEFAULT): Default to FPA.
(CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
Thumb, this is now ARM_ARCH_V5T.
(insns): Rework for new feature defines.
(tinsns): Likewise.
(opcode_select, do_ldst, md_begin, md_parse_option): Likewise.

22 years agoUpdate documentation about -T augmenting linker scripts
Nick Clifton [Wed, 31 Oct 2001 14:19:22 +0000 (14:19 +0000)]
Update documentation about -T augmenting linker scripts

22 years agoSupports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
Nick Clifton [Wed, 31 Oct 2001 09:50:09 +0000 (09:50 +0000)]
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets

22 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
Nick Clifton [Wed, 31 Oct 2001 09:01:50 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

22 years agoUpdate to match latest listing behaviour
Nick Clifton [Wed, 31 Oct 2001 08:58:59 +0000 (08:58 +0000)]
Update to match latest listing behaviour

22 years ago * ld-mmix/locdo-1.d: Prune character dump part.
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:52:41 +0000 (05:52 +0000)]
* ld-mmix/locdo-1.d: Prune character dump part.

22 years ago * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:42:51 +0000 (05:42 +0000)]
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
  ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
  ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
  ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
  ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
  ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
  ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
  unnecessary empty lines.

22 years agoRegenerate dependencies and Makefile.in
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:04:33 +0000 (05:04 +0000)]
Regenerate dependencies and Makefile.in

22 years ago * gas/mmix/tst.s: Delete unused file.
Hans-Peter Nilsson [Wed, 31 Oct 2001 04:30:35 +0000 (04:30 +0000)]
* gas/mmix/tst.s: Delete unused file.
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s,
gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s,
gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s,
gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s,
gas/mmix/fb-2.s: Remove trailing empty lines.

22 years agoRemove #if 0 around bfd_mmo_mmix_vec
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:08:59 +0000 (03:08 +0000)]
Remove #if 0 around bfd_mmo_mmix_vec

22 years agoSplit file by ^L:s as in original submitted patch
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:07:48 +0000 (03:07 +0000)]
Split file by ^L:s as in original submitted patch

22 years ago * mmix-dis.c, mmix-opc.c: New files.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:40:19 +0000 (02:40 +0000)]
* mmix-dis.c, mmix-opc.c: New files.

22 years ago * MAINTAINERS: Add self as MMIX port maintainer.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:34:12 +0000 (02:34 +0000)]
* MAINTAINERS: Add self as MMIX port maintainer.

22 years ago * ldlang.c (lang_size_sections): Keep a valid output_offset field
Alan Modra [Wed, 31 Oct 2001 01:12:26 +0000 (01:12 +0000)]
* ldlang.c (lang_size_sections): Keep a valid output_offset field
for padding statements.

22 years agodaily update
Alan Modra [Tue, 30 Oct 2001 23:01:01 +0000 (23:01 +0000)]
daily update

22 years agoAdd MMIX support
Nick Clifton [Tue, 30 Oct 2001 15:20:14 +0000 (15:20 +0000)]
Add MMIX support

22 years agoIf the LMA for a segment is known, use it for matching sections to segments.
Nick Clifton [Tue, 30 Oct 2001 11:40:28 +0000 (11:40 +0000)]
If the LMA for a segment is known, use it for matching sections to segments.
Use the LMA when adjusting for inter-section alignment padding.

22 years agoSet the LMA based on the p_paddr of the segment that contains it.
Nick Clifton [Tue, 30 Oct 2001 11:34:46 +0000 (11:34 +0000)]
Set the LMA based on the p_paddr of the segment that contains it.

22 years agodaily update
Alan Modra [Mon, 29 Oct 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * d30v-dis.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:43:32 +0000 (22:43 +0000)]
* d30v-dis.c: Fix a comment typo.

22 years ago * ldlang.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:36:32 +0000 (22:36 +0000)]
* ldlang.c: Fix a comment typo.

22 years ago * README: Fix a typo.
Kazu Hirata [Mon, 29 Oct 2001 22:29:59 +0000 (22:29 +0000)]
* README: Fix a typo.

22 years ago * bfdsumm.texi: Fix a typo.
Kazu Hirata [Mon, 29 Oct 2001 22:26:12 +0000 (22:26 +0000)]
* bfdsumm.texi: Fix a typo.

22 years agodaily update, a bit late..
Alan Modra [Mon, 29 Oct 2001 04:00:48 +0000 (04:00 +0000)]
daily update, a bit late..

22 years agodaily update
Alan Modra [Sat, 27 Oct 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years agoChange footer to refer to FSF. Change subtitle to refer to original creation date.
Nick Clifton [Sat, 27 Oct 2001 07:31:26 +0000 (07:31 +0000)]
Change footer to refer to FSF.  Change subtitle to refer to original creation date.

22 years agodaily update
Alan Modra [Sat, 27 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoFix usage of H_GET_32/16. Likewise with H_PUT_32/16.
Nick Clifton [Fri, 26 Oct 2001 10:57:04 +0000 (10:57 +0000)]
Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.

22 years agodaily update
Alan Modra [Fri, 26 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
Richard Henderson [Thu, 25 Oct 2001 06:33:56 +0000 (06:33 +0000)]
    * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
        timestamp to time_t for ctime.

22 years ago2001-10-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 25 Oct 2001 01:22:19 +0000 (01:22 +0000)]
2001-10-24  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/ld-empic.d: Remove extra whitespace at beginning of
        file introduced in the change on 2001-05-15.

22 years agodaily update
Alan Modra [Thu, 25 Oct 2001 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Oct 2001 21:08:34 +0000 (21:08 +0000)]
2001-10-24  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
        these evaluate to true if mips_arch indicates SB-1.

22 years agomerge from gcc
DJ Delorie [Wed, 24 Oct 2001 20:32:09 +0000 (20:32 +0000)]
merge from gcc

22 years ago2001-10-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Oct 2001 20:12:36 +0000 (20:12 +0000)]
2001-10-24  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte".
        Delete use of ".size".
        * gas/mips/mips-abi32.s: Likewise.
        * gas/mips/mips-gp32-fp32-pic.s: Likewise.
        * gas/mips/mips-gp32-fp32.s: Likewise.
        * gas/mips/mips-gp32-fp64-pic.s: Likewise.
        * gas/mips/mips-gp32-fp64.s: Likewise.
        * gas/mips/mips-gp64-fp32-pic.s: Likewise.
        * gas/mips/mips-gp64-fp32.s: Likewise.
        * gas/mips/mips-gp64-fp64-pic.s: Likewise.
        * gas/mips/mips-gp64-fp64.s: Likewise.

22 years ago2001-10-24 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 24 Oct 2001 20:02:25 +0000 (20:02 +0000)]
2001-10-24  Jeff Holcomb  <jeffh@redhat.com>

Makefile.in (all-bison): Don't depend on texinfo.

22 years ago * elf32-cris.c (cris_reloc_type_lookup): Change loop to use
Hans-Peter Nilsson [Wed, 24 Oct 2001 03:39:54 +0000 (03:39 +0000)]
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
unsigned, increasing index.

22 years agodaily update
Alan Modra [Wed, 24 Oct 2001 00:00:35 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 Oct 2001 20:24:23 +0000 (20:24 +0000)]
2001-10-23  H.J. Lu <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check
m != NULL before accessing it.

22 years ago[opcodes/ChangeLog]
Chris Demetriou [Tue, 23 Oct 2001 19:20:28 +0000 (19:20 +0000)]
[opcodes/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
        "bltzall" as writing GPR 31 (since they do).

        * mips-dis.c (print_insn_arg): Calculate info->target
        where appropriate.
        (print_insn_mips): Fill in instruction info.
        (print_mips16_insn_arg): Remove unneded variable 'val'.
        Removed duplicated instruction target calculations,
        calculate once and print that result.  Use same idiom for
        masking the jump segment bits as is used in print_insn_arg.

[gas/testsuite/ChangeLog]

2001-10-21  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/beq.s: Add zero words at end of instructions so
        that objdump will print "..." when disassembling.
        * gas/mips/beq.d: Update for disassembler changes which force
        branch delay-slot nops to be printed.
        * gas/mips/bge.d: Ditto.
        * gas/mips/bgeu.d: Ditto.
        * gas/mips/blt.d: Ditto.
        * gas/mips/bltu.d: Ditto.
        * gas/mips/jal-svr4pic.d: Ditto.
        * gas/mips/jal-xgot.d: Ditto.

22 years agomerge from gcc
DJ Delorie [Tue, 23 Oct 2001 15:32:45 +0000 (15:32 +0000)]
merge from gcc

22 years ago * configure.host: Move alpha*-*-linux-gnu* entry to generic
Alan Modra [Tue, 23 Oct 2001 05:49:02 +0000 (05:49 +0000)]
* configure.host: Move alpha*-*-linux-gnu* entry to generic
entries, and match *-*-linux*.

22 years ago * internal.h: White space changes to keep lines under 80 chars.
Alan Modra [Tue, 23 Oct 2001 04:42:12 +0000 (04:42 +0000)]
* internal.h: White space changes to keep lines under 80 chars.

22 years ago * as.c (parse_args): Print the date as well for --version.
Alan Modra [Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)]
* as.c (parse_args): Print the date as well for --version.

22 years ago * elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
Alan Modra [Tue, 23 Oct 2001 03:55:24 +0000 (03:55 +0000)]
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
doesn't accept BFD_RELOC_* on some targets, eg. hppa.

* elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Always allocate .got relocs if shared.
(elf32_hppa_relocate_section): Output them too.  Similarly
consolidate .plt reloc code, and no longer initialise .plt
when a reloc is output.
(elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
when no reloc is output.

From Herbert Xu <herbert@gondor.apana.org.au>
* elf32-hppa.c (final_link_relocate): Call bfd_set_error for
unreachable branches.

22 years agodaily update
Alan Modra [Tue, 23 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 22 Oct 2001 18:45:35 +0000 (18:45 +0000)]
2001-10-22  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Use -L../libiberty for
mips*-*-linux*.
* configure: Rebuild.

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 22 Oct 2001 00:40:48 +0000 (00:40 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled only for Linux hosts.
* configure: Rebuild.

22 years agodaily update
Alan Modra [Mon, 22 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 17:14:08 +0000 (17:14 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Check if PICFLAG is defined in
../libiberty/Makefile instead of $enable_shared.
* configure: Rebuild.

22 years ago2001-10-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 07:23:24 +0000 (07:23 +0000)]
2001-10-21  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Use int for index.