OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
Alan Modra [Fri, 20 Jun 2003 05:33:26 +0000 (05:33 +0000)]
* emultempl/ppc64elf.em: Convert to C90 function definitions, remove
unnecessary prototypes and casts.

21 years ago * elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
Alan Modra [Fri, 20 Jun 2003 05:30:46 +0000 (05:30 +0000)]
* elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts.  Replace PTR with void *.  Format copyright.
Mention ABI links.
(struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt.
(ppc_type_of_stub): Make r_type an enum.
(ppc64_elf_size_stubs): Likewise.
* elf64-ppc.h: Remove PARAMS macro.

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

21 years agomerge from gcc
DJ Delorie [Thu, 19 Jun 2003 20:05:36 +0000 (20:05 +0000)]
merge from gcc

21 years agoRevert 2003-06-11 change.
Thiemo Seufer [Thu, 19 Jun 2003 16:43:38 +0000 (16:43 +0000)]
Revert 2003-06-11 change.

21 years ago * elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of
Alan Modra [Thu, 19 Jun 2003 15:11:26 +0000 (15:11 +0000)]
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of
elf hash tab fields.

21 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
Alan Modra [Thu, 19 Jun 2003 13:51:05 +0000 (13:51 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
statistics from ppc64_elf_build_stubs.

21 years ago * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype.
Alan Modra [Thu, 19 Jun 2003 13:50:35 +0000 (13:50 +0000)]
* elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype.
(ppc64_elf_info_to_howto): Likewise.
(ppc64_elf_build_stubs): Add "stats" param, and print statistics.
* elf64-ppc.h (ppc64_elf_build_stubs): Adjust prototype.

21 years ago * z8k-dis.c (instr_data_s): Change tabl_index from long to int.
Christian Groessler [Thu, 19 Jun 2003 13:46:37 +0000 (13:46 +0000)]
* z8k-dis.c (instr_data_s): Change tabl_index from long to int.
(print_insn_z8k): Correctly check return value from
z8k_lookup_instr call.
(unparse_instr): Handle CLASS_IRO case.
* z8kgen.c: Fix function definitions.  Fix formatting.
(opt): Add brk opcode alias for non-simulator breakpoint.  Add
missing and fix existing in/out and sin/sout opcode definitions.
(args): "@ri", "@ro" - add CLASS_IRO register usage for in/out
opcodes.
(internal): Check p->flags for non-zero before dereferencing it.
(gas): Add CLASS_IRO line.  Insert new OPC_xxx lines for the added
opcodes and renumber the remaining lines repectively.
(main): Remove "-d" command line switch.
* z8k-opc.h: Regenerate with new z8kgen.c.

21 years ago * config/tc-z8k.c (parse_reg): Invalid registers generate an error
Christian Groessler [Thu, 19 Jun 2003 13:44:42 +0000 (13:44 +0000)]
* config/tc-z8k.c (parse_reg): Invalid registers generate an error
now, not only a warning.  Add some more checks to detect invalid
registers.
(get_operand): For CLASS_IR remember register size in mode struct.
(get_specific): Handle new CLASS_IRO type.  Add register size
checks for CLASS_IR and CLASS_IRO.
        (md_apply_fix3): Fix undefined usage of buf.

21 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32
Alan Modra [Thu, 19 Jun 2003 13:21:53 +0000 (13:21 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32
reloc overflow on discarded eh_frame entries.

21 years ago * emultempl/ppc64elf.em (build_section_lists): Check return status
Alan Modra [Thu, 19 Jun 2003 11:51:55 +0000 (11:51 +0000)]
* emultempl/ppc64elf.em (build_section_lists): Check return status
from ppc64_elf_next_input_section.

21 years ago * elf64-ppc.c (toc_adjusting_stub_needed): New function.
Alan Modra [Thu, 19 Jun 2003 11:49:02 +0000 (11:49 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): New function.
(ppc64_elf_next_input_section): Use it here to set has_gp_reloc.
Return error condition.
(ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections
that have has_gp_reloc set.
(struct ppc_link_hash_table): Add stub_count.
(ppc_build_one_stub): Increment it.
(ppc64_elf_link_hash_table_create): zmalloc rather than clearing
individual fields.
* elf64-ppc.h (ppc64_elf_next_input_section): Update prototype.

21 years agooops - remove spurious debugging left in previous delta
Nick Clifton [Thu, 19 Jun 2003 10:24:52 +0000 (10:24 +0000)]
oops - remove spurious debugging left in previous delta

21 years agoWhen printing DEC_5 values, if the number is bigger than 99999 switch to using
Nick Clifton [Thu, 19 Jun 2003 10:23:39 +0000 (10:23 +0000)]
When printing DEC_5 values, if the number is bigger than 99999 switch to using
hexadecimal notation.

21 years agoReplace occurances of testprog with $test_prog. Initialise this variable to
Nick Clifton [Thu, 19 Jun 2003 07:45:50 +0000 (07:45 +0000)]
Replace occurances of testprog with $test_prog.  Initialise this variable to
testprog.exe on Cygwin targeted systems.

21 years agoFix typo.
Michael Snyder [Thu, 19 Jun 2003 02:56:24 +0000 (02:56 +0000)]
Fix typo.

21 years agodaily update
Alan Modra [Thu, 19 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
Alan Modra [Wed, 18 Jun 2003 23:05:44 +0000 (23:05 +0000)]
* config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
(ppc_change_csect): Add align param.  Align frag at start of csect.
(ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
(ppc_frob_section): Align vma.

21 years ago * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
Jakub Jelinek [Wed, 18 Jun 2003 17:58:48 +0000 (17:58 +0000)]
* dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
(output_cie): Don't pad.
(output_fde): Add align argument.  Pad to align if not 0.
(cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
Pad just last FDE to EH_FRAME_ALIGNMENT.

* gas/cfi/cfi-i386.d: Regenerated.
* gas/cfi/cfi-common-1.d: Regenerated.
* gas/cfi/cfi-common-2.d: Regenerated.
* gas/cfi/cfi-common-3.d: Regenerated.
* gas/cfi/cfi-x86_64.d: Regenerated.
* gas/cfi/cfi-alpha-1.d: Regenerated.
* gas/cfi/cfi-alpha-2.d: Regenerated.
* gas/cfi/cfi-alpha-3.d: Regenerated.

21 years ago * config/tc-s390.c (init_default_arch): Make current_mode_mask
Martin Schwidefsky [Wed, 18 Jun 2003 11:18:46 +0000 (11:18 +0000)]
* config/tc-s390.c (init_default_arch): Make current_mode_mask
dependent on s390_arch_size and current_cpu dependent on
current_mode_mask.

21 years agoAdd c4x as an architecture variant to tic4x.
Nick Clifton [Wed, 18 Jun 2003 09:49:59 +0000 (09:49 +0000)]
Add c4x as an architecture variant to tic4x.

21 years ago * elflink.h (elf_gc_record_vtentry): Revert last change. Correct
Alan Modra [Wed, 18 Jun 2003 05:18:06 +0000 (05:18 +0000)]
* elflink.h (elf_gc_record_vtentry): Revert last change.  Correct
size calculation from addend.  Round size up.

21 years ago * elf32-cris.c (cris_elf_relocate_section) <case
Hans-Peter Nilsson [Wed, 18 Jun 2003 04:14:14 +0000 (04:14 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case
R_CRIS_32_GOTREL>: When linking a program, don't complain about a
symbol from a normal object or an undefined weak symbol.

21 years ago * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,
Hans-Peter Nilsson [Wed, 18 Jun 2003 04:11:13 +0000 (04:11 +0000)]
* ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,
ld-cris/locref2.s: New tests.

21 years ago * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain
Hans-Peter Nilsson [Wed, 18 Jun 2003 03:38:05 +0000 (03:38 +0000)]
* ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain
readelf as found using default path.

21 years ago * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
Alan Modra [Wed, 18 Jun 2003 03:27:18 +0000 (03:27 +0000)]
* config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
".TOC." from PPC64_TOC relocs.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on
Alan Modra [Wed, 18 Jun 2003 03:26:22 +0000 (03:26 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on
R_PPC64_TOC relocs.

21 years ago* configure.in: Update testsuite_flags to new location.
DJ Delorie [Wed, 18 Jun 2003 02:25:31 +0000 (02:25 +0000)]
* configure.in: Update testsuite_flags to new location.
* configure. Regenerate.

21 years ago * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before
Alan Modra [Wed, 18 Jun 2003 01:55:57 +0000 (01:55 +0000)]
* lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before
trying to trim ld path.
(default_ld_compile): Likewise for cc.

21 years agobfd/
H.J. Lu [Wed, 18 Jun 2003 00:30:04 +0000 (00:30 +0000)]
bfd/

2003-06-17  H.J. Lu <hongjiu.lu@intel.com>

* section.c (struct sec): Put back kept_section.
(STD_SECTION): Put back kept_section initialization.
* bfd-in2.h: Regenerate.

* elflink.h (elf_link_input_bfd): Also check discarded linkonce
sections for relocateable output. Use kept_section to preserve
debug information discarded by linkonce.

ld/

2003-06-17  H.J. Lu <hongjiu.lu@intel.com>

* ldlang.c (section_already_linked): Put back assignment of
kept_section.

21 years agodaily update
Alan Modra [Wed, 18 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-17 Roland McGrath <roland@redhat.com>
H.J. Lu [Tue, 17 Jun 2003 23:43:18 +0000 (23:43 +0000)]
2003-06-17  Roland McGrath  <roland@redhat.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Support
segment-relative relocation between different segments.

21 years ago * lib/ld-lib.exp (default_ld_simple_link): Trim ld path before
Alan Modra [Tue, 17 Jun 2003 23:26:57 +0000 (23:26 +0000)]
* lib/ld-lib.exp (default_ld_simple_link): Trim ld path before
looking for gcc match.
(default_ld_compile): Likewise for cc.

21 years ago (sync with gcc)
Nathanael Nerode [Tue, 17 Jun 2003 21:59:09 +0000 (21:59 +0000)]
(sync with gcc)
* Makefile.tpl: Remove BUILD_CC stuff.
* Makefile.in: Regenerate.

21 years agomerge from gcc
DJ Delorie [Tue, 17 Jun 2003 16:31:07 +0000 (16:31 +0000)]
merge from gcc

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc
Alan Modra [Tue, 17 Jun 2003 14:22:46 +0000 (14:22 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc
optimizations earlier.

21 years ago * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index.
Alan Modra [Tue, 17 Jun 2003 13:43:02 +0000 (13:43 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index.
Restore previous input_list type.
(ppc64_elf_link_hash_table_create): Undo last change.
(ppc64_elf_setup_section_lists): Reinstate code setting up input lists
per output section, but don't bother with bfd_abs_section marker.
(ppc64_elf_next_input_section): Adjust for multiple input section
lists.
(group_sections): Likewise.

21 years ago * elf64-ppc.c (ppc64_elf_relocation_section): Ensure
Jakub Jelinek [Tue, 17 Jun 2003 12:39:41 +0000 (12:39 +0000)]
* elf64-ppc.c (ppc64_elf_relocation_section): Ensure
*r_offset == r_addend for RELATIVE relocs against .got.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs.
Alan Modra [Tue, 17 Jun 2003 12:37:26 +0000 (12:37 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs.

21 years agoCatch and ignore an ARM_26D reloc.
Nick Clifton [Tue, 17 Jun 2003 12:05:33 +0000 (12:05 +0000)]
Catch and ignore an ARM_26D reloc.

21 years agoTweak expected results for i386-pc-cygwin target.
Nick Clifton [Tue, 17 Jun 2003 11:46:34 +0000 (11:46 +0000)]
Tweak expected results for i386-pc-cygwin target.

21 years agoAllow system-specific gunk after canonical file format.
Nick Clifton [Tue, 17 Jun 2003 11:16:16 +0000 (11:16 +0000)]
Allow system-specific gunk after canonical file format.

21 years ago* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
Nick Clifton [Tue, 17 Jun 2003 11:01:17 +0000 (11:01 +0000)]
* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.

21 years ago(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_used
Nick Clifton [Tue, 17 Jun 2003 09:57:18 +0000 (09:57 +0000)]
(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_used
array to allow for the accessing the largest element.

21 years ago * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify
Alan Modra [Tue, 17 Jun 2003 09:10:41 +0000 (09:10 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Remove top_index.  Modify
input_list.
(ppc64_elf_link_hash_table_create): Init input_list here.
(ppc64_elf_setup_section_lists): Remove code setting up input lists
per output section.  Set toc_off for abs and other standard sections.
(ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc.
(ppc64_elf_next_input_section): Adjust for single input section list.
Don't set toc_curr from input bfds that haven't set elf_gp.
(group_sections): Adjust for single input section list.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.
Alan Modra [Tue, 17 Jun 2003 00:25:45 +0000 (00:25 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.

21 years ago * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
Alan Modra [Tue, 17 Jun 2003 00:14:24 +0000 (00:14 +0000)]
* config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.

21 years agodaily update
Alan Modra [Tue, 17 Jun 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
Thiemo Seufer [Mon, 16 Jun 2003 12:13:10 +0000 (12:13 +0000)]
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
(macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
s_cprestore,s_cpadd): Use them.

21 years ago * ld-powerpc/tlsexetoc.d: Update.
Alan Modra [Mon, 16 Jun 2003 10:51:07 +0000 (10:51 +0000)]
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlstoc.d: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel
Alan Modra [Mon, 16 Jun 2003 10:50:22 +0000 (10:50 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel
tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a
dtprel entry.  Ensure TLS_LD DTPMOD reloc has a zero addend.  Write
got section for RELATIVE relocs.  Fix wrong comment.  Change condition
under which dynamic relocs update the section contents.

21 years ago * configure.in: Add specific case for cris-*-linux-gnu* with
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:38:58 +0000 (00:38 +0000)]
* configure.in: Add specific case for cris-*-linux-gnu* with
em=linux.
* configure: Regenerate.
* config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
if TE_LINUX defined, else FALSE.
(bfd_boolean demand_register_prefix): Set default from
DEFAULT_CRIS_AXIS_LINUX_GNU.
(symbols_have_leading_underscore): Similar.
* config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.

21 years ago * configure.tgt: Add specific case for cris-*-linux-gnu*
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:03:48 +0000 (00:03 +0000)]
* configure.tgt: Add specific case for cris-*-linux-gnu*
with crislinux emulation only.

21 years ago * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:02:36 +0000 (00:02 +0000)]
* ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.
* ld-cris/noglob1.d: Ditto.
* ld-cris/badgotr1.d: Pass --underscore to gas.

21 years agodaily update
Alan Modra [Mon, 16 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * gas/cris: Match output having $ register prefix. Deal with
Hans-Peter Nilsson [Sun, 15 Jun 2003 23:46:37 +0000 (23:46 +0000)]
* gas/cris: Match output having $ register prefix.  Deal with
target variants default requiring register prefix on input.

21 years agodaily update
Alan Modra [Sun, 15 Jun 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 14 Jun 2003 14:07:21 +0000 (14:07 +0000)]
2003-06-14  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-12 version.
* config.sub: Update to 2003-06-13 version.

21 years agodaily update
Alan Modra [Sat, 14 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.
Richard Earnshaw [Fri, 13 Jun 2003 16:45:55 +0000 (16:45 +0000)]
* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.

21 years ago* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
Richard Earnshaw [Fri, 13 Jun 2003 15:20:26 +0000 (15:20 +0000)]
* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
FPU_ARCH_FPA for AOUT.
(md_begin): Don't try to guess the floating point architecture from
the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

21 years agoAdd i386-netbsd-gnu target.
Nick Clifton [Fri, 13 Jun 2003 13:17:58 +0000 (13:17 +0000)]
Add i386-netbsd-gnu target.

21 years ago(GNU_ABI_TAG_NETBSD): New tag.
Nick Clifton [Fri, 13 Jun 2003 13:07:51 +0000 (13:07 +0000)]
(GNU_ABI_TAG_NETBSD): New tag.
(GNU_ABI_TAG_FREEBSD): New tag.

21 years agomerge from gcc
DJ Delorie [Fri, 13 Jun 2003 01:50:48 +0000 (01:50 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Fri, 13 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * ld-mips-elf/elf-rel-got-n64-linux.d: New file.
Thiemo Seufer [Thu, 12 Jun 2003 17:07:14 +0000 (17:07 +0000)]
* ld-mips-elf/elf-rel-got-n64-linux.d: New file.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file.
* ld-mips-elf/mips-elf.exp: Use the new files for Linux.

21 years ago * MAINTAINERS: Add myself as MIPS co-maintainer.
Thiemo Seufer [Thu, 12 Jun 2003 16:47:09 +0000 (16:47 +0000)]
* MAINTAINERS: Add myself as MIPS co-maintainer.

21 years agoMerge these:
DJ Delorie [Thu, 12 Jun 2003 16:06:52 +0000 (16:06 +0000)]
Merge these:
2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure. Regenerate.

2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.

21 years ago2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Jun 2003 14:41:29 +0000 (14:41 +0000)]
2003-06-12  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.

21 years ago * doc/as.texinfo (Comm): Added @node. Moved before CFI
Tom Tromey [Thu, 12 Jun 2003 14:32:19 +0000 (14:32 +0000)]
* doc/as.texinfo (Comm): Added @node.  Moved before CFI
directives node.

21 years agoAdd new switch to objcopy: --add-gnu-debuglink=<file>
Nick Clifton [Thu, 12 Jun 2003 07:23:31 +0000 (07:23 +0000)]
Add new switch to objcopy: --add-gnu-debuglink=<file>
Allows packages to be shipped in two forms, a stripped executable and debug
info file.

21 years ago(i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): New target (was i[3-7]86...
Nick Clifton [Thu, 12 Jun 2003 07:21:50 +0000 (07:21 +0000)]
(i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): New target (was i[3-7]86-*-openbsd* before).
(i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec.
(vax-*-openbsd*): New target.

21 years ago * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
Richard Sandiford [Thu, 12 Jun 2003 05:48:06 +0000 (05:48 +0000)]
* configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
to $targ_extra_libpath.

21 years ago * config/tc-mips.c (append_insn): In a compound relocation, take the
Richard Sandiford [Thu, 12 Jun 2003 05:45:50 +0000 (05:45 +0000)]
* config/tc-mips.c (append_insn): In a compound relocation, take the
field width from the final (outermost) operator.

21 years agodaily update
Alan Modra [Thu, 12 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * dw2gencfi.c (struct cfi_escape_data): New.
Richard Henderson [Wed, 11 Jun 2003 23:16:58 +0000 (23:16 +0000)]
    * dw2gencfi.c (struct cfi_escape_data): New.
        (cfi_add_CFA_nop): Remove.
        (CFI_escape, dot_cfi_escape): New.
        (dot_cfi): Remove nop.
        (cfi_pseudo_table): Remove nop; add escape.
        (output_cfi_insn): Likewise.
        (select_cie_for_fde): Stop on escape.
        * dw2gencfi.h (cfi_add_CFA_nop): Remove.
        * read.c, read.h (do_parse_cons_expression): New.
        * doc/as.texinfo (.cfi_escape): New.

        * gas/cfi/cfi-common-3.[ds]: New.
        * gas/cfi/cfi.exp: Run it.

21 years ago * ld-mips-elf/relax-jalr.s: Fix testsuite breakage.
Thiemo Seufer [Wed, 11 Jun 2003 22:51:59 +0000 (22:51 +0000)]
* ld-mips-elf/relax-jalr.s: Fix testsuite breakage.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.

21 years ago * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options
Thiemo Seufer [Wed, 11 Jun 2003 21:01:50 +0000 (21:01 +0000)]
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options
for n32, too.
(MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too.
(mips_elf_rel_dyn_section): Use appropriate section alignment.
(mips_elf_create_got_section): Likewise.
(_bfd_mips_elf_create_dynamic_sections): Likewise.
* ld-mips-elf/multi-got-1.d: Adjust addresses.
* ld-mips-elf/rel32-n32.d: Likewise.

21 years ago * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
Thiemo Seufer [Wed, 11 Jun 2003 20:59:09 +0000 (20:59 +0000)]
* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
(s_cprestore): Likewise.
(s_cpreturn): Likewise.

21 years ago * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
Thiemo Seufer [Wed, 11 Jun 2003 20:53:32 +0000 (20:53 +0000)]
* config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
with zeros.

21 years ago * elf32-mips.c (mips_elf_generic_reloc): New Function.
Thiemo Seufer [Wed, 11 Jun 2003 16:22:26 +0000 (16:22 +0000)]
* elf32-mips.c (mips_elf_generic_reloc): New Function.
(elf_mips_howto_table_rel): Use it.
(gprel32_with_gp): Move prototype.
(mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend.
Use mips_elf_generic_reloc.
(mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend.
Code cleanup.
(_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of
zero addend.
(mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic
as in the other *_gprel*_reloc functions.
(gprel32_with_gp): Handle partial_inplace properly.
(mips32_64bit_reloc): Use mips_elf_generic_reloc.
(mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend.
Do addend handling directly instead of calling
_bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly.
* elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead
of zero addend. Handle partial_inplace properly.
(mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero
addend.
(mips_elf64_gprel16_reloc): Likewise.
(mips_elf64_literal_reloc): Likewise.
(mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment
logic as in the other *_gprel*_reloc functions. Handle
partial_inplace properly.
(mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero
addend. Handle partial_inplace properly.
(mips16_gprel_reloc): Likewise. Do addend handling directly instead
of calling _bfd_mips_elf_gprel16_with_gp.
* elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL.
(mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead
of zero addend.
(mips_elf_shift6_reloc): Handle partial_inplace properly.
(mips16_gprel_reloc): Likewise. Do addend handling directly instead
of calling _bfd_mips_elf_gprel16_with_gp.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle
partial_inplace properly. Fix wrong addend handling. Fix overflow
check.
(_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and
exported.
(mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend.
(_bfd_mips_elf_relocate_section): Likewise.
(mips_elf_create_dynamic_relocation): Update sec_info_type access.
* elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration.
(_bfd_mips_elf_sign_extend): New prototype.
* config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
(md_apply_fix3): Ignore non-special relocations. Remove superfluous
exceptions from size assert. Remove most of the addend fixup
specialcasing. Remove value, use valP directly. simplify fx_addnumber
handling. Remove zero addend specialcases.
(tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
the addend fixup specialcase.
* config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.

21 years ago* configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo.
Nick Clifton [Wed, 11 Jun 2003 13:38:07 +0000 (13:38 +0000)]
* configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

21 years ago* config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): New target
Nick Clifton [Wed, 11 Jun 2003 13:34:50 +0000 (13:34 +0000)]
* config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): New target
  (was sparc-*-openbsd* before).
  (sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec.

21 years ago * write.c (write_relocs): Use xcalloc. Fix relocs initialization
Thiemo Seufer [Wed, 11 Jun 2003 10:32:08 +0000 (10:32 +0000)]
* write.c (write_relocs): Use xcalloc. Fix relocs initialization
in the RELOC_EXPANSION_POSSIBLE case.

21 years ago * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and
Alan Modra [Wed, 11 Jun 2003 06:20:44 +0000 (06:20 +0000)]
* ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and
xfail for hppa duplicated elsewhere.

21 years ago * config/tc-i960.c (line_comment_chars): Add '#'.
Alan Modra [Wed, 11 Jun 2003 06:11:45 +0000 (06:11 +0000)]
* config/tc-i960.c (line_comment_chars): Add '#'.
* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.

21 years ago * gas/macros/app1.d: Ignore section symbols.
Alan Modra [Wed, 11 Jun 2003 05:56:14 +0000 (05:56 +0000)]
* gas/macros/app1.d: Ignore section symbols.
* gas/macros/app2.d: Likewise.
* gas/macros/app3.d: Likewise.
* gas/macros/app4.d: Likewise.

21 years agobfd/
H.J. Lu [Wed, 11 Jun 2003 01:32:08 +0000 (01:32 +0000)]
bfd/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

binutils/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

gas/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

gprof/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

ld/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

opcodes/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

21 years agodaily update
Alan Modra [Wed, 11 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* bfd/Makefile.am (config.status): Depend on version.h.
Alan Modra [Tue, 10 Jun 2003 23:44:42 +0000 (23:44 +0000)]
* bfd/Makefile.am (config.status): Depend on version.h.
Run "make dep-am" in bfd/ and elsewhere, and regen files.

21 years ago * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
Doug Evans [Tue, 10 Jun 2003 23:29:19 +0000 (23:29 +0000)]
* Makefile.am (ALL_EMULATIONS): Add em32relf.o.
* Makefile.in: Regenerate.

21 years ago * Makefile.tpl: Replace {build,host,target}_canonical by
Nathanael Nerode [Tue, 10 Jun 2003 22:25:49 +0000 (22:25 +0000)]
* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.

21 years agoopcodes:
Doug Evans [Tue, 10 Jun 2003 22:08:45 +0000 (22:08 +0000)]
opcodes:
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to
CGEN_INSN_RELAXED.
* fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate.
* frv-asm.c,frv-desc.c,frv-desc.h: Regenerate.
* ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate.
* iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate.
* m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate.
* openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate.
* xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate.
gas:
* cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
CGEN_INSN_RELAXED.
* config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
* config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
* config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.

21 years ago * frv.cpu: Add IDOC attribute.
Doug Evans [Tue, 10 Jun 2003 21:24:48 +0000 (21:24 +0000)]
* frv.cpu: Add IDOC attribute.

21 years ago * gas/mips/mips.exp: Fix typo.
Thiemo Seufer [Tue, 10 Jun 2003 19:45:24 +0000 (19:45 +0000)]
* gas/mips/mips.exp: Fix typo.
* gas/mips/elempic.d: Force o64 ABI.
* gas/mips/telempic.d: Likewise.
* ld-mips-elf/rel32-n32.d: Force big endian assembly.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

21 years ago * gdb/fileio.h: New file.
Corinna Vinschen [Tue, 10 Jun 2003 14:23:05 +0000 (14:23 +0000)]
* gdb/fileio.h: New file.

21 years ago * Makefile.tpl: Fix stupid pasto.
Nathanael Nerode [Tue, 10 Jun 2003 13:37:14 +0000 (13:37 +0000)]
* Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.

21 years ago * gas/cfi/cfi.exp: Use here. Only run tests when ELF.
Alan Modra [Tue, 10 Jun 2003 13:31:59 +0000 (13:31 +0000)]
* gas/cfi/cfi.exp: Use here.  Only run tests when ELF.
* gas/macros/and.s: Avoid .set so we don't break mips.

21 years ago * gas/macros/and.s: Avoid .set so we don't break mips.
Alan Modra [Tue, 10 Jun 2003 13:24:33 +0000 (13:24 +0000)]
* gas/macros/and.s: Avoid .set so we don't break mips.