Jan Beulich [Tue, 15 Feb 2005 07:37:11 +0000 (07:37 +0000)]
bfd/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* elfxx-ia64.c (ia64_howto_table): Correct strings for
R_IA64_DTPMOD64[LM]SB.
gas/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
new variables type, suffix, and width. Handle
BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
FUNC_DTP_RELATIVE case. Return incoming relocation type if
BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
if unable to translate relocation type, using the new variables.
gas/testsuite/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* gas/ia64/reloc.[ds]: New.
* gas/ia64/reloc-bad.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.
Jan Beulich [Tue, 15 Feb 2005 07:32:14 +0000 (07:32 +0000)]
gas/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.h (ia64_symbol_chars): Declare.
(ty_symbol_chars): Define.
* config/tc-ia64.c (ia64_symbol_chars): Define.
Jan Beulich [Tue, 15 Feb 2005 07:30:07 +0000 (07:30 +0000)]
gas/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (ia64_parse_name): Only update next character if
input_line_pointer was advanced.
gas/testsuite/
2005-02-15 Jan Beulich <jbeulich@novell.com>
* gas/ia64/operand-or.d: Pass -xnone to assembler.
Andrew Cagney [Tue, 15 Feb 2005 02:05:10 +0000 (02:05 +0000)]
2005-02-14 Andrew Cagney <cagney@gnu.org>
* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
* config/h8300/tm-h8300.h: Delete file.
H.J. Lu [Tue, 15 Feb 2005 01:54:58 +0000 (01:54 +0000)]
2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax
backward branch in the same section.
(elfNN_ia64_relocate_section): Inform users that the input
section is too big to relax br instruction when overflow
happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M
and R_IA64_PCREL21F.
gdbadmin [Tue, 15 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Kaz Kojima [Mon, 14 Feb 2005 23:58:14 +0000 (23:58 +0000)]
* config/tc-sh.c (md_apply_fix3): Add parentheses around &
within |.
Alan Modra [Mon, 14 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 14 Feb 2005 18:10:11 +0000 (18:10 +0000)]
2005-02-14 Andrew Cagney <cagney@gnu.org>
Mark up add_cmd.
* arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
* cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
* exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
* infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
* mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
* reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
* sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
* symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
* win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-regs.c: Update.
Andrew Cagney [Mon, 14 Feb 2005 16:18:43 +0000 (16:18 +0000)]
2005-02-14 Andrew Cagney <cagney@gnu.org>
Mark up add_setshow functions, replace "PRINT:" comment prefix
with "FIXME: i18n:".
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
* infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
* nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
* target.c, cli/cli-logging.c: Update.
Nick Clifton [Mon, 14 Feb 2005 16:17:04 +0000 (16:17 +0000)]
(elf_core_file_p): Move the call to elf_backend_object_p to allow the correct
machine to be set before processing the program headers.
H.J. Lu [Mon, 14 Feb 2005 15:47:19 +0000 (15:47 +0000)]
2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
* dis-buf.c (perror_memory): Use sprintf_vma to print out
address.
Andrew Cagney [Mon, 14 Feb 2005 14:37:38 +0000 (14:37 +0000)]
2005-02-14 Andrew Cagney <cagney@gnu.org>
* utils.c (paddress): New function.
* defs.h (paddress): Declare.
* printcmd.c (deprecated_print_address_numeric): Rename
print_address_numeric, call paddress.
* valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
* symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
* maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
* dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
* corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
* ada-valprint.c: Update.
DJ Delorie [Mon, 14 Feb 2005 12:10:25 +0000 (12:10 +0000)]
merge from gcc
Nick Clifton [Mon, 14 Feb 2005 11:40:18 +0000 (11:40 +0000)]
oops - omitted form previous delta
Nick Clifton [Mon, 14 Feb 2005 11:20:37 +0000 (11:20 +0000)]
PR binutils/716
* peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address aware flag
from the input bfd to the output bfd.
Eric Botcazou [Mon, 14 Feb 2005 10:09:49 +0000 (10:09 +0000)]
* ld-sparc/sparc.exp: Enable on Solaris. Disable 32-bit tests
on sparc64-elf.
Jan Beulich [Mon, 14 Feb 2005 08:02:51 +0000 (08:02 +0000)]
gas/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
(md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
indicator.
(ia64_init): Set md.detect_dv.
(ia64_start_line): New static variable warned. Warn only once when
encountering explicit stops in automatic mode.
* doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
* NEWS: Mention new default mode.
gas/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/label.l: Adjust line numbers.
* gas/ia64/label.s: Add .explicit.
* gas/ia64/nop_x.s: Likewise.
* gas/ia64/opc-a.d: Add assembler option -xnone.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.
* gas/ia64/unwind-err.l: Adjust line numbers.
* gas/ia64/unwind-err.s: Remove explicit stops.
ld/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* ld-elfvers/vers.exp (as_options): New. Set to -x for ia64.
(build_binary): Pass as_options to ld_assemble.
(test_ldfail): Likewise.
(build_exec): Likewise.
Pass as_options to run_ld_link_tests.
* ld-ia64/tlsbin.s: Add .explicit.
* ld-ia64/tlsbinpic.s: Likewise.
* ld-ia64/tlspic1.s: Likewise.
Jan Beulich [Mon, 14 Feb 2005 07:47:51 +0000 (07:47 +0000)]
gas/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_rot): Add comment that name strings should
be freed when wiping out previous state. Canonicalize names before
use. Free name string when detecting redefinition.
(dot_pred_rel): Call generic expression parser to process arguments.
Handle O_register case for individual predicates and O_subtract for
ranges.
(ia64_parse_name): Canonicalize name before looking it up in dynamic
register hash.
(ia64_canonicalize_symbol_name): Strip off all trailing # characters.
Warn if multiple found, issue error if resulting symbol name has zero
length.
(dot_alias): Canonicalize name before use.
gas/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/pound.[ls]: New.
* gas/ia64/ia64.exp: Run new test.
Eric Botcazou [Mon, 14 Feb 2005 00:15:38 +0000 (00:15 +0000)]
* ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes.
* ld-sparc/tlssunpic32.rd: Likewise.
gdbadmin [Mon, 14 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 13 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Sun, 13 Feb 2005 21:39:47 +0000 (21:39 +0000)]
* Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
building chew.
* Makefile.in: Regenerate.
H.J. Lu [Sun, 13 Feb 2005 19:25:26 +0000 (19:25 +0000)]
2005-02-13 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/ia64.exp: Add "operand-or".
* gas/ia64/operand-or.d: New file.
* gas/ia64/operand-or.s: Likewise.
Eric Botcazou [Sun, 13 Feb 2005 18:50:25 +0000 (18:50 +0000)]
* ld-elf/warn1.d: Do not run on sparc64-*-solaris2*.
Jason Merrill [Sun, 13 Feb 2005 06:58:55 +0000 (06:58 +0000)]
* cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
arguments.
gdbadmin [Sun, 13 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 12 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Ramana Radhakrishnan [Sat, 12 Feb 2005 21:53:29 +0000 (21:53 +0000)]
2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
* MAINTAINERS: Add myself to "Write After Approval".
Yoshinori Sato [Sat, 12 Feb 2005 10:42:58 +0000 (10:42 +0000)]
Add myself "Write After Approval"
Yoshinori Sato [Sat, 12 Feb 2005 10:38:52 +0000 (10:38 +0000)]
Restore h8300 support
Andrew Cagney [Sat, 12 Feb 2005 00:39:24 +0000 (00:39 +0000)]
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up some of printf_filtered and printf_unfiltered.
* ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
* corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
* demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
* event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
* gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
* mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
* ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
* remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
* stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
* top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
* cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
* tui/tui-regs.c, tui/tui-win.c: Update.
H.J. Lu [Sat, 12 Feb 2005 00:13:33 +0000 (00:13 +0000)]
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
and 0 for error.
(in_procedure): Return -1 for warning.
(in_prologue): Likewise.
(in_body): Likewise.
gdbadmin [Sat, 12 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Zack Weinberg [Fri, 11 Feb 2005 23:52:03 +0000 (23:52 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
If st.st_ino is zero, do not treat the library as a duplicate.
Alan Modra [Fri, 11 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Fri, 11 Feb 2005 22:29:10 +0000 (22:29 +0000)]
* elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject
R_MIPS_LITERAL relocations for external symbols.
* elf64-mips.c (mips_elf64_literal_reloc): Likewise.
* elfn32-mips.c (mips_elf_literal_reloc): Likewise.
H.J. Lu [Fri, 11 Feb 2005 21:03:33 +0000 (21:03 +0000)]
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
(dot_xdata): Undo the last change. Section name is used by
set_section.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
H.J. Lu [Fri, 11 Feb 2005 21:01:19 +0000 (21:01 +0000)]
gas/
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention "-munwind-check=[warning|error]".
* config/tc-ia64.c (md): Add unwind_check.
(unwind_diagnostic): New.
(in_procedure): Call unwind_diagnostic when a directive isn't
in procedure.
(in_prologue): Call unwind_diagnostic when a directive isn't in
prologue.
(in_body): Call unwind_diagnostic when a directive isn't in
body region.
(dot_endp): Set md.unwind_check to error before calling
in_procedure and restore it after. When the name is missing or
couldn't be found, use the one from the last .proc if
md.unwind_check isn't error. Warn if md.unwind_check is
warning.
(md_parse_option): Handle "-munwind-check=[warning|error]".
(md_show_usage): Add "-munwind-check=[warning|error]".
(ia64_init): Set md.unwind_check to warning.
* doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
* doc/c-ia64.texi: Likewise.
gas/testcase
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err
and proc.
Maciej W. Rozycki [Fri, 11 Feb 2005 20:29:29 +0000 (20:29 +0000)]
* mips.h (R_MIPS_max): Use FAKE_RELOC to define.
Andrew Cagney [Fri, 11 Feb 2005 18:13:55 +0000 (18:13 +0000)]
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up error_no_arg, query, perror_with_name, complaint, and
internal_error.
* breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
* cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
* dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
* exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
* frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
* gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
* go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
* i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
* infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
* interps.c, language.c, linespec.c, linux-nat.c: Update.
* m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
* m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
* macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
* mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
* objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
* parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
* ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
* regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
* remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
* s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
* sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
* solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
* sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
* symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
* utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
* win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
* cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
* cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
* mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
* tui/tui-file.c, tui/tui-interp.c: Update.
H.J. Lu [Fri, 11 Feb 2005 17:33:16 +0000 (17:33 +0000)]
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in2.h: Rebuilt.
Andreas Schwab [Fri, 11 Feb 2005 17:26:41 +0000 (17:26 +0000)]
Fix typo.
Nick Clifton [Fri, 11 Feb 2005 17:22:47 +0000 (17:22 +0000)]
(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with
a size of 0.
Nick Clifton [Fri, 11 Feb 2005 17:18:41 +0000 (17:18 +0000)]
(m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC to protect the declaration of this array.
Nick Clifton [Fri, 11 Feb 2005 17:15:32 +0000 (17:15 +0000)]
(iq2000_reloc_map): Remove unused structure and array.
Nick Clifton [Fri, 11 Feb 2005 17:13:02 +0000 (17:13 +0000)]
(ip2k_call_opcode, IS_CALL_OPCODE): Remove unused structure and macro.
Nick Clifton [Fri, 11 Feb 2005 17:10:07 +0000 (17:10 +0000)]
(coff_std_swap_table): Add an unused attribute in case it is not used.
Nick Clifton [Fri, 11 Feb 2005 17:06:17 +0000 (17:06 +0000)]
(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
it is actually picked up.
Paul Brook [Fri, 11 Feb 2005 17:01:17 +0000 (17:01 +0000)]
2005-02-11 Paul Brook <paul@codesourcery.com>
* ld-elf/symbol1w.s: Avoid usung @function syntax.
Paul Brook [Fri, 11 Feb 2005 16:41:09 +0000 (16:41 +0000)]
2005-02-11 Paul Brook <paul@codesourcery.com>
* elf-bfd.h (struct elf_link_hash_table): Add
is_relocatable_executable.
* elf.c (_bfd_elf_link_hash_table_init): Initialize it.
* elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic
symbols in relocatable executables.
(bfd_elf_record_link_assignment): Create dynamic section symbols in
relocatable executables.
(_bfd_elf_link_renumber_dynsyms): Ditto.
(bfd_elf_final_link): Ditto.
* elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute
relocations into relocatable executables.
(elf32_arm_check_relocs): Crate dynamic sections for relocatable
executables. Also copy absolute relocations.
(elf32_arm_adjust_dynamic_symbol): Don't create copy relocations
in relocatable executables.
(allocate_dynrelocs): Copy relocations for relocatable executables.
Output dynamic symbols for symbols defined in linker scripts.
Nick Clifton [Fri, 11 Feb 2005 16:09:30 +0000 (16:09 +0000)]
Fix compile time warning building iq2000-asm.c
Nick Clifton [Fri, 11 Feb 2005 16:04:06 +0000 (16:04 +0000)]
Regenerate frv-dis.c in order to fix a compile time warning.
Nick Clifton [Fri, 11 Feb 2005 15:59:51 +0000 (15:59 +0000)]
Fix compile time warning by using an unsigned type.
Nick Clifton [Fri, 11 Feb 2005 15:57:10 +0000 (15:57 +0000)]
Remove redundant test in BFD_ASSERT
H.J. Lu [Fri, 11 Feb 2005 15:48:11 +0000 (15:48 +0000)]
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (group_count): Don't initialize it.
(process_section_groups): Reurn 1 if we won't do unwind nor
section groups. Set group_count to 0 before counting group
sections and return 1 if there are no group sections. Reread
SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
section 0.
(process_object): Only set do_unwind to 0 if
process_section_groups return 0.
Alan Modra [Fri, 11 Feb 2005 14:25:13 +0000 (14:25 +0000)]
* ld-elfvsb/hidden2.s: Replace .word with .long.
Alan Modra [Fri, 11 Feb 2005 14:18:15 +0000 (14:18 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
old-style branches to undefined dot-symbols which will be
satisfied by a plt call.
Jan Beulich [Fri, 11 Feb 2005 10:13:07 +0000 (10:13 +0000)]
gas/
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.
Jan Beulich [Fri, 11 Feb 2005 07:54:52 +0000 (07:54 +0000)]
gas/
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md): Remove last_groups and group_idx.
(errata_nop_necessary_p): Remove declaraction and definition.
(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
update md.group_idx. Don't reset md.last_groups.
Jan Beulich [Fri, 11 Feb 2005 07:45:20 +0000 (07:45 +0000)]
gas/
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (parse_section_name): Handle non-quoted first
argument.
(dot_xdata): Free section name after use.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
(md_pseudo_table): Add xdata16 and xdata16.ua.
H.J. Lu [Fri, 11 Feb 2005 06:29:08 +0000 (06:29 +0000)]
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
* doc/all.texi: Add IA64.
* doc/as.texinfo: Likewise.
* doc/c-ia64.texi: Fix typos.
Mark Kettenis [Fri, 11 Feb 2005 04:15:55 +0000 (04:15 +0000)]
Fix my email address in last commit.
Mark Kettenis [Fri, 11 Feb 2005 04:12:19 +0000 (04:12 +0000)]
* gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
files.
Andrew Cagney [Fri, 11 Feb 2005 04:06:14 +0000 (04:06 +0000)]
2005-02-10 Andrew Cagney <cagney@gnu.org>
Mark up all error and warning messages.
* ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
* bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
* core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
* cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
* dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
* dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
* event-top.c, exec.c, expprint.c, f-lang.c: Update.
* f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
* frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
* gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
* hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
* hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
* hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
* i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
* ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
* kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
* m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
* m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
* maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
* nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
* observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
* p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
* ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
* remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
* remote-rdp.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote-utils.h, remote.c: Update.
* rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
* ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
* sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
* solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
* solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
* somread.c, somsolib.c, source.c, stabsread.c: Update.
* stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
* symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
* uw-thread.c, valarith.c, valops.c, valprint.c: Update.
* value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
* xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
* cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
* cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
* mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
* mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
* mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
* tui/tui-win.c: Update.
Mark Kettenis [Fri, 11 Feb 2005 04:01:01 +0000 (04:01 +0000)]
* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
on *-*-openbsd*. Correctly match whitespace in regukar
expressions.
Alan Modra [Fri, 11 Feb 2005 03:47:40 +0000 (03:47 +0000)]
* elf64-ppc.c (move_plt_plist): New function, extracted from..
(ppc64_elf_copy_indirect_symbol): ..here.
(func_desc_adjust): Use move_plt_plist.
gdbadmin [Fri, 11 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Thu, 10 Feb 2005 23:34:43 +0000 (23:34 +0000)]
* MAINTAINERS: Update my e-mail address.
Alan Modra [Thu, 10 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 10 Feb 2005 18:15:44 +0000 (18:15 +0000)]
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* cp-valprint.c: Include "language.h".
(cp_print_value_fields): Pass the current language to
fprintf_symbol_filtered.
* Makefile.in (cp-valprint.o): Update dependencies.
testsuite/
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* gdb.base/gdb1821.c: New test file.
* gdb.base/gdb1821.exp: New test file.
Andrew Cagney [Thu, 10 Feb 2005 17:32:53 +0000 (17:32 +0000)]
2005-02-10 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
print string parameter with fprint_setshow function.
* command.h (fprint_setshow_ftype): Define. Update declarations.
* cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
available, use that.
* cli/cli-decode.h (struct cmd_list_element): Add field
fprint_setshow.
* complaints.c (fprint_setshow_complaints): New function.
(_initialize_complaints): Pass to add_setshow_zinteger_cmd.
* hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
with NULL.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* m32r-rom.c (_initialize_m32r_rom): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* dwarf2read.c (_initialize_dwarf2_read): Ditto.
* frame.c (_initialize_frame): Ditto.
* target.c (initialize_targets): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* observer.c (_initialize_observer): Ditto.
* infcall.c (_initialize_infcall): Ditto.
* breakpoint.c (_initialize_breakpoint): Ditto.
* cli/cli-logging.c (_initialize_cli_logging): Ditto.
* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
Andrew Cagney [Thu, 10 Feb 2005 15:24:37 +0000 (15:24 +0000)]
2005-02-10 Andrew Cagney <cagney@gnu.org>
* cli/cli-setshow.c (do_setshow_command): Move code printing the
value to the end of the function. Handle MI and non-MI output
differently.
Paul Brook [Thu, 10 Feb 2005 14:14:25 +0000 (14:14 +0000)]
2005-02-10 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9.
Paul Brook [Thu, 10 Feb 2005 14:09:43 +0000 (14:09 +0000)]
2005-02-10 Paul Brook <paul@codesourcery.com>
* elflink.c (bfd_elf_record_link_assignment): Make hidden and internal
symbols local.
(elf_link_renumber_hash_table_dynsyms): Ignore local symbols.
(elf_link_renumber_local_hash_table_dynsyms): New function.
(_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols.
ld/testsuite/
* ld-elfvsb/hidden2.s: New file
* ld-elfvsb/hidden2.d: New file
* ld-elfvsb/hidden2.ld: New file
Julian Brown [Thu, 10 Feb 2005 12:39:17 +0000 (12:39 +0000)]
* config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
BFD_RELOC_UNUSED.
(do_t_push_pop): Likewise.
(md_assemble): Likewise.
(md_apply_fix3): Handle BFD_RELOC_NONE correctly, make BFD_RELOC_UNUSED
same as previous meaning of BFD_RELOC_NONE.
(create_unwind_entry): Output dependency on the required personality
routines.
testsuite/gas/arm/unwind.d: Alter expected output to include dependency
on __aeabi_unwind_cpp_pr[01].
Jakub Jelinek [Thu, 10 Feb 2005 09:15:08 +0000 (09:15 +0000)]
* bfd-in.h (BFD_LINKER_CREATED): Define.
* bfd-in2.h: Rebuilt.
* elflink.c (bfd_elf_size_dynamic_sections): Disregard
BFD_LINKER_CREATED bfds when determining input bfds without
.note.GNU-stack section.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Set BFD_LINKER_CREATED on the stubs bfd.
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
Likewise.
Mark Mitchell [Thu, 10 Feb 2005 08:01:41 +0000 (08:01 +0000)]
* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
maintainers.
Mark Mitchell [Thu, 10 Feb 2005 05:49:21 +0000 (05:49 +0000)]
* scripttempl/armbpabi.sc (VERSION): Make special section symbols
local.
(Image$$ER_RO$$Base): Define whenever RELOCATING.
(Image$$ER_RO$$Limit): Likewise.
(SHT$$INIT_ARRAY$$Base): Likewise.
(SHT$$INIT_ARRAY$$Limit): Likeise.
Maciej W. Rozycki [Thu, 10 Feb 2005 03:07:46 +0000 (03:07 +0000)]
* elf64-mips.c (mips16_gprel_reloc): Update a comment.
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL
relocations against external symbols unchanged.
Ben Elliston [Thu, 10 Feb 2005 01:03:49 +0000 (01:03 +0000)]
* emultempl/beos.em: Remove #if 0 and #if 1 blocks.
gdbadmin [Thu, 10 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 9 Feb 2005 23:15:01 +0000 (23:15 +0000)]
2005-02-09 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
show_result parameters.
* mips-tdep.c (_initialize_mips_tdep): Update calls.
* command.h: Update declaration.
* arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
calls.
Alan Modra [Wed, 9 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Jim Blandy [Wed, 9 Feb 2005 22:04:04 +0000 (22:04 +0000)]
cgen/ChangeLog:
2005-02-09 Jim Blandy <jimb@redhat.com>
* cgen-sim.scm (load-files): Don't load fixup.scm. (See
corresponding change in the sim/common directory.)
sim/common/ChangeLog:
2005-02-09 Jim Blandy <jimb@redhat.com>
* Make-common.in (CGEN): Load guile.scm, and include a trailing
'-s' argument.
(CGEN_FLAGS_TO_PASS): Include single quotes around the reference
to $(CGEN), to ensure that the command substitution happens where
the variable is referenced in the submake, not when the submake's
arguments are expanded.
(cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
(arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
application Scheme script directly after ${cgen}; don't precede it
with a -s.
Andrew Cagney [Wed, 9 Feb 2005 21:56:12 +0000 (21:56 +0000)]
2005-02-09 Andrew Cagney <cagney@gnu.org>
* NEWS: Mention removed commands.
* m68hc11-tdep.c (show_regs): Delete, unused.
(_initialize_m68hc11_tdep): Delete deprecated "regs" command.
* gdb-events.sh: Delete deprecated "set eventdebug" and "show
eventdebug" commands.
* gdb-events.c: Regenerate.
* gdbarch.sh: Delete deprecated "set archdebug" and "show
archdebug" commands.
* gdbarch.c: Regenerate.
* cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
remotedebug" and "show remotedebug".
* arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
disassembly-flavor", "show arm disassembly-flavor", and
"othernames" commands.
(arm_othernames): Delete unused function.
Joel Brobecker [Wed, 9 Feb 2005 19:58:23 +0000 (19:58 +0000)]
* gdb.base/start.c: New file.
* gdb.base/start.exp: New testcase.
Joel Brobecker [Wed, 9 Feb 2005 19:38:01 +0000 (19:38 +0000)]
* gdb.ada/start/dummy.adb: New file.
* gdb.ada/start.exp: New testcase.
Theodore A. Roth [Wed, 9 Feb 2005 19:06:08 +0000 (19:06 +0000)]
* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.
Andrew Cagney [Wed, 9 Feb 2005 16:51:43 +0000 (16:51 +0000)]
2005-02-09 Andrew Cagney <cagney@gnu.org>
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
(convert_code_addr_to_desc_addr): Convert any function code
address to the corresponding function's descriptor.
(ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
writing, convert any function code address to the corresponding
descriptor.
Corinna Vinschen [Wed, 9 Feb 2005 16:45:39 +0000 (16:45 +0000)]
* maint.exp: Raise timeout to give Cygwin targeted GDBs more time
for printing symbols and statistics.
Add test for using relative pathnames in "maint print msymbols" test.
Mark "maint info sections DATA" XFAIL on Cygwin.
Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
tests.
Corinna Vinschen [Wed, 9 Feb 2005 16:45:17 +0000 (16:45 +0000)]
* symmisc.c: Include gdb_stat.h.
(maintenance_print_msymbols): Use inode numbers to compare files.
Andrew Cagney [Wed, 9 Feb 2005 15:58:51 +0000 (15:58 +0000)]
2005-02-09 Andrew Cagney <cagney@gnu.org>
* config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Ditto.
* config/pa/linux.mt (TDEPFILES): Ditto.
* config/mips/linux.mt (TDEPFILES): Ditto.
* config/m68k/linux.mt (TDEPFILES): Ditto.
* config/m32r/linux.mt (TDEPFILES): Ditto.
* config/ia64/linux.mt (TDEPFILES): Ditto.
* config/arm/linux.mt (TDEPFILES): Ditto.
Andrew Cagney [Wed, 9 Feb 2005 14:54:24 +0000 (14:54 +0000)]
2005-02-09 Andreas Schwab <schwab@suse.de>
Committed by Andrew Cagney <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.
Jan Beulich [Wed, 9 Feb 2005 08:05:43 +0000 (08:05 +0000)]
gas/testsuite/
2005-02-09 Jan Beulich <jbeulich@novell.com>
* gas/i386/intelok.s: Remove comments disabling alternative forms of
fbld, fbstp, and fldcw.
* gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw.
include/opcode/
2005-02-09 Jan Beulich <jbeulich@novell.com>
PR gas/707
* i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
fnstsw.
Andrew Cagney [Wed, 9 Feb 2005 00:04:29 +0000 (00:04 +0000)]
2005-02-08 Andrew Cagney <cagney@gnu.org>
* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): Move from here ...
* cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): ... to here.
* cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
* Makefile.in: Update dependencies.
gdbadmin [Wed, 9 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 8 Feb 2005 23:44:06 +0000 (23:44 +0000)]
2005-02-08 Andrew Cagney <cagney@gnu.org>
* exceptions.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
(catch_exception, catch_exceptions_with_msg, catch_errors)
(catch_command_errors): Use TRY_CATCH.
(struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
(exceptions_state_mc_init): Rename catcher_init.
(exceptions_state_mc): Rename catcher_state_machine.
(exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): New functions.
* exceptions.h: Include <setjmp.h>.
(EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
(EXCEPTIONS_SIGLONGJMP): Define.
(exceptions_state_mc_init, exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): Declare.
(TRY_CATCH): Define.
Alan Modra [Tue, 8 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 8 Feb 2005 22:37:35 +0000 (22:37 +0000)]
2005-02-08 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section. Update GDB's URL.