David Carlton [Thu, 5 Dec 2002 23:13:47 +0000 (23:13 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_add_field): Treat a field that is a
DW_TAG_member as well as a declaration as being a C++ static data
member.
(read_structure_scope): Combine tests for DW_TAG_member and
DW_TAG_variable.
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.
Alan Modra [Thu, 5 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Nathanael Nerode [Thu, 5 Dec 2002 22:45:33 +0000 (22:45 +0000)]
* configure.in: Revert unintentional change.
Nathanael Nerode [Thu, 5 Dec 2002 22:43:12 +0000 (22:43 +0000)]
* src-release: Configure host subdirs.
David Carlton [Thu, 5 Dec 2002 22:25:49 +0000 (22:25 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_compound): New function.
(decode_line_1): Move code into decode_compound.
David Carlton [Thu, 5 Dec 2002 21:26:57 +0000 (21:26 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux_local): Add 'static_block'
argument.
(lookup_symbol_aux): Do the 'field_of_this' check before checking
the static block. See PR gdb/804.
David Carlton [Thu, 5 Dec 2002 21:07:49 +0000 (21:07 +0000)]
2002-12-05 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Move code into lookup_symbol_aux_block.
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.
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.
Andrew Cagney [Thu, 5 Dec 2002 15:19:45 +0000 (15:19 +0000)]
2002-12-05 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh: Dump the predicate function and macro values.
(read): Print error on standard error.
* gdbarch.c: Regenerate.
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:17:39 +0000 (05:17 +0000)]
Create new file mips-tdep.h.
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.
Andrew Cagney [Thu, 5 Dec 2002 01:48:19 +0000 (01:48 +0000)]
2002-12-04 Andrew Cagney <
ac131313@redhat.com>
* gdb.base/store.exp, gdb.base/store.c: New files.
gdbadmin [Thu, 5 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
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
David Carlton [Wed, 4 Dec 2002 23:00:14 +0000 (23:00 +0000)]
2002-12-04 David Carlton <carlton@math.stanford.edu>
* Makefile.in (f-exp.tab.c): Don't depend on c-exp.tab.c.
David Carlton [Wed, 4 Dec 2002 22:54:59 +0000 (22:54 +0000)]
2002-12-04 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_symbol_aux): Move minsym code into a separate
function.
(lookup_symbol_aux_minsyms): New function.
Joel Brobecker [Wed, 4 Dec 2002 17:53:26 +0000 (17:53 +0000)]
* pa64solib.c: s/boolean/int/. Fixes a build failure on hppa64-hpux.
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.
Joel Brobecker [Wed, 4 Dec 2002 17:37:59 +0000 (17:37 +0000)]
* config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,
which is an obsolete macro name.
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.
Daniel Jacobowitz [Wed, 4 Dec 2002 05:40:40 +0000 (05:40 +0000)]
* doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.
* config/alpha/alpha-linux.mh (MH_CFLAGS): Add -mieee.
Daniel Jacobowitz [Wed, 4 Dec 2002 04:53:13 +0000 (04:53 +0000)]
* breakpoint.c (create_thread_event_breakpoint): Use xasprintf.
(create_breakpoints): Make sure the addr_string field is not
NULL.
Andrew Cagney [Wed, 4 Dec 2002 03:20:30 +0000 (03:20 +0000)]
2002-12-03 Andrew Cagney <
ac131313@redhat.com>
* sparc-nat.c (fetch_inferior_registers)
(store_inferior_registers): Add comment on problem of LWP vs
threads.
From 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
* lin-lwp.c (lin_lwp_fetch_registers): Remove.
(lin_lwp_store_registers): Remove.
(init_lin_lwp_ops): Use fetch_inferior_registers
and store_inferior_registers directly.
* sparc-nat.c (fetch_inferior_registers): Honor LWP ID.
(store_inferior_registers): Likewise.
Fix PR gdb/725.
Daniel Jacobowitz [Wed, 4 Dec 2002 03:15:27 +0000 (03:15 +0000)]
* gdb.base/selftest.exp: Update for current gdb.
Daniel Jacobowitz [Wed, 4 Dec 2002 03:13:22 +0000 (03:13 +0000)]
* gdb.base/maint.exp: Only dump symbols from one source file
or objfile.
Daniel Jacobowitz [Wed, 4 Dec 2002 03:07:45 +0000 (03:07 +0000)]
* gdb.base/step-test.exp: Allow MIPS to return to the line of a
function call.
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.
Andrew Cagney [Wed, 4 Dec 2002 00:05:54 +0000 (00:05 +0000)]
2002-12-03 Andrew Cagney <
ac131313@redhat.com>
* frame.h (get_frame_id): Convert to a function.
(null_frame_id, frame_id_p): Declare.
(frame_id_eq, frame_id_inner): Declare.
(frame_id_build): New function.
* frame.c (get_frame_id): Update. Use null_frame_id.
(frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and
frame_id_inner.
(null_frame_id, frame_id_p): Define.
(frame_id_eq, frame_id_inner): Define.
(frame_id_build): New function.
* varobj.c (varobj_create): Update.
(varobj_update): Update.
* valops.c (value_assign): Update.
(new_root_variable): Update.
* infrun.c (save_inferior_status): Update.
* breakpoint.c (watch_command_1): Update.
gdbadmin [Wed, 4 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
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.
Joel Brobecker [Tue, 3 Dec 2002 22:13:38 +0000 (22:13 +0000)]
* config/pa/tm-hppah.h (SNAP1): Remove unused macro.
(SNAP2): Likewise.
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.
Andrew Cagney [Tue, 3 Dec 2002 19:32:10 +0000 (19:32 +0000)]
2002-12-03 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention Daniel Jacobowitz's multi-threaded shared library
patch.
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.
Andrew Cagney [Tue, 3 Dec 2002 17:15:42 +0000 (17:15 +0000)]
2002-12-03 Andrew Cagney <cagney@redhat.com>
* PROBLEMS: Mention PR gdb/725.
Andreas Schwab [Tue, 3 Dec 2002 12:25:11 +0000 (12:25 +0000)]
* infcmd.c (construct_inferior_arguments): Handle empty arguments.
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.
Adam Fedor [Tue, 3 Dec 2002 03:52:37 +0000 (03:52 +0000)]
* gdb/objc-lang.c (objc_printstr): Add width arg to match
printstr prototype.
(compare_selectors): Add 'const' to arg types.
(compare_classes): Likewise.
(find_imps): Cast msym pointer to avoid compiler warning.
(print_object_command): Validate the address before
passing it to the print routine.
(find_objc_msgcall_submethod): Change function argument to
return an int.
* objc-lang.h: Add 'extern' to all function declaration.
(value_nsstring): Add declaration.
Joel Brobecker [Tue, 3 Dec 2002 00:13:45 +0000 (00:13 +0000)]
* somsolib.c (dld_cache): Replace boolean by int for field is_valid.
Fixes a build failure on HP/UX.
* hpread.c (told_objfile): Replace boolean type by int. Fixes a build
failure on HP/UX.
(hpread_has_name): Advance declaration to avoid a compilation warning.
(pst_syms_count): Add missing variable type. By change, the compiler
was defaulting to int, which seems a good choice. Fixes a compilation
warning.
(pst_syms_size): Likewise.
gdbadmin [Tue, 3 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Mon, 2 Dec 2002 23:30:34 +0000 (23:30 +0000)]
* hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
(hppa_gdbarch_init): Detect osabi from objfile. Will be needed
later to set the proper gdbarch methods depending on the osabi.
* Makefile.in (hppa-tdep.o): Add dependency on osabi.h.
Joel Brobecker [Mon, 2 Dec 2002 23:26:30 +0000 (23:26 +0000)]
* osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
* osabi.c (gdb_osabi_name): Add strings images for the two new
enum values.
(generic_elf_osabi_sniffer): Handle HPUX objfiles.
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".
Andrew Cagney [Mon, 2 Dec 2002 20:44:48 +0000 (20:44 +0000)]
Fix tipo.
Andrew Cagney [Mon, 2 Dec 2002 19:54:17 +0000 (19:54 +0000)]
2002-12-02 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS (Java): Global maintainers are responible for Java.
(Past Maintainers): Mention both Anthony Green and Per Bothner as
part Java maintainers.
Joel Brobecker [Mon, 2 Dec 2002 16:45:05 +0000 (16:45 +0000)]
* xcoffread.c (read_symbol_lineno): Replace type boolean by int.
Fixes a compilation failure on AiX.
Joel Brobecker [Mon, 2 Dec 2002 15:44:50 +0000 (15:44 +0000)]
* config/powerpc/aix432.mh (NATDEPFILES): Add a comment explaining
why aix-thread.o is not listed.
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.
gdbadmin [Mon, 2 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 1 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 1 Dec 2002 19:07:16 +0000 (19:07 +0000)]
2002-12-01 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename
PC_IN_CALL_DUMMY. Change to predicate. Always allow call.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update.
* config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, frame.h: Update.
* x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update.
* s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update.
* m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update.
* cris-tdep.c, alpha-tdep.c: Update.
* frame.c (set_unwind_by_pc, create_new_frame): Use either
DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame.
(get_prev_frame): Ditto.
Index: doc/ChangeLog
2002-12-01 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
PC_IN_CALL_DUMMY.
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:46:08 +0000 (13:46 +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.
gdbadmin [Sun, 1 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 30 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sat, 30 Nov 2002 18:01:30 +0000 (18:01 +0000)]
2002-11-30 Andrew Cagney <cagney@redhat.com>
* simops.c: Use int, 1, 0 instead of boolean, true and false.
* sim-main.h: Ditto.