OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
Alan Modra [Thu, 12 Dec 2002 21:10:09 +0000 (21:10 +0000)]
* dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
dyn_string_append with dyn_string_append_cstr.

* emul_aix.c (ar_emul_aix_create): Remove unused function.

21 years agoComment typo fixes.
Alan Modra [Thu, 12 Dec 2002 10:26:01 +0000 (10:26 +0000)]
Comment typo fixes.

21 years ago * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
Alan Modra [Thu, 12 Dec 2002 10:17:14 +0000 (10:17 +0000)]
* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
to DT_JMPREL.  Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section.  Avoid writing tags when
unchanged.  Don't assume linker script is sane, adjust DT_REL too.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
size of srelplt for DT_PLTRELSZ.  Use srelplt input section size for
DT_RELASZ adjustment, not output section.  Avoid writing tags when
unchanged.  Adjust DT_RELA.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
formatting.  Avoid writing tags when unchanged.  Adjust DT_RELA.

21 years ago* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
Alexandre Oliva [Thu, 12 Dec 2002 07:04:28 +0000 (07:04 +0000)]
* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
* Makefile.in: Rebuilt.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
Alexandre Oliva [Thu, 12 Dec 2002 04:42:06 +0000 (04:42 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
addend by 4.

21 years ago* gas/mips/beq.d: Comment out branches to undefined symbols,
Alexandre Oliva [Thu, 12 Dec 2002 04:40:22 +0000 (04:40 +0000)]
* gas/mips/beq.d: Comment out branches to undefined symbols,
no longer supported.
* gas/mips/beq.s: Likewise.
* gas/mips/bge.d: Likewise.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/mips.exp: Change branch-misc-2 test to run_list_test.
* gas/mips/branch-misc-2.d: Removed.
* gas/mips/branch-misc-2.s: Added branches to undefined symbols.
* gas/mips/branch-misc-2.l: New.

21 years ago* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Alexandre Oliva [Thu, 12 Dec 2002 04:40:07 +0000 (04:40 +0000)]
* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Adjust callers.
(RELAX_BRANCH_RELOC_S2): Delete.
(append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
Do not handle BFD_RELOC_16_PCREL.
(macro_build, mips_ip): Likewise.
(md_pcrel_from): Return 4 for undefined symbols regardless of
mips_pic.
(md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
Don't dereference howto if no such relocation is available.
Do not apply hack for in-place zero addend in NEWABI.
(md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.

21 years ago* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
Alexandre Oliva [Thu, 12 Dec 2002 04:39:44 +0000 (04:39 +0000)]
* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
* ld-mips-elf/branch-misc-2.d: Removed.

21 years agoAlan Modra <amodra@bigpond.net.au>
Alexandre Oliva [Thu, 12 Dec 2002 04:32:07 +0000 (04:32 +0000)]
Alan Modra  <amodra@bigpond.net.au>

21 years ago* config/tc-mn10300.c (set_arch_mach): Change argument type to
Alexandre Oliva [Thu, 12 Dec 2002 03:16:33 +0000 (03:16 +0000)]
* config/tc-mn10300.c (set_arch_mach): Change argument type to
avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.

21 years ago* elfxx-mips.c (struct mips_got_entry): New.
Alexandre Oliva [Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)]
* elfxx-mips.c (struct mips_got_entry): New.
(struct mips_got_info): Added got_entries field.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
(mips_elf_local_got_index, mips_elf_got_page,
mips_elf_got16_entry): Re-implement in terms of new...
(mips_elf_create_local_got_entry): Rewrite to use got_entries.
Change return type.
(mips_elf_highest): Warning clean-up.
(mips_elf_create_got_section): Initialize got_entries.
(_bfd_mips_elf_check_relocs): Use got_entries to estimate
local got size.
(_bfd_mips_elf_size_dynamic_sections): Do not account for
GOT_PAGE entries, since we now reuse GOT16 entries.

21 years agodaily update
Alan Modra [Wed, 11 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * configure: Fix bug put in by gremlins.
Nathanael Nerode [Wed, 11 Dec 2002 04:14:47 +0000 (04:14 +0000)]
* configure: Fix bug put in by gremlins.

21 years ago2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)]
2002-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 10 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agofix spelling typo
Nick Clifton [Tue, 10 Dec 2002 17:55:00 +0000 (17:55 +0000)]
fix spelling typo

21 years agoAdd support for displaying extension to DWARF2 used by Unified Parallel C
Nick Clifton [Tue, 10 Dec 2002 17:48:27 +0000 (17:48 +0000)]
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.

21 years agoAllow an otherwise unrepresentable read-only section that lies after .text
Nick Clifton [Tue, 10 Dec 2002 16:15:27 +0000 (16:15 +0000)]
Allow an otherwise unrepresentable read-only section that lies after .text
and before .data to be written into the output file and included in a_text.

21 years ago* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
Jason Thorpe [Tue, 10 Dec 2002 15:54:23 +0000 (15:54 +0000)]
* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.

21 years ago * emultempl/elf32.em (struct orphan_save): Add os_tail field.
Alan Modra [Tue, 10 Dec 2002 03:34:43 +0000 (03:34 +0000)]
* emultempl/elf32.em (struct orphan_save): Add os_tail field.
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.

21 years ago2002-12-09 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Tue, 10 Dec 2002 00:42:53 +0000 (00:42 +0000)]
2002-12-09  Aldy Hernandez  <aldyh@redhat.com>

* gas/ppc/booke.d: Fix msync and mbar to reflect reality.

* gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.

21 years agodaily update
Alan Modra [Mon, 9 Dec 2002 23:46:37 +0000 (23:46 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 8 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
DJ Delorie [Sun, 8 Dec 2002 22:39:43 +0000 (22:39 +0000)]
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.

21 years ago2002-12-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 8 Dec 2002 21:25:38 +0000 (21:25 +0000)]
2002-12-08  H.J. Lu <hjl@gnu.org>

* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
copied from tc-i386.c.

21 years ago * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
Stephane Carrez [Sun, 8 Dec 2002 21:23:42 +0000 (21:23 +0000)]
* gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
(gas_m68hc11_warning): New function.
(gas_m68hc11_message): New function.
(top): New tests for assembler errors.
(gas_m68hc11_opcode_list): New function.
(top): New tests for opcode list.

21 years ago * gas/m68hc11/bug-1825.s: Add some tests.
Stephane Carrez [Sun, 8 Dec 2002 21:08:07 +0000 (21:08 +0000)]
* gas/m68hc11/bug-1825.s: Add some tests.
* gas/m68hc11/bug-1825.d: Update.
* gas/m68hc11/opers12.d: Update.
* gas/m68hc11/opers12-dwarf2.d: Update.

21 years ago * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
Stephane Carrez [Sun, 8 Dec 2002 20:53:19 +0000 (20:53 +0000)]
* m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
for 9 and 16-bit PC-relative addressing mode.

21 years ago * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
Stephane Carrez [Sun, 8 Dec 2002 20:47:21 +0000 (20:47 +0000)]
* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
(md_relax_table): Define specific relax for PC-rel offsets.
(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
(m68hc11_relax_frag): Handle the new relax code.
(md_convert_frag): Likewise.
(md_estimate_size_before_relax): Likewise.

21 years ago * ldlang.h: Formatting.
Alan Modra [Sun, 8 Dec 2002 03:56:04 +0000 (03:56 +0000)]
* ldlang.h: Formatting.

21 years ago * subsegs.c (section_symbol): Use the symbol, not the section, name.
Alan Modra [Sun, 8 Dec 2002 03:47:57 +0000 (03:47 +0000)]
* subsegs.c (section_symbol): Use the symbol, not the section, name.

21 years ago * NEWS: Mention that bfd no longer declares a "boolean" type.
Alan Modra [Sun, 8 Dec 2002 03:38:03 +0000 (03:38 +0000)]
* NEWS: Mention that bfd no longer declares a "boolean" type.

21 years ago * bfd-in.h: Comment typo fix. Formatting.
Alan Modra [Sun, 8 Dec 2002 03:34:38 +0000 (03:34 +0000)]
* bfd-in.h: Comment typo fix.  Formatting.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.

21 years agodaily update
Alan Modra [Sat, 7 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * readelf.c (process_program_headers): When setting loadaddr, don't
Alan Modra [Sat, 7 Dec 2002 12:49:55 +0000 (12:49 +0000)]
* readelf.c (process_program_headers): When setting loadaddr, don't
assume segment size is 4k.  Use p_align instead.
(loadaddr): Change from int to long.
(dynamic_addr, dynamic_info, version_info): Likewise.
(process_dynamic_segment <syminsz>): Likewise.
(process_dynamic_segment): Adjust print format string.
(rela_addr, rela_size): Delete.
(process_relocs): Formatting.

21 years agodaily update
Alan Modra [Fri, 6 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * ldlang.c (init_os): Ensure sections mentioned in load_base
Alan Modra [Fri, 6 Dec 2002 22:33:18 +0000 (22:33 +0000)]
* ldlang.c (init_os): Ensure sections mentioned in load_base
are initialized.

21 years ago* Makefile.tpl: Change configure dependencies to not have real
DJ Delorie [Fri, 6 Dec 2002 20:11:59 +0000 (20:11 +0000)]
* Makefile.tpl: Change configure dependencies to not have real
targets depend on phony targets.

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
Richard Henderson [Fri, 6 Dec 2002 01:48:24 +0000 (01:48 +0000)]
    * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
        Only send PCREL21B though the plt.  Fix installed reloc type.
        (elfNN_ia64_relocate_section): Give error for dynamic reloc
        against PCREL22 or PCREL64I; clean up error messages for
        branch relocs.

21 years ago2002-12-05 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Thu, 5 Dec 2002 23:48:23 +0000 (23:48 +0000)]
2002-12-05  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub,
evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq,
evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi,
evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa,
evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian,
evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa,
evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan,
evmwhgsmian, evmwhgumian.
(mftb): Add to opcode table.
(mtspefscr): Change RT to RS in opcode table.

21 years ago * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
Richard Henderson [Thu, 5 Dec 2002 23:20:40 +0000 (23:20 +0000)]
    * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
        (ia64_gen_real_reloc_type): Handle it.
        (pseudo_func): Add @ltoffx.
        (md_begin): Build .<ltoffx>.
        (ia64_force_relocation): True for LTOFF22X and LDXMOV.

        * gas/ia64/ltoff22x-1.[ds]: New.
        * gas/ia64/ia64.exp: Run it.

21 years ago * ppc-opc.c: Move mbar and msync up. Change mask for mbar and
Aldy Hernandez [Thu, 5 Dec 2002 23:06:48 +0000 (23:06 +0000)]
* ppc-opc.c: Move mbar and msync up.  Change mask for mbar and
msync.

21 years agodaily update
Alan Modra [Thu, 5 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * configure.in: Revert unintentional change.
Nathanael Nerode [Thu, 5 Dec 2002 22:45:33 +0000 (22:45 +0000)]
* configure.in: Revert unintentional change.

21 years ago * src-release: Configure host subdirs.
Nathanael Nerode [Thu, 5 Dec 2002 22:43:12 +0000 (22:43 +0000)]
* src-release: Configure host subdirs.

21 years ago2002-12-05 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 5 Dec 2002 18:34:48 +0000 (18:34 +0000)]
2002-12-05  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Change dependency for */multilib.out so that
it works when gcc isn't in the tree.

* configure.in: Substitute more.
* configure: Run subconfigures from the Makefile.
* Makefile.tpl: Run subconfigures from the Makefile; add a few
convenience targets.  Make sure gcc isn't rebuilt after bootstrap.

21 years agoFix IA-64 opc-d.x gas testsuite failure.
Jim Wilson [Thu, 5 Dec 2002 18:33:27 +0000 (18:33 +0000)]
Fix IA-64 opc-d.x gas testsuite failure.
binutils/ChangeLog
* configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
* configure: Regenerate.
gas/testsuite/ChangeLog
* gas/ia64/opc-x.d: Regenerate.

21 years ago * gas/arm/adrl.s: Pad end of .text.
Alan Modra [Thu, 5 Dec 2002 11:47:16 +0000 (11:47 +0000)]
* gas/arm/adrl.s: Pad end of .text.
* gas/arm/adrl.d: Adjust to suit.

21 years ago * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
Alan Modra [Thu, 5 Dec 2002 11:46:50 +0000 (11:46 +0000)]
* config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
* config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
COFF to call arm_force_relocation.

21 years agoAdd n64 core file support for Linux/MIPS.
Kevin Buettner [Thu, 5 Dec 2002 05:04:00 +0000 (05:04 +0000)]
Add n64 core file support for Linux/MIPS.

21 years agoPatch to update IA-64 port to SDM 2.1.
Jim Wilson [Thu, 5 Dec 2002 02:08:02 +0000 (02:08 +0000)]
Patch to update IA-64 port to SDM 2.1.
bfd/ChangeLog
* cpu-ia64-opc.c: Add operand constant "ar.csd".
gas/ChangeLog
* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
instruction.
(emit_one_bundle): Handle "hint" instruction.
(operand_match): Match IA64_OPND_AR_CSD.
gas/testsuite/ChangeLog
* gas/ia64/opc-b.d: Update for instructions added by SDM2.1.
* gas/ia64/opc-b.s: Ditto.
* gas/ia64/opc-f.d: Ditto.
* gas/ia64/opc-f.s: Ditto.
* gas/ia64/opc-i.d: Ditto.
* gas/ia64/opc-i.s: Ditto.
* gas/ia64/opc-m.d: Ditto.
* gas/ia64/opc-m.s: Ditto.
* gas/ia64/opc-x.d: Ditto.
* gas/ia64/opc-x.s: Ditto.
include/opcode/ChangeLog
* ia64.h: Fix copyright message.
(IA64_OPND_AR_CSD): New operand kind.
opcodes/ChangeLog
* ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
* ia64-opc-b.c: Add "hint.b" instruction.
* ia64-opc-f.c: Add "hint.f" instruction.
* ia64-opc-i.c: Add "hint.i" instruction.
* ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
"cmp8xchg16" instructions.
* ia64-opc-x.c: Add "hint.x" instruction.
* ia64-opc.h (AR_CSD): New macro.
* ia64-ic.tbl: Update according to SDM2.1.
* ia64-raw.tbl: Ditto.
* ia64-waw.tbl: Ditto.
* ia64-gen.c (in_iclass): Handle "hint" like "nop".
(lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
* ia64-asmtab.c: Regenerate.

21 years ago2002-12-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 4 Dec 2002 23:59:27 +0000 (23:59 +0000)]
2002-12-04  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of
BFD address when constructing local name.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
Alan Modra [Wed, 4 Dec 2002 23:56:14 +0000 (23:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
load_base for orphans that follow a section with load_base set.

21 years agodaily update
Alan Modra [Wed, 4 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-25 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 4 Dec 2002 17:49:27 +0000 (17:49 +0000)]
2002-11-25  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa,
evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw.

21 years ago2002-12-04 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 4 Dec 2002 17:29:47 +0000 (17:29 +0000)]
2002-12-04  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (PMRN): Remove.
(RA): Set to NB + 1.
(powerpc_opcodes): Change PMRN to SPR.
Change all RD to RS.
Change mftb to look like mftbl.
Move mftb before mftbl.
Add mfbbtar.
Add mtbbtar.
Change mfpmr to use PMR.
Change mtpmr to use PMR.
(RD): Remove.
(insert_ev2): Fix mask and shift.
(extract_ev2): Same.
(insert_ev4): Same.
(extract_ev4): Same.
(PMR): Define.
(extract_pmrn): Remove.
(insert_pmrn): Remove.

21 years ago * MAINTAINERS: Change e-mail address back to airs.com.
Ian Lance Taylor [Wed, 4 Dec 2002 17:11:34 +0000 (17:11 +0000)]
* MAINTAINERS: Change e-mail address back to airs.com.

21 years ago2002-12-04 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 4 Dec 2002 17:06:53 +0000 (17:06 +0000)]
2002-12-04  Aldy Hernandez  <aldyh@redhat.com>

* MAINTAINERS: Add self.

21 years ago * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
Andreas Schwab [Wed, 4 Dec 2002 15:07:13 +0000 (15:07 +0000)]
* elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
member.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_check_relocs): Handle symbols that are forced to be
local due to visibility changes.
(elf_m68k_adjust_dynamic_symbol): Likewise.
(elf_m68k_size_dynamic_sections): Likewise.
(elf_m68k_discard_copies): Likewise.
(elf_m68k_relocate_section): Likewise.

21 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
Alan Modra [Wed, 4 Dec 2002 11:08:16 +0000 (11:08 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.

21 years agomerge from gcc
DJ Delorie [Wed, 4 Dec 2002 02:05:31 +0000 (02:05 +0000)]
merge from gcc

21 years ago * Makefile.tpl: Add targets for configuring host subdirs in Makefile,
Nathanael Nerode [Wed, 4 Dec 2002 01:45:35 +0000 (01:45 +0000)]
* Makefile.tpl: Add targets for configuring host subdirs in Makefile,
and corresponding dependencies.
* Makefile.in: Regenerate.

21 years ago * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
Alan Modra [Wed, 4 Dec 2002 01:03:05 +0000 (01:03 +0000)]
* dwarf2dbg.c (scale_addr_delta): Correct parameter.  Move prototype
inside #if.

21 years ago * srec.c (srec_write_symbols): Restore '$' prefix to address
Alan Modra [Tue, 3 Dec 2002 23:55:48 +0000 (23:55 +0000)]
* srec.c (srec_write_symbols): Restore '$' prefix to address
accidentally removed in 2002-04-04 change.
(srec_get_symtab): Use 0 instead of `(long) FALSE'.

21 years ago * configure.in (host_tools): Order binutils, gas and ld for
Nathanael Nerode [Tue, 3 Dec 2002 23:34:20 +0000 (23:34 +0000)]
* configure.in (host_tools): Order binutils, gas and ld for
convenience in running the testsuites.

21 years agodaily update
Alan Modra [Tue, 3 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.tpl: Introduce rules to serialize subconfigure runs.
Nathanael Nerode [Tue, 3 Dec 2002 22:54:00 +0000 (22:54 +0000)]
* Makefile.tpl: Introduce rules to serialize subconfigure runs.
* Makefile.in: Regenerate.
* configure.in: Introduce rules to serialize subconfigure runs.

21 years ago * configure.in: Introduce BASE_CC_FOR_TARGET.
Nathanael Nerode [Tue, 3 Dec 2002 21:13:06 +0000 (21:13 +0000)]
* configure.in: Introduce BASE_CC_FOR_TARGET.
* Makefile.tpl: Reorganize and comment.  Introduce HOST_CONFIGARGS.
Realize configure-build-* targets.  Realize configure-target-* targets.
* Makefile.in: Regenerate.

21 years agoFix typo in ChangeLog entry.
Nick Clifton [Tue, 3 Dec 2002 18:52:45 +0000 (18:52 +0000)]
Fix typo in ChangeLog entry.
Add paranoia checks to .PPC.EMB.apuinfo merging code.

21 years agoFix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure that
Nick Clifton [Tue, 3 Dec 2002 18:24:33 +0000 (18:24 +0000)]
Fix the merging of .PPC.EMB.apuinfo sections.  Add a test to make sure that
the fix continues to work.

21 years agoinclude/opcode/
Richard Henderson [Tue, 3 Dec 2002 18:15:48 +0000 (18:15 +0000)]
include/opcode/
        * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV.
bfd/
        * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry.
opcodes/
        * ia64-opc-m.c: Add ld8.mov.
        * ia64-asmtab.c: Regenerate.
gas/
        * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
gas/testsuite/
        * gas/ia64/ldxmov-1.[ds]: New.
        * gas/ia64/ldxmov-2.[ls]: New.
        * gas/ia64/ia64.exp: Run them.

21 years ago * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
Alan Modra [Tue, 3 Dec 2002 12:01:45 +0000 (12:01 +0000)]
* config/tc-w65.c (s_longa): Prototype.  Make static, specify int arg.
(cons, s_align_bytes): Delete declaration.
(relax): Delete.
(md_begin): Constify "struct opinfo *" var.  Don't try to make "name"
strings common.
(dot): Delete unused function.
(w65_expression): Remove unused arg.
(parse_exp): Prototype.  Remove unused arg.  Adjust w65_expression
call.
(get_operands): Prototype.  Constify "struct opinfo *" arg.  Fix
parse_exp call.
(get_specific): Prototype.  Constify "struct opinfo *" arg and return
value.
(check): Remove unused function.
(build_Mytes): Prototype.  Constify "struct opinfo *" arg.  Abort
on unhandled switch case.
(md_assemble): Remove unused op_start, op_end, nlen, p vars.  Constify
"opcode".
(tc_crawl_symbol_chain): Delete unused function.
(tc_headers_hook): Likewise.
(tc_Nout_fix_to_chars): Likewise.
(md_undefined_symbol): Add ATTRIBUTE_UNUSED.
(md_parse_option): Likewise.
(md_convert_frag): Likewise.
(tc_coff_symbol_emit_hook): Likewise.
(md_show_usage): Likewise.
* config/tc-w65.h (tc_coff_sizemachdep): Declare.
(TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
(w65_expression): Declare.

* po/POTFILES.in: Regenerate.

21 years ago * gas/arm/adrl.s: Test behaviour against globals too.
Alan Modra [Tue, 3 Dec 2002 11:28:33 +0000 (11:28 +0000)]
* gas/arm/adrl.s: Test behaviour against globals too.
* gas/arm/adrl.d: Adjust.

21 years ago * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
Alan Modra [Tue, 3 Dec 2002 11:27:26 +0000 (11:27 +0000)]
* config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
and ARM_ADRL_IMMEDIATE.

21 years ago * configure: Move gcc_version_trigger stuff from here...
Nathanael Nerode [Tue, 3 Dec 2002 04:46:25 +0000 (04:46 +0000)]
* configure: Move gcc_version_trigger stuff from here...
* configure.in: ...to here.

* configure.in: Separate subconfigure options added by this file from
options given by the user.  Add machinery to put args for host
subconfigures into the Makefile.

* Makefile.tpl: Remove 'vault' targets.
* Makefile.tpl: Reorder and comment dependencies.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Mon, 2 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * cgen-dis.in: Include libiberty.h.
Alan Modra [Mon, 2 Dec 2002 21:58:19 +0000 (21:58 +0000)]
* cgen-dis.in: Include libiberty.h.
* fr30-desc.c: Regenerate.
* fr30-dis.c: Regenerate.
* frv-desc.c: Regenerate.
* frv-dis.c: Regenerate.
* ip2k-asm.c: Regenerate.
* ip2k-desc.c: Regenerate.
* ip2k-dis.c: Regenerate.
* ip2k-opc.c: Regenerate.
* ip2k-opc.h: Regenerate.
* m32r-desc.c: Regenerate.
* m32r-dis.c: Regenerate.
* openrisc-desc.c: Regenerate.
* openrisc-dis.c: Regenerate.
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Regenerate.
* xstormy16-dis.c: Regenerate.

21 years ago * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Alan Modra [Mon, 2 Dec 2002 21:51:52 +0000 (21:51 +0000)]
* cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Constify "leaf" and "multi".

21 years agoRemove GASP.
Nick Clifton [Mon, 2 Dec 2002 15:42:15 +0000 (15:42 +0000)]
Remove GASP.

21 years agooops - omitted from previous delta
Nick Clifton [Mon, 2 Dec 2002 14:03:15 +0000 (14:03 +0000)]
oops - omitted from previous delta

21 years agoAdd Brazillian Portugese translation.
Nick Clifton [Mon, 2 Dec 2002 14:02:54 +0000 (14:02 +0000)]
Add Brazillian Portugese translation.

21 years ago * arm-dis.c (print_insn_arm): Constify "insn". Formatting.
Alan Modra [Mon, 2 Dec 2002 13:13:37 +0000 (13:13 +0000)]
* arm-dis.c (print_insn_arm): Constify "insn".  Formatting.
(print_insn_thumb): Likewise.
* h8500-dis.c (print_insn_h8500): Constify "opcode".
* mcore-dis.c (print_insn_mcore): Constify "op".  Formatting.
* ns32k-dis.c (print_insn_arg <case 'F'>): Use a union to avoid
type-punned pointer warnings.
<case 'L'>: Likewise.  Fix error message too.
* pdp11-dis.c (print_reg): Warning fix.
* sh-dis.c (print_movxy): Constify "op" param.
(print_insn_ddt): Constify sh_opcode_info vars.
(print_insn_ppi): Likewise.
(print_insn_sh): Likewise.
* tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid
type-punned pointer warnings.
* w65-dis.c (print_insn_w65): Constify "op".

21 years agoFix typo last entry
Hans-Peter Nilsson [Mon, 2 Dec 2002 07:20:29 +0000 (07:20 +0000)]
Fix typo last entry

21 years ago * read.c (emit_expr) [WORKING_DOT_WORD]: Initialize x->use_jump.
Hans-Peter Nilsson [Mon, 2 Dec 2002 07:18:53 +0000 (07:18 +0000)]
* read.c (emit_expr) [WORKING_DOT_WORD]: Initialize x->use_jump.

21 years ago(from gcc repos.)
Nathanael Nerode [Mon, 2 Dec 2002 03:28:43 +0000 (03:28 +0000)]
(from gcc repos.)
2002-11-28  Geoffrey Keating  <geoffk@apple.com>

* configure.in: Move host-specific darwin noconfigdirs into
the host-specific section.

21 years ago * Makefile.tpl: Restore bkorb's style patch, accidentally lost
Nathanael Nerode [Mon, 2 Dec 2002 03:26:59 +0000 (03:26 +0000)]
* Makefile.tpl: Restore bkorb's style patch, accidentally lost
during replay.
* Makefile.in: Regenerate.

21 years ago2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 2 Dec 2002 03:24:13 +0000 (03:24 +0000)]
2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* configure: Remove skip-this-dir support.
* Makefile.tpl: Remove skip-this-dir support.

* Makefile.tpl: Remove leftover support for non-autoconfiscated
subdirectories.
* Makefile.in: Regenerate.

* Makefile.tpl: Strip out useless setting of 'dir'.
* Makefile.in: Regenerate.

2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* configure.in: Fix deeply stupid bug.

* configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded
shell code in CXX_FOR_TARGET
* Makefile.def: Introduce raw_cxx.
* Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and
RAW_CXX_FOR_TARGET.
* Makefile.in: Regenerate.

2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

(finishing slow-motion replay)
* Makefile.tpl: Remove unnecessary ifs.
* Makefile.in: Regenerate.

* Makefile.tpl: Implement soft dependency machinery.  Maybe-ize
dependencies.  Maybe-ize build-libiberty.  Create dummy install
targets for 'no_install' modules.
* configure: Move GDB_TK substitution to configure.in.  Move
build_modules stuff to configure.in.
* configure.in: Implement soft dependency machinery.  Maybe-ize
GDB_TK, rearrange slightly.  Move build_modules stuff from configure.
* Makefile.in: Regenerate.

21 years ago2002-12-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 2 Dec 2002 00:40:28 +0000 (00:40 +0000)]
2002-12-01  H.J. Lu <hjl@gnu.org>

* ld.texinfo: Remove the extra `;' in sample version script.

21 years agodaily update
Alan Modra [Sun, 1 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * gas/m68hc11/m68hc11.exp: Rename from all.exp; run the new tests.
Stephane Carrez [Sun, 1 Dec 2002 14:32:48 +0000 (14:32 +0000)]
* gas/m68hc11/m68hc11.exp: Rename from all.exp; run the new tests.
* gas/m68hc11/all.exp: Remove.
* gas/m68hc11/indexed12.d: New test.
* gas/m68hc11/indexed12.s: Likewise.
* gas/m68hc11/bug-1825.d: Likewise.
* gas/m68hc11/bug-1825.s: Likewise.

21 years ago * gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdump
Stephane Carrez [Sun, 1 Dec 2002 14:25:09 +0000 (14:25 +0000)]
* gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdump
can find the real symbol and not a gas internal debug symbol.
* gas/m68hc11/insns.d: Update.
* gas/m68hc11/insns-dwarf2.d: Update.
* gas/m68hc11/insns12.d: Update.
* gas/m68hc11/opers12.s (min5b, min9b): Use 16 and -256 for the min.
* gas/m68hc11/opers12.d: Update after indexed offset operand fixes.
* gas/m68hc11/opers12-dwarf2.d: Likewise.

21 years ago Fix PR savannah/1417:
Stephane Carrez [Sun, 1 Dec 2002 13:25:05 +0000 (13:25 +0000)]
Fix PR savannah/1417:
* ld-m68hc11/bug-1417.s: New test.
* ld-m68hc11/bug-1417.d: Likewise.

21 years ago Fix PR savannah/1417:
Stephane Carrez [Sun, 1 Dec 2002 13:24:03 +0000 (13:24 +0000)]
Fix PR savannah/1417:
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust
branch if it goes to the start of the deleted region.

21 years ago * bfd-in2.h (bfd_mach_m6812): Rebuild.
Stephane Carrez [Sun, 1 Dec 2002 12:18:29 +0000 (12:18 +0000)]
* bfd-in2.h (bfd_mach_m6812): Rebuild.
* archures.c (bfd_mach_m6812_default, bfd_mach_m6812,
bfd_mach_m6812s): Declare.

* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function.
(_bfd_m68hc12_elf_set_private_flags): Call it.
(_bfd_m68hc12_elf_print_private_bfd_data): Report processor version.
(_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and
report microcontroller incompatibilities (HC12 vs HCS12).
(elf_backend_object_p): Update.

21 years ago * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.
Stephane Carrez [Sun, 1 Dec 2002 12:16:21 +0000 (12:16 +0000)]
* m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.
(EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define.
(EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define.

21 years ago2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 1 Dec 2002 12:01:26 +0000 (12:01 +0000)]
2002-12-01  Nathanael Nerode  <neroden@gcc.gnu.org>

(continuing slow-motion replay)
* Makefile.tpl: Make all-target, install-target behave similarly
to all, install (only hitting configured targets).  Eliminate
unused macro defintions.

* Makefile.tpl: Add all-gcc: all-build-libiberty dependency when
build != host.

* Makefile.tpl: Add all-gcc: all-libiberty dependency.

* ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion.

* configure.in: Produce lists of subdir targets we're actually
configuring.  Remove references to "dosrel".
* Makefile.tpl: Let configure set which subdir targets are hit.
Remove install-cross; clean up install; remove ALL.  Remove
references to "dosrel".  Remove "EXTRA_TARGET_HOST" hackery.
Autogenerate host module targets.  Remove empty dependency lines
and redundant dependency; rearrange slightly.
* Makefile.def: Add host-side libtermcap, utils.

* Makefile.in: Regenerate.

21 years ago2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 1 Dec 2002 11:32:58 +0000 (11:32 +0000)]
2002-12-01  Nathanael Nerode  <neroden@gcc.gnu.org>

(Continuing slow-motion replay)
* Makefile.def: Add list of recursive targets to autogenerate.
Add build_modules.
* Makefile.tpl: Autogenerate do-* targets.  Autogenerate *-target-*
targets.  Autogenerate *-build-* targets.
* Makefile.in: Regenerate.

21 years ago * config/tc-m68hc11.c (md_begin): Fix qsort warning.
Stephane Carrez [Sun, 1 Dec 2002 11:19:31 +0000 (11:19 +0000)]
* config/tc-m68hc11.c (md_begin): Fix qsort warning.
(tc_gen_reloc): Mark section param as not used.

21 years ago Fix Bug savannah/1825:
Stephane Carrez [Sun, 1 Dec 2002 11:02:10 +0000 (11:02 +0000)]
Fix Bug savannah/1825:
* config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
that are not pc-relative.
(m68hc11_relax_frag): Declare.

* config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
the offsetable indexed addressing modes (n,r).
(build_insn): Cleanup some locals.
(m68hc11_relax_frag): New function imported from tc-cris.c to handle
relaxation of difference between two symbols of same section.
(md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
only when this is a PC-relative operand and the offset is not absolute.
(md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
be handled by m68hc11_relax_frag.

21 years ago * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
Stephane Carrez [Sun, 1 Dec 2002 10:20:06 +0000 (10:20 +0000)]
* config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
(32-bit int, 64-bit double).
(md_longopts): New options -mshort, -mlong, -mshort-double and
-mlong-double to control the ABI.
(md_show_usage): Update.
(md_parse_option): Handle new options.
* doc/as.texinfo (Overview): Document new options for HC11/HC12.