OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago * config/tc-alpha.h: Fix formatting.
Kazu Hirata [Mon, 23 Jul 2001 14:02:13 +0000 (14:02 +0000)]
* config/tc-alpha.h: Fix formatting.
* config/tc-arc.c: Likewise.
* config/tc-d10v.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-w65.h: Likewise.

23 years ago * s390-dis.c: Fix formatting.
Kazu Hirata [Mon, 23 Jul 2001 13:41:14 +0000 (13:41 +0000)]
* s390-dis.c: Fix formatting.

23 years ago * symbols.c (S_GET_VALUE): Don't treat O_constant and local
Alan Modra [Mon, 23 Jul 2001 13:03:40 +0000 (13:03 +0000)]
* symbols.c (S_GET_VALUE): Don't treat O_constant and local
symbols specially.  Always resolve, adding fr_address to value.
* write.c (write_object_file): Don't add fr_address to sym values.
(relax_frag): Likewise.
(relax_segment): Likewise.
* config/obj-ieee.c (do_symbols): Likewise.
* config/tc-cris.c (md_convert_frag): Likewise.
* config/tc-fr30.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-m32r.c (md_convert_frag): Likewise.
* config/tc-m68hc11.c (md_convert_frag): Likewise.
* config/tc-mcore.c (md_convert_frag): Likewise.
* config/tc-mips.c (mips16_extended_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag_1): Likewise.
(BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
(md_relax_table): Remove first four entries.  Format.
(md_estimate_size_before_relax): Remove old_fix.  Don't bother
setting fr_var.  Simplify byte branch checks.

23 years ago * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
Alan Modra [Mon, 23 Jul 2001 12:50:22 +0000 (12:50 +0000)]
* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
"isbranch" param as all calls have it set.
(pa_parse_neg_cmpsub_cmpltr): Likewise.
(pa_parse_nonneg_add_cmpltr): Likewise.  Remember result of
strcasecmp in "nullify" var.
(pa_parse_neg_add_cmpltr): Likewise.
(pa_ip): Don't "save_s" unnecessarily.  Update calls to above
functions.  Don't print wrong conditions in error messages.

23 years ago * config/tc-s390.c (s390_force_relocation): Removed.
Andreas Jaeger [Mon, 23 Jul 2001 10:21:22 +0000 (10:21 +0000)]
* config/tc-s390.c (s390_force_relocation): Removed.

* config/tc-s390.h: Remove double declaration of
TC_FORCE_RELOCATION.

23 years ago * ldcref.c (check_section_sym_xref): New function.
Alan Modra [Mon, 23 Jul 2001 07:54:04 +0000 (07:54 +0000)]
* ldcref.c (check_section_sym_xref): New function.
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here.  Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.

23 years ago * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
Alan Modra [Mon, 23 Jul 2001 07:43:09 +0000 (07:43 +0000)]
* gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
* gas/i386/intel.d: Likewise.

23 years ago2001-07-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 22 Jul 2001 18:11:29 +0000 (18:11 +0000)]
2001-07-22  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (s_mips_end): Remove unused variables.
(s_mips_frame): Add ATTRIBUTE_UNUSED.

23 years ago2001-07-21 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 21 Jul 2001 20:46:51 +0000 (20:46 +0000)]
2001-07-21  Chris Demetriou  <cgd@broadcom.com>

      * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
      into the rest of the surrounding definitions.

23 years agoClone src/config.guess. Mention in MAINTAINERS.
Andrew Cagney [Fri, 20 Jul 2001 20:08:08 +0000 (20:08 +0000)]
Clone src/config.guess.  Mention in MAINTAINERS.

23 years agoUse stderr if config.map_file is not available. Do not print NULL trees.
Nick Clifton [Thu, 19 Jul 2001 16:41:00 +0000 (16:41 +0000)]
Use stderr if config.map_file is not available.  Do not print NULL trees.

23 years agoIf a region is specified assign it to all sections inside the overlay unless they...
Nick Clifton [Thu, 19 Jul 2001 16:21:39 +0000 (16:21 +0000)]
If a region is specified assign it to all sections inside the overlay unless    they have been assigned to the own, non-default, memory region.

23 years agoChange bug reporting email address.
Nick Clifton [Thu, 19 Jul 2001 10:43:13 +0000 (10:43 +0000)]
Change bug reporting email address.

