OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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.

23 years ago2001-06-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 30 Jun 2001 00:34:10 +0000 (00:34 +0000)]
2001-06-29  H.J. Lu  <hjl@gnu.org>

* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
hplink->sgot is NULL before filling GOT. Checck if hplink->splt
is NULL before filling PLT.

23 years ago2001-06-28 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 29 Jun 2001 21:27:43 +0000 (21:27 +0000)]
2001-06-28  Eric Christopher <echristo@redhat.com>
    H.J. Lu  <hjl@gnu.org>

        * config/tc-mips.c (mips_arch): New. Use mips_arch instead
        of mips_cpu for the ISA selection.
        (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
        (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
(mips_tune): New.  Use mips_tune for scheduling and optimization
issues.
(append_insn): Use mips_tune and mips_arch.
(macro_build): Ditto.
(mips_ip): Ditto.
(md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
backwards compatability mips_cpu generates arch and tune.
(md_show_usage): Document new behavior.

* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
Deprecate -mcpu.

* NEWS: Update.

2001-06-28  Eric Christopher  <echristo@redhat.com>

* gas/mips/usd.d: Change for march/mtune.
* gas/mips/ulh-xgot.d: Ditto.
* gas/mips/uld.d: Ditto.
* gas/mips/trunc.d: Ditto.
* gas/mips/rol.d: Ditto.
* gas/mips/nodelay.d: Ditto.
* gas/mips/mul.d: Ditto.
* gas/mips/mul-ilocks.d: Ditto.
* gas/mips/trap20.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/lif-xgot.d: Ditto.
* gas/mips/lif-svr4pic.d: Ditto.
* gas/mips/ld-xgot.d: Ditto.
* gas/mips/ld-svr4pic.d: Ditto.
* gas/mips/ld-ilocks-addr32.d: Ditto.
* gas/mips/lb-xgot.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/lb-xgot-ilocks.d: Ditto.
* gas/mips/div.d: Ditto.
* gas/mips/break20.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/lineno.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips4010.d: Ditto.
* gas/mips/mips4650.d: Ditto.

23 years agoAdd DWARF 2.1 attributes
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes

23 years ago* elflink.h (elf_link_output_extsym): Revert 1999-04-10.
Alan Modra [Fri, 29 Jun 2001 07:00:33 +0000 (07:00 +0000)]
* elflink.h (elf_link_output_extsym): Revert 1999-04-10.

23 years ago * cgen-asm.c (cgen_parse_keyword): Allow any first character.
Geoffrey Keating [Fri, 29 Jun 2001 00:09:16 +0000 (00:09 +0000)]
* cgen-asm.c (cgen_parse_keyword): Allow any first character.
* cgen-opc.c (cgen_keyword_add): Ignore special first
character when building nonalpha_chars field.

23 years ago * readelf.c (GET_DATA_ALLOC): Remove.
Alan Modra [Thu, 28 Jun 2001 13:58:36 +0000 (13:58 +0000)]
* readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
Use get_data, and catch error return throughout file.

23 years agoDo not set finalize_syms until after the segments have been sized.
Nick Clifton [Wed, 27 Jun 2001 08:49:42 +0000 (08:49 +0000)]
Do not set finalize_syms until after the segments have been sized.
Some backends may still need to access the syms's frags in order to
adjust relaxed frags.

23 years ago * emulparams/hppa64linux.sh: New file.
Alan Modra [Wed, 27 Jun 2001 08:42:29 +0000 (08:42 +0000)]
* emulparams/hppa64linux.sh: New file.
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
* Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
(ehppa64linux.c): Add rule to make it.
Run "make dep-am".
* Makefile.in: Regenerate.

23 years agoUse MVN to build simple inverted constants.
Nick Clifton [Wed, 27 Jun 2001 08:15:52 +0000 (08:15 +0000)]
Use MVN to build simple inverted constants.

23 years ago * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
Alan Modra [Wed, 27 Jun 2001 07:02:24 +0000 (07:02 +0000)]
* write.c (fixup_segment <Difference of 2 syms same seg>): Don't
subtract MD_PCREL_FROM_SECTION for 68k.
(fixup_segment <Difference of 2 syms different seg>): Only fudge
by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.

23 years ago * write.c (fixup_segment <Difference of 2 syms same seg>): If
Alan Modra [Wed, 27 Jun 2001 03:14:47 +0000 (03:14 +0000)]
* write.c (fixup_segment <Difference of 2 syms same seg>): If
pcrel, subtract MD_PCREL_FROM_SECTION value.

23 years ago Avoid creating COPY relocs.
Alan Modra [Wed, 27 Jun 2001 02:42:09 +0000 (02:42 +0000)]
Avoid creating COPY relocs.
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
here..
(elf32_hppa_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
* elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
(IS_ABSOLUTE_RELOC): Define.
(elf32_hppa_link_hash_entry): Always include reloc_entries field.
(hppa_link_hash_newfunc): Always init it.
(elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
create COPY relocs only when the reloc is in a read-only section.
Instead, allocate space for a dynamic reloc to reference the
library symbol directly.  Keep track of space we allocate using
relocs_entries.
(hppa_discard_copies): Delete, and move code to..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf32_hppa_size_dynamic_sections): Update calls to above.
(elf32_hppa_relocate_section): Write out the dynamic relocs used
in lieu of COPY relocs.

23 years ago * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
Alan Modra [Wed, 27 Jun 2001 01:46:17 +0000 (01:46 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
here..
(elf_i386_adjust_dynamic_symbol): ..nor here..
(allocate_plt_and_got_and_discard_relocs): .. instead do so here
after gc has run.
(elf_i386_size_dynamic_sections): Fix a comment.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
involved in writing reloc out.

23 years ago * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Alan Modra [Mon, 25 Jun 2001 08:16:44 +0000 (08:16 +0000)]
* elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Ensure syms are dynamic if we might be emitting a reloc.
(allocate_plt_and_got_and_discard_relocs): Don't discard relocs
for undefweak or undefined syms..
(elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 25 Jun 2001 07:57:09 +0000 (07:57 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* stabs.c (generate_asm_file): Make local variable `len' a size_t.

23 years ago * readelf.c (dump_relocations): Print "bad symbol index" if
Alan Modra [Mon, 25 Jun 2001 03:30:26 +0000 (03:30 +0000)]
* readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.

23 years ago * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
Alan Modra [Mon, 25 Jun 2001 02:40:47 +0000 (02:40 +0000)]
* elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
redundant bfd_link_hash_defined, bfd_link_hash_defweak test.

23 years ago * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
Jakub Jelinek [Sun, 24 Jun 2001 16:43:31 +0000 (16:43 +0000)]
* config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
section symbols the same way as externs.

23 years ago2001-06-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 24 Jun 2001 16:27:00 +0000 (16:27 +0000)]
2001-06-24  H.J. Lu  <hjl@gnu.org>

* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the the change made to strip_main on
2001-05-30 by accident.

23 years ago2001-06-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 24 Jun 2001 16:06:38 +0000 (16:06 +0000)]
2001-06-24  H.J. Lu  <hjl@gnu.org>

* cpu-i960.c (scan_960_mach): Don't modify const char *. Use
strncasecmp/strcasecmp instead of strncmp/strcmp.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 24 Jun 2001 06:01:49 +0000 (06:01 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
(emit_relocations): Ditto.
(s_bss): Ditto.
(md_begin): Reformat comments to conform to the GNU standards.
(md_assemble): Ditto.

23 years ago* fixes to silence all compiler warnings.
Ben Elliston [Sun, 24 Jun 2001 01:56:48 +0000 (01:56 +0000)]
* fixes to silence all compiler warnings.

2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
(md_parse_option): Mark parameters as unused.
(md_show_usage): Ditto.
(calcop): Adjust type of `reg_prefix' to char.
(get_reg): Ditto.
(getval): Adjust type of local `c' to char.
(md_create_short_jump): Mark from_addr, to_addr params as unused.
(md_create_long_jump): Ditto.
(md_estimate_size_before_relax): Mark parameters as unused.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 24 Jun 2001 01:04:16 +0000 (01:04 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* m88k-dis.c: Format to conform to GNU coding standards.

23 years ago2001-06-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 24 Jun 2001 00:36:47 +0000 (00:36 +0000)]
2001-06-23  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Check the
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
in the regular object file and treat the weak definition as
the normal one.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 23 Jun 2001 23:02:57 +0000 (23:02 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_pseudo_table): Properly terminate the table
to allay a possible compiler warning.