OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agodaily update
Alan Modra [Fri, 27 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
Nathanael Nerode [Thu, 26 Jun 2003 20:19:41 +0000 (20:19 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

21 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Jun 2003 19:08:40 +0000 (19:08 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Add more GNU V3 testcases.

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

* config/tc-i386.c (md_assemble): Declare "exp" before "if".

21 years agoFix computation of offsets in PT_LOAD sections.
Nick Clifton [Thu, 26 Jun 2003 12:46:17 +0000 (12:46 +0000)]
Fix computation of offsets in PT_LOAD sections.

21 years agoAdd --only-keep-debug switch
Nick Clifton [Thu, 26 Jun 2003 08:14:10 +0000 (08:14 +0000)]
Add --only-keep-debug switch

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

21 years agoinclude/opcode/
Richard Sandiford [Wed, 25 Jun 2003 15:31:59 +0000 (15:31 +0000)]
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove.
(IMM8U, IMM8U_NS): Define.
(h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.

gas/
* config/tc-h8300.c (get_specific): Allow ':8' to be used for
unsigned 8-bit operands.

gas/testsuite/
* gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.

21 years ago * include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
Richard Sandiford [Wed, 25 Jun 2003 15:19:40 +0000 (15:19 +0000)]
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
and mov.l ERs,@(dd:32,ERd) entries.

21 years ago * ld-powerpc/apuinfo.rd: Update.
Alan Modra [Wed, 25 Jun 2003 11:12:46 +0000 (11:12 +0000)]
* ld-powerpc/apuinfo.rd: Update.

21 years agoMissed copyright update in last commit.
Alan Modra [Wed, 25 Jun 2003 11:07:05 +0000 (11:07 +0000)]
Missed copyright update in last commit.

21 years ago * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
Alan Modra [Wed, 25 Jun 2003 11:05:58 +0000 (11:05 +0000)]
* elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
(ppc_elf_reloc_type_lookup): Modify comment.
(ppc_elf_info_to_howto): Ditto.
(ppc_elf_relocate_section): Ditto.
(ppc_elf_check_relocs): Call ppc_elf_howto_init.

21 years agoCorrect spelling of "relocatable".
Alan Modra [Wed, 25 Jun 2003 06:40:27 +0000 (06:40 +0000)]
Correct spelling of "relocatable".

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

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
Alan Modra [Tue, 24 Jun 2003 14:17:22 +0000 (14:17 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
local sym errors.

21 years ago * emultempl/ppc32elf.em: Convert to C90.
Alan Modra [Tue, 24 Jun 2003 14:04:29 +0000 (14:04 +0000)]
* emultempl/ppc32elf.em: Convert to C90.

21 years ago * elf32-i386.c: Convert to C90 function definitions, remove unnecessary
Alan Modra [Tue, 24 Jun 2003 14:03:53 +0000 (14:03 +0000)]
* elf32-i386.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts.  Replace PTR with void *.  Formatting.
* elf32-ppc.c: Likewise.  Break long strings too.
(ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type.
(ppc_elf_unhandled_reloc): Internationalize error message.
* elf32-ppc.h: Remove PARAMS.

21 years ago * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
Richard Sandiford [Tue, 24 Jun 2003 13:54:49 +0000 (13:54 +0000)]
* gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
* gas/h8300/h8300-elf.exp: ...here.

21 years agoUpdate .comm error messages to assume an unsigned value.
Nick Clifton [Tue, 24 Jun 2003 11:10:47 +0000 (11:10 +0000)]
Update .comm error messages to assume an unsigned value.
Update relaxing code to work in 64-bit address spaces.

21 years ago * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
Mark Mitchell [Tue, 24 Jun 2003 06:41:56 +0000 (06:41 +0000)]
* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.

21 years ago * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
Mark Mitchell [Tue, 24 Jun 2003 06:41:36 +0000 (06:41 +0000)]
* elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
APUinfo slots.
(ppc_elf_final_write_processing): Likewise.

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

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

* elflink.h (elf_link_input_bfd): Check raw size when using
kept_section to preserve debug information discarded by
linkonce.

21 years ago * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
Keith Seitz [Mon, 23 Jun 2003 21:30:43 +0000 (21:30 +0000)]
    * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
        * Makefile.in: Regenerate.

21 years ago * Makefile.def: Introduce flags_to_pass.
Nathanael Nerode [Mon, 23 Jun 2003 20:36:40 +0000 (20:36 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

21 years agogas/
H.J. Lu [Mon, 23 Jun 2003 20:15:34 +0000 (20:15 +0000)]
gas/

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

* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
Instructions.

* gas/config/tc-i386.h (CpuPNI): New.
(CpuUnknownFlags): Add CpuPNI.

gas/testsuite/

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

* gas/i386/i386.exp: Add prescott.

* gas/i386/prescott.d: New file.
* gas/i386/prescott.s: Likewise.

include/opcode/

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

* i386.h (i386_optab): Support Intel Precott New Instructions.

opcodes/

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

* i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
Intel Precott New Instructions.
(PREGRP27): New. Added for "addsubpd" and "addsubps".
(PREGRP28): New. Added for "haddpd" and "haddps".
(PREGRP29): New. Added for "hsubpd" and "hsubps".
(PREGRP30): New. Added for "movsldup" and "movddup".
(PREGRP31): New. Added for "movshdup" and "movhpd".
(PREGRP32): New. Added for "lddqu".
(dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
entry 0xd0. Use PREGRP32 for entry 0xf0.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(grps): Use PNI_Fixup in the "sidtQ" entry.
(prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
PREGRP31 and PREGRP32.
(float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
Use "fisttpll" in entry 1 in opcode 0xdd.
Use "fisttp" in entry 1 in opcode 0xdf.

21 years agoPatch from David Mosberger.
Jim Wilson [Mon, 23 Jun 2003 19:35:52 +0000 (19:35 +0000)]
Patch from David Mosberger.
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
freebsd, openvms, and nsk (non-stop kernel).

21 years agoForgot 'configure' item.
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:43:42 +0000 (00:43 +0000)]
Forgot 'configure' item.

21 years ago* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
Jason Thorpe [Mon, 23 Jun 2003 00:41:47 +0000 (00:41 +0000)]
* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
all locals have been declared.

21 years ago * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:40:23 +0000 (00:40 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.

21 years agodaily update
Alan Modra [Mon, 23 Jun 2003 00:09:44 +0000 (00:09 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sun, 22 Jun 2003 16:35:53 +0000 (16:35 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Sun, 22 Jun 2003 00:06:14 +0000 (00:06 +0000)]
merge from gcc

21 years ago * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
Thiemo Seufer [Sat, 21 Jun 2003 21:38:04 +0000 (21:38 +0000)]
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
special handling for n32 ABI.
(macro): Likewise.
* gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.

21 years ago * gas/z8k: New directory.
Christian Groessler [Sat, 21 Jun 2003 12:20:08 +0000 (12:20 +0000)]
* gas/z8k: New directory.
* gas/z8k/dec.s: New file.
* gas/z8k/decbf.s: New file.
* gas/z8k/decf.s: New file.
* gas/z8k/eidi.s: New file.
* gas/z8k/eidif.s: New file.
* gas/z8k/inc.s: New file.
* gas/z8k/incbf.s: New file.
* gas/z8k/incf.s: New file.
* gas/z8k/inout.d: New file.
* gas/z8k/inout.s: New file.
* gas/z8k/jr-back.s: New file.
* gas/z8k/jr-backf.s: New file.
* gas/z8k/jr-forw.s: New file.
* gas/z8k/jr-forwf.s: New file.
* gas/z8k/ldk.s: New file.
* gas/z8k/ldkf.s: New file.
* gas/z8k/z8k.exp: New file.

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

21 years ago * elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
Alan Modra [Fri, 20 Jun 2003 12:35:30 +0000 (12:35 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
(ppc64_elf_setup_section_lists): Set it.
(ppc64_elf_relocate_section): Check sym section id against top_id.
(ppc_build_one_stub): Comment on top_id.

21 years agoAdd tic4x-*-rtems*.
Nick Clifton [Fri, 20 Jun 2003 08:36:19 +0000 (08:36 +0000)]
Add tic4x-*-rtems*.

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.