23 years agomerge from gcc
DJ Delorie [Thu, 19 Jul 2001 00:04:29 +0000 (00:04 +0000)]
merge from gcc

23 years ago* config/default.exp (WINDRES): Add.
DJ Delorie [Wed, 18 Jul 2001 23:56:41 +0000 (23:56 +0000)]
* config/default.exp (WINDRES): Add.
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.

23 years ago * i386-dis.c (grps): Print l or w suffix, and require mem modrm
Alan Modra [Wed, 18 Jul 2001 13:33:12 +0000 (13:33 +0000)]
* i386-dis.c (grps): Print l or w suffix, and require mem modrm
for lgdt, lidt, sgdt, sidt.

23 years ago * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
Andreas Schwab [Wed, 18 Jul 2001 10:25:58 +0000 (10:25 +0000)]
* config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
.loc.
(md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
insn.
* config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.

23 years ago* no need to inform sid@sourceware about dejagnu patches.
Frank Ch. Eigler [Tue, 17 Jul 2001 15:20:21 +0000 (15:20 +0000)]
* no need to inform sid@sourceware about dejagnu patches.

23 years ago * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
Matthew Green [Tue, 17 Jul 2001 09:57:52 +0000 (09:57 +0000)]
* config/tc-i386.c (comment_chars): Don't use '/' as comment start if
TE_NetBSD.
(line_comment_chars): Set to '/' if TE_NetBSD.

23 years ago* resres.c (write_res_header): Align header size.
DJ Delorie [Tue, 17 Jul 2001 03:14:49 +0000 (03:14 +0000)]
* resres.c (write_res_header): Align header size.
(res_align_file): Calculate alignment correctly.

23 years ago* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
DJ Delorie [Tue, 17 Jul 2001 01:19:19 +0000 (01:19 +0000)]
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.

23 years agoUpdate local local copies of config.sub and config.guess.
Andrew Cagney [Tue, 17 Jul 2001 00:30:00 +0000 (00:30 +0000)]
Update local local copies of config.sub and config.guess.
Mention those files in MAINTAINERS.

23 years ago2001-07-16 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 16 Jul 2001 19:06:09 +0000 (19:06 +0000)]
2001-07-16  Philip Blundell  <philb@gnu.org>

* gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for
change to disassembler.

23 years ago2001-07-13 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 16 Jul 2001 19:04:31 +0000 (19:04 +0000)]
2001-07-13  Philip Blundell  <philb@gnu.org>

* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.

23 years ago2001-07-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 15 Jul 2001 19:33:11 +0000 (19:33 +0000)]
2001-07-15  H.J. Lu  <hjl@gnu.org>

* Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
(po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
* Makefile.in: Regenerate.

23 years agoAdd Christian Groessler as maintainer for z8k port.
Nick Clifton [Sun, 15 Jul 2001 10:30:30 +0000 (10:30 +0000)]
Add Christian Groessler as maintainer for z8k port.

23 years ago2001-07-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 14 Jul 2001 16:36:25 +0000 (16:36 +0000)]
2001-07-14  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (output_prev_sec_find): Never return
bfd_abs_section_ptr, bfd_com_section_ptr nor
bfd_und_section_ptr.

23 years agoFix failures in MIPS testsuite
Nick Clifton [Sat, 14 Jul 2001 15:50:41 +0000 (15:50 +0000)]
Fix failures in MIPS testsuite

23 years agoFix dependency for em32relf.c
Nick Clifton [Sat, 14 Jul 2001 15:47:17 +0000 (15:47 +0000)]
Fix dependency for em32relf.c

23 years agofix formatting goof in previous.
Matthew Green [Sat, 14 Jul 2001 15:36:22 +0000 (15:36 +0000)]
fix formatting goof in previous.

23 years ago * configure.tgt (i386-*-netbsdelf*): New target.
Matthew Green [Sat, 14 Jul 2001 14:45:42 +0000 (14:45 +0000)]
* configure.tgt (i386-*-netbsdelf*): New target.
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'

23 years ago * configure.in (i386-*-netbsdelf*): New target.
Matthew Green [Sat, 14 Jul 2001 14:44:39 +0000 (14:44 +0000)]
* configure.in (i386-*-netbsdelf*): New target.
configure: Regenerate.

