OSDN Git Service
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.
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.
Kevin Buettner [Thu, 5 Dec 2002 05:04:00 +0000 (05:04 +0000)]
Add n64 core file support for Linux/MIPS.
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.
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.
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.
Alan Modra [Wed, 4 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update
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.
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.
Ian Lance Taylor [Wed, 4 Dec 2002 17:11:34 +0000 (17:11 +0000)]
* MAINTAINERS: Change e-mail address back to airs.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.
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.
Alan Modra [Wed, 4 Dec 2002 11:08:16 +0000 (11:08 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
DJ Delorie [Wed, 4 Dec 2002 02:05:31 +0000 (02:05 +0000)]
merge from gcc
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.
Alan Modra [Wed, 4 Dec 2002 01:03:05 +0000 (01:03 +0000)]
* dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
inside #if.
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'.
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.
Alan Modra [Tue, 3 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
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.
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.
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.
Alan Modra [Mon, 2 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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".
Nick Clifton [Mon, 2 Dec 2002 15:42:15 +0000 (15:42 +0000)]
Remove GASP.
Nick Clifton [Mon, 2 Dec 2002 14:03:15 +0000 (14:03 +0000)]
oops - omitted from previous delta
Nick Clifton [Mon, 2 Dec 2002 14:02:54 +0000 (14:02 +0000)]
Add Brazillian Portugese translation.
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".
Hans-Peter Nilsson [Mon, 2 Dec 2002 07:20:29 +0000 (07:20 +0000)]
Fix typo last entry
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.
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.
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.
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.
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.
Alan Modra [Sun, 1 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Stephane Carrez [Sun, 1 Dec 2002 09:53:21 +0000 (09:53 +0000)]
* m68hc11-dis.c (PC_REGNUM): Define.
(print_indexed_operand): Need an adjustment for some PC-relative
operand modes; print the final address of PC-relative modes.
(print_insn): Take into account movw/movb to adjust the PC-relative
operand addresses.
Alan Modra [Sun, 1 Dec 2002 03:18:49 +0000 (03:18 +0000)]
* symbols.c (report_op_error): New function, broken out of ...
(resolve_symbol_value): ... here. Use for both monadic and dyadic
operators.
Alan Modra [Sat, 30 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Kaz Kojima [Sat, 30 Nov 2002 14:09:12 +0000 (14:09 +0000)]
* config/tc-sh.c (md_apply_fix3): Take account of fx_offset
for BFD_RELOC_32_PLT_PCREL.
* sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label".
* sh/gas/sh/pic.d: Add expected output.
Alan Modra [Sat, 30 Nov 2002 09:00:36 +0000 (09:00 +0000)]
* configure.host: Correct dynamic-linker for powerpc64 hosts.
Alan Modra [Sat, 30 Nov 2002 08:56:22 +0000 (08:56 +0000)]
* Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
* Makefile.in: Regenerate.
Alan Modra [Sat, 30 Nov 2002 08:39:46 +0000 (08:39 +0000)]
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Nathanael Nerode [Sat, 30 Nov 2002 01:59:39 +0000 (01:59 +0000)]
2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure: More autoconf-style substitutions.
* Makefile.tpl: More autoconf-style substitutions.
* Makefile.in: Regenerate.
2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure: Substitute more variables in a more autoconf-friendly
way. Simplify slightly.
* Makefile.tpl: Make more variables substitutable in an
autoconf-friendly way.
* Makefile.in: Regenerate.
Alan Modra [Fri, 29 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Nathanael Nerode [Fri, 29 Nov 2002 21:38:33 +0000 (21:38 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure.in (v810*): Remove special setting of tools.
* configure: Add support for extra required flags for ar or nm.
* configure.in (aix4.3+): Use above support for target-specific
issues, rather than using config/mt-aix43.
Nathanael Nerode [Fri, 29 Nov 2002 21:33:11 +0000 (21:33 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
* configure: Remove 'removing', which doesn't work. Replace $subdir
with . everywhere. Replace $subdirs with ''. Replace $makesrcdir
with $srcdir. Reformat indentation. Substitute some variables
formerly hard-coded in the Makefile for build=host.
* Makefile.tpl: Autogenerate more; make more autoconf-friendly.
* Makefile.def: Autogenerate more.
* Makefile.in: Regenerate.
Nick Clifton [Fri, 29 Nov 2002 21:00:50 +0000 (21:00 +0000)]
Allow BKPT instruction to be specified without an operand. Add a test for this.
Jakub Jelinek [Fri, 29 Nov 2002 00:03:30 +0000 (00:03 +0000)]
* readelf.c Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*.
(slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
Zero r_addend fields.
(dump_relocations): Remove relas variable, change Elf_Internal_Rel to
Elf_Internal_Rela.
Kaz Kojima [Thu, 28 Nov 2002 23:57:59 +0000 (23:57 +0000)]
* config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
Jakub Jelinek [Thu, 28 Nov 2002 23:32:59 +0000 (23:32 +0000)]
* config/tc-ia64.c (md_apply_fix3): Add default case.
Alan Modra [Thu, 28 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Thu, 28 Nov 2002 14:15:55 +0000 (14:15 +0000)]
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
Jakub Jelinek [Thu, 28 Nov 2002 14:13:51 +0000 (14:13 +0000)]
* write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
to entsize.
Alan Modra [Thu, 28 Nov 2002 11:55:43 +0000 (11:55 +0000)]
include/elf/ChangeLog
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr,
elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr,
Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr,
elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr,
Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym,
Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note,
elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel,
elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela,
elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela,
elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn,
Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef,
elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed,
elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux,
elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef,
Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux,
Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux,
Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym,
Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete.
(Elf_Internal_Rel): Delete.
bfd/ChangeLog
* elf-bfd.h: Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel
with Elf_Internal_Rela.
* elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h,
elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c,
elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c,
elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c,
elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto.
* elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr
throughout instead.
* elf.c (_bfd_elf_no_info_to_howto_rel): Delete.
* elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *.
Remove INLINE keyword.
(elf_swap_reloc_in): Likewise. Also clear r_addend.
(elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand
as a bfd_byte *.
(elf_write_relocs): Consolidate REL and RELA code.
(elf_slurp_reloc_table_from_section): Simplify REL code.
(NAME(_bfd_elf,size_info)): Populate reloc swap entries.
* elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define.
* elflink.h (elf_link_read_relocs_from_section): Consolidate REL and
RELA code.
(elf_link_adjust_relocs): Likewise. Don't malloc space for temp
reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.
(elf_finish_pointer_linker_section): Likewise.
(struct elf_link_sort_rela): Remove union.
(elf_link_sort_cmp1): Update to suit.
(elf_link_sort_cmp2): Here too.
(elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory
over-allocation for int_rels_per_ext_rel != 1 case.
* elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls.
* elf32-i386.c: Likewise.
* elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out.
* elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c,
elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise.
* elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out.
* elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out.
* elfxx-mips.c (sort_dynamic_relocs): Likewise for
bfd_elf32_swap_reloc_in.
* elf32-arm.h: Update elf32_arm_info_to_howto calls.
* elf32-mips.c: Likewise for mips_info_to_howto_rel.
(mips_elf64_swap_reloc_in): Zero r_addend.
(mips_elf64_be_swap_reloc_in): Likewise.
(mips_elf64_slurp_one_reloc_table): Simplify.
* elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-sparc.c (sparc64_elf_size_info): Likewise.
Kaz Kojima [Thu, 28 Nov 2002 08:37:15 +0000 (08:37 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* ld-sh/refdbg-0-dso.d: New test.
* ld-sh/refdbg-1.d: Likewise.
* ld-sh/refdbg.s: Likewise.
* ld-sh/refdbglib.s: Likewise.
David O'Brien [Thu, 28 Nov 2002 02:10:38 +0000 (02:10 +0000)]
2002-11-27 David O'Brien <obrien@FreeBSD.org>
* configure.host: Fix generic FreeBSD configuration entry.
Alan Modra [Wed, 27 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 27 Nov 2002 19:42:10 +0000 (19:42 +0000)]
2002-11-27 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add the missing `;' to sample version scripts.
Alan Modra [Tue, 26 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Tue, 26 Nov 2002 21:55:15 +0000 (21:55 +0000)]
* dwarf2dbg.c (scale_addr_delta): New.
(size_inc_line_addr): Use it.
(emit_inc_line_addr): Use it.
Alan Modra [Tue, 26 Nov 2002 11:54:02 +0000 (11:54 +0000)]
* elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs
on a relocatable link. Comment typos.
* elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure
in the order they are declared. Clear elf_hash_value too.
(_bfd_elf_link_hash_table_init): Likewise assign in order. Clear
eh_info and tls_segment.
* elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets
sorted when discarding relocs by turning them into R_*_NONE.
* libbfd.c (warn_deprecated): Comment spelling.
* po/SRC-POTFILES.in: Regenerate.
Hans-Peter Nilsson [Tue, 26 Nov 2002 08:21:35 +0000 (08:21 +0000)]
* config/tc-cris.c (cris_relax_frag): Fix typo in comment.
(md_assemble): Don't pass on branches to constants as relaxable.
Tweak comment.
Hans-Peter Nilsson [Tue, 26 Nov 2002 08:19:09 +0000 (08:19 +0000)]
* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
Alan Modra [Mon, 25 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 25 Nov 2002 21:15:41 +0000 (21:15 +0000)]
* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.
DJ Delorie [Mon, 25 Nov 2002 21:15:04 +0000 (21:15 +0000)]
* xstormy16-opc.c: Regenerate.
Jim Wilson [Mon, 25 Nov 2002 19:59:29 +0000 (19:59 +0000)]
Patch from Kenneth Chen to fix brl disassembly.
* ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
Svein Seldal [Mon, 25 Nov 2002 09:01:30 +0000 (09:01 +0000)]
* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
mode
Alan Modra [Sun, 24 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sun, 24 Nov 2002 15:59:22 +0000 (15:59 +0000)]
merge from gcc
Jason Thorpe [Sun, 24 Nov 2002 06:58:20 +0000 (06:58 +0000)]
* libiberty.h (basename): Add NetBSD to the list.
Alan Modra [Sat, 23 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Nick Clifton [Sat, 23 Nov 2002 08:01:51 +0000 (08:01 +0000)]
Fix typo describing switch for hex format.
Alan Modra [Fri, 22 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 22 Nov 2002 21:02:14 +0000 (21:02 +0000)]
merge from gcc
Alan Modra [Thu, 21 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 21 Nov 2002 21:37:06 +0000 (21:37 +0000)]
* ld-elf/elf.exp: Remove sec64k test.
* ld-elf/sec64k.exp: Reinstate.
Dave Anglin [Thu, 21 Nov 2002 19:06:28 +0000 (19:06 +0000)]
* config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
only if they have default visibility.
Richard Henderson [Thu, 21 Nov 2002 18:56:06 +0000 (18:56 +0000)]
* config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
S_IS_DEFINED test.
Richard Henderson [Thu, 21 Nov 2002 18:52:36 +0000 (18:52 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't overwrite the
arch's st_other bits when merging visibilities.
(elf_link_output_extsym): Tidy clearing of visibility field.
Alan Modra [Thu, 21 Nov 2002 13:30:31 +0000 (13:30 +0000)]
* ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.
* ld-elf/merge.s: New file.
* ld-elf/merge.d: New file.
* ld-elf/merge.ld: New file.
Alan Modra [Thu, 21 Nov 2002 13:11:33 +0000 (13:11 +0000)]
* coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.
(SWAP_OUT_RELOC_OFFSET): Define.