23 years ago * emultempl/elf32.em (output_prev_sec_find): New.
Jakub Jelinek [Fri, 13 Jul 2001 07:25:18 +0000 (07:25 +0000)]
* emultempl/elf32.em (output_prev_sec_find): New.
(place_orphan): Use it.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:26:42 +0000 (21:26 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen-asm.in: Include "xregex.h" always to enable the libiberty
        regex support.
        (@arch@_cgen_build_insn_regex): New routine from Graydon.
        (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
        to verify if it is worth parsing the insn as insn "x".  Also update
        error message when insn is not a recognized format of the insn vs
        when the insn is completely unrecognized.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:20:59 +0000 (21:20 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.

23 years ago2001-07-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 12 Jul 2001 15:03:27 +0000 (15:03 +0000)]
2001-07-12  H.J. Lu  <hjl@gnu.org>

* ld-selective/selective.exp: Mark selective1, selective2,
selective4 and selective5 xfail on alpha*-*.

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 12 Jul 2001 04:24:44 +0000 (04:24 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
flags when creating the reloc section if the ALLOC flag in the
source section is set.

23 years ago* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler [Thu, 12 Jul 2001 02:32:25 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years agosje patch for 32-bit IA-64 ELF relocs for HPUX
Jim Wilson [Thu, 12 Jul 2001 01:24:14 +0000 (01:24 +0000)]
sje patch for 32-bit IA-64 ELF relocs for HPUX
* reloc.c (bfd_reloc_code_type): Add IA64 relocs
BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elfxx-ia64.c (ia64_howto_table): Define how to handle
new relocations.
(elfNN_ia64_reloc_type_lookup): Handle new relocations.
(elfNN_ia64_check_relocs): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 11 Jul 2001 19:50:56 +0000 (19:50 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* ldmain.c (main): Fix typos in the last change.

23 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
Jakub Jelinek [Wed, 11 Jul 2001 19:40:32 +0000 (19:40 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
R_SPARC_UA64.
(elf32_sparc_check_relocs): Likewise.
Only create .rela section for alloced sections in shared libraries.
(elf32_sparc_relocate_section): Likewise.
Remove redundant check.
Optimize unaligned reloc usage.
* elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
check.

* testsuite/gas/sparc/unalign.s: Remove .uaxword test.
* testsuite/gas/sparc/unalign.d: Adjust accordingly.

23 years ago*** empty log message ***
John Healy [Wed, 11 Jul 2001 19:35:17 +0000 (19:35 +0000)]
*** empty log message ***

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 11 Jul 2001 19:03:10 +0000 (19:03 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
ALLOC|LOAD flags as the source section for debugging sections
when creating the reloc section.

23 years ago2001-07-11 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek [Wed, 11 Jul 2001 14:19:05 +0000 (14:19 +0000)]
2001-07-11  Jakub Jelinek  <jakub@redhat.com>

* ldmain.c (main): Disallow -F and -f without -shared.

23 years agoDon't merge if the storage class of the non-debug symbol is C_NULL.
Nick Clifton [Wed, 11 Jul 2001 09:26:27 +0000 (09:26 +0000)]
Don't merge if the storage class of the non-debug symbol is C_NULL.

23 years agoAdd notes about branch checkins
Nick Clifton [Wed, 11 Jul 2001 09:06:49 +0000 (09:06 +0000)]
Add notes about branch checkins

23 years agoCheck for the output_bfd not having any coff_data structure allocated to it.
Nick Clifton [Wed, 11 Jul 2001 08:11:16 +0000 (08:11 +0000)]
Check for the output_bfd not having any coff_data structure allocated to it.

23 years agomerge from gcc
DJ Delorie [Wed, 11 Jul 2001 00:15:54 +0000 (00:15 +0000)]
merge from gcc

23 years ago2001-07-10 John Healy <jhealy@redhat.com>
John Healy [Tue, 10 Jul 2001 21:49:11 +0000 (21:49 +0000)]
2001-07-10  John Healy  <jhealy@redhat.com>

* config/obj-elf.c (obj_elf_section): md_elf_section_change_data_hook
added to grab section information after it's been extracted from the
.section directive.

23 years agoFix grammatical errors
Nick Clifton [Tue, 10 Jul 2001 10:11:35 +0000 (10:11 +0000)]
Fix grammatical errors

23 years agoUse FOPEN_.. macros in calls to fopen().
Nick Clifton [Tue, 10 Jul 2001 09:45:50 +0000 (09:45 +0000)]
Use FOPEN_.. macros in calls to fopen().

23 years ago2001-07-09 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 10 Jul 2001 00:38:16 +0000 (00:38 +0000)]
2001-07-09  David O'Brien  <obrien@FreeBSD.org>
* emultempl/elf32.em: Do not assuming that contents of the buffer
returned from basename function will remain unchanged accross other
function calls.

NOTE: DJ Delorie recomends doing a basename()->lbasename() conversion.

Approved by:  DJ Delorie
              <200107100030.UAA01223@envy.delorie.com>

23 years ago2001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de>
Andreas Jaeger [Mon, 9 Jul 2001 14:22:11 +0000 (14:22 +0000)]
2001-07-09  Andreas Jaeger  <aj@suse.de>, Karsten Keil <kkeil@suse.de>

* i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
(OP_J): Use bfd_vma for mask to work properly with 64 bits.
(op_address,op_riprel): Use bfd_vma to handle 64 bits.

23 years agoAdd .incbin pseudo op
Nick Clifton [Mon, 9 Jul 2001 08:19:18 +0000 (08:19 +0000)]
Add .incbin pseudo op

23 years agoOnly set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
Nick Clifton [Sat, 7 Jul 2001 15:43:04 +0000 (15:43 +0000)]
Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.

23 years ago2001-07-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07  Ben Elliston  <bje@redhat.com>

* m88k.h: Clean up and reformat. Remove unused code.

23 years ago2001-07-06 John Healy <jhealy@redhat.com>
John Healy [Fri, 6 Jul 2001 19:09:23 +0000 (19:09 +0000)]
2001-07-06  John Healy  <jhealy@redhat.com>

        * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
        set of fixups to be stored.
        (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
        restored to be chosen from any that are saved.
        (gas_cgen_swap_fixups): Modified to allow the current set of
        fixups to be swapped with any other set that has been saved.
        (gas_cgen_initialize_saved_fixups_array): New routine.
        * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
        gas_cgen_restore_fixups, and gas_cgen_swap_fixups.  Added definitions
        or MAX_SAVED_FIXUP_CHAINS.
        * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
        store, swap and restore fuctions to reflect the new interface.

23 years agoCatch and ignore empty, ineffectual alignment frags when deciding if a
Nick Clifton [Fri, 6 Jul 2001 08:21:35 +0000 (08:21 +0000)]
Catch and ignore empty, ineffectual alignment frags when deciding if a
branch can be short.

23 years agoAnd remove the seconf accidental patch commission.
Nick Clifton [Fri, 6 Jul 2001 08:05:27 +0000 (08:05 +0000)]
And remove the seconf accidental patch commission.

23 years agoRemove patch accidentally checked in with readelf.c patch
Nick Clifton [Fri, 6 Jul 2001 08:01:17 +0000 (08:01 +0000)]
Remove patch accidentally checked in with readelf.c patch

23 years ago32-bit unwind data for ia64-hpux, from Steve Ellcey
Jim Wilson [Fri, 6 Jul 2001 07:32:42 +0000 (07:32 +0000)]
32-bit unwind data for ia64-hpux, from Steve Ellcey
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
and SPECIAL_SECTION_FINI_ARRAY.
(special_section_name): Add .init_array and .fini_array.
(md_pseudo_table): Add init_array and fini_array.
(md): Add pointer_size and pointer_size_shift fields.
(setup_unwind_header): New static function.
(output_unw_records): Modify to use setup_unwind_header.
(generate_unwind_image, dot_endp): Modify to use md.pointer_size and
md.pointer_size_shift.
(md_begin): Initialize md.pointer_size and md.pointer_size_shift.

23 years agoOops, missed committing entry for 2001-07-05 change.
Alan Modra [Fri, 6 Jul 2001 02:02:42 +0000 (02:02 +0000)]
Oops, missed committing entry for 2001-07-05 change.

23 years agoFix ia64-linux fortran common linking problem.
Jim Wilson [Thu, 5 Jul 2001 22:40:16 +0000 (22:40 +0000)]
Fix ia64-linux fortran common linking problem.
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
the section of the bigger symbol.

23 years agoFix ia64-linux binutils readelf -s testsuite failure.
Jim Wilson [Thu, 5 Jul 2001 18:27:55 +0000 (18:27 +0000)]
Fix ia64-linux binutils readelf -s testsuite failure.
* syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.

23 years agomerge from gcc
DJ Delorie [Thu, 5 Jul 2001 17:29:17 +0000 (17:29 +0000)]
merge from gcc

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 13:12:23 +0000 (13:12 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* Makefile.am (CPUDIR): Define.
(stamp-m32r): Update dependencies.
(stamp-fr30): Ditto.
(stamp-openrisc): Ditto.
* Makefile.in: Regenerate.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 11:28:57 +0000 (11:28 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* README (Supported platforms): m88k no longer suffers bitrot.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 11:00:28 +0000 (11:00 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
(default_target_assemble): Likewise.

23 years agoFor sections containing uninitialised data, only set their size to s_paddr
Nick Clifton [Thu, 5 Jul 2001 10:52:25 +0000 (10:52 +0000)]
For sections containing uninitialised data, only set their size to s_paddr
if this does not reset their size to zero.  MS's latest compilers will set
s_paddr to zero.

23 years agoDisplay the contents of a .debug.macinfo section
Nick Clifton [Thu, 5 Jul 2001 07:49:05 +0000 (07:49 +0000)]
Display the contents of a .debug.macinfo section

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 07:28:06 +0000 (07:28 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".

23 years ago2001-07-05 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 5 Jul 2001 07:27:16 +0000 (07:27 +0000)]
2001-07-05  H.J. Lu  <hjl@gnu.org>

* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.

23 years ago * struc-symbol.h (struct local_symbol): Rename lsy_offset to
Alan Modra [Thu, 5 Jul 2001 05:49:13 +0000 (05:49 +0000)]
* struc-symbol.h (struct local_symbol): Rename lsy_offset to
lsy_value.  Correct typos in comments.
* symbols.c (local_symbol_make): Update for name change.
(local_symbol_convert): Likewise.
(colon): Likewise.
(S_GET_VALUE): Likewise.
(S_SET_VALUE): Likewise.
(print_symbol_value_1): Likewise.
(resolve_symbol_value): Likewise.  Don't divide local sym values
by OCTETS_PER_BYTE twice.

23 years agoFix ia64-linux gas ehopt testsuite failure.
Jim Wilson [Thu, 5 Jul 2001 03:34:42 +0000 (03:34 +0000)]
Fix ia64-linux gas ehopt testsuite failure.
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.

23 years agoFix 2 ia64-linux gas testsuite failures.
Jim Wilson [Thu, 5 Jul 2001 02:30:21 +0000 (02:30 +0000)]
Fix 2 ia64-linux gas testsuite failures.
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
sched branches.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 00:36:50 +0000 (00:36 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* read.c (s_fill): Correct spelling error in comments.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 00:25:28 +0000 (00:25 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* doc/c-m88k.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Set M880X0.
* doc/as.texinfo: Hook in m88k-dependent documentation.

23 years ago2001-07-04 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 4 Jul 2001 12:32:07 +0000 (12:32 +0000)]
2001-07-04  Eric Christopher  <echristo@redhat.com>

* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.

* config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
and rm5721 as valid cpu strings.
(md_show_usage): Add rm5200, rm5231, rm5261, rm5721.

23 years ago[gas]
Richard Sandiford [Wed, 4 Jul 2001 09:49:29 +0000 (09:49 +0000)]
[gas]
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
if it's expected to be non-zero.
[gas/testsuite]
* gas/mips/elf-rel3.s: Add zero word to end of file.

23 years ago2001-07-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 4 Jul 2001 07:15:20 +0000 (07:15 +0000)]
2001-07-04  H.J. Lu  <hjl@gnu.org>

* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
Handle bfd_mach_mips4400, bfd_mach_mips4600 and
bfd_mach_mips5000.

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 23:22:20 +0000 (23:22 +0000)]
2001-07-03  H.J. Lu  <hjl@gnu.org>

* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2001-07-03. It creates dynamic entries even for static binaries.

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 18:49:04 +0000 (18:49 +0000)]
2001-07-03  H.J. Lu  <hjl@gnu.org>

* gas/mips/lb-xgot-ilocks.d: Add -march=r3900.

23 years agoFix encoding of clf instruction
Nick Clifton [Tue, 3 Jul 2001 18:37:39 +0000 (18:37 +0000)]
Fix encoding of clf instruction

23 years ago2001-07-03 Jakub Jelinek <jakub@redhat.com>
H.J. Lu [Tue, 3 Jul 2001 17:40:14 +0000 (17:40 +0000)]
2001-07-03  Jakub Jelinek  <jakub@redhat.com>

* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
(DYNAMIC): Use it to reserve few dynamic entries for
post-linking tools.

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 16:35:34 +0000 (16:35 +0000)]
2001-07-03  H.J. Lu <hjl@gnu.org>

* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.

23 years agoSupport DJGPP COFF targets in bfd_get_sign_extend_vma()
Nick Clifton [Tue, 3 Jul 2001 16:27:45 +0000 (16:27 +0000)]
Support DJGPP COFF targets in bfd_get_sign_extend_vma()

23 years agoSkip section symbols from sections being discarded
Nick Clifton [Tue, 3 Jul 2001 15:49:46 +0000 (15:49 +0000)]
Skip section symbols from sections being discarded

23 years agoFix seg fault by replacing symbol_get_frag() with fscan->fx_frag.
Nick Clifton [Tue, 3 Jul 2001 15:22:19 +0000 (15:22 +0000)]
Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag.

23 years agoChange MIPS maintainer to Erci Christopher
Nick Clifton [Tue, 3 Jul 2001 15:08:42 +0000 (15:08 +0000)]
Change MIPS maintainer to Erci Christopher

23 years agoFix mips16 testsuite failure by allowing finalize_syms to be set before
Nick Clifton [Tue, 3 Jul 2001 15:04:19 +0000 (15:04 +0000)]
Fix mips16 testsuite failure by allowing finalize_syms to be set before
size_segs is called.

23 years ago * config/tc-ppc.c: Formatting fixes.
Alan Modra [Mon, 2 Jul 2001 10:54:49 +0000 (10:54 +0000)]
* config/tc-ppc.c: Formatting fixes.

23 years agoSupport DWARF 2.1 tags, encodings, languages.
Nick Clifton [Sun, 1 Jul 2001 08:53:15 +0000 (08:53 +0000)]
Support DWARF 2.1 tags, encodings, languages.

23 years ago2001-07-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 1 Jul 2001 06:36:43 +0000 (06:36 +0000)]
2001-07-01  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
they cause some subtle breakage.  Will fix them again later.

23 years ago* fix tabs in this change:
Ben Elliston [Sun, 1 Jul 2001 06:32:07 +0000 (06:32 +0000)]
* fix tabs in this change:
  2001-06-28  Eric Christopher <echristo@redhat.com>
              H.J. Lu  <hjl@gnu.org>

23 years ago2001-07-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 1 Jul 2001 06:16:55 +0000 (06:16 +0000)]
2001-07-01  Ben Elliston  <bje@redhat.com>

* gas/m88k/allinsn.s: New file.
* gas/m88k/allinsn.d: Likewise.
* gas/m88k/m88k.exp: Test with allinsn.s also.

23 years ago * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
Geoffrey Keating [Sun, 1 Jul 2001 02:48:46 +0000 (02:48 +0000)]
* cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.

23 years agoTreat a .ln directive outside of a function as a .appline directive.
Nick Clifton [Sat, 30 Jun 2001 10:09:40 +0000 (10:09 +0000)]
Treat a .ln directive outside of a function as a .appline directive.

23 years agoRemerge with gcc
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc

23 years ago * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
Alan Modra [Sat, 30 Jun 2001 04:05:13 +0000 (04:05 +0000)]
* elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
* elf.c (_bfd_elfcore_section_from_phdr): Remove.
(_bfd_elfcore_make_pseudosection): Expedite tail-call.
(elfcore_grok_prstatus): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(bfd_get_elf_phdr_upper_bound): Likewise.
(elfcore_make_note_pseudosection): Formatting.
(_bfd_elfcore_strndup): Formatting.
* elf32-mips.c (mips_elf_sym_is_global): Formatting.
(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.

23 years ago * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
Alan Modra [Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)]
* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
(struct elf_backend_data): Add elf_backend_grok_prstatus
and elf_backend_grok_psinfo.
* elf.c (_bfd_elfcore_make_pseudosection): New function.
(elfcore_grok_prstatus): Use it.
(elfcore_make_note_pseudosection): Likewise.
(elfcore_strndup):  Rename to...
(_bfd_elfcore_strndup): Here, and make global.
(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
(elfcore_grok_note): Call elf_backend_grok_prstatus
and elf_backend_grok_psinfo if available.
* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
(_bfd_elf32_mips_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
(elf_backend_grok_psinfo): Likewise.
(elfNN_bed): Include elf_backend_grok_prstatus and
elf_backend_grok_psinfo.