H.J. Lu [Thu, 22 Nov 2001 18:49:12 +0000 (18:49 +0000)]
2001-11-22 H.J. Lu <hjl@gnu.org>
* Makefile.in: Regenerated with automake based on automake
1.4-8 in RedHat 7.1.
Nick Clifton [Thu, 22 Nov 2001 16:21:01 +0000 (16:21 +0000)]
Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.
Alan Modra [Thu, 22 Nov 2001 09:08:05 +0000 (09:08 +0000)]
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.
* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes. Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise
* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.
* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.
* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.
* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.
* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
Andrew Cagney [Thu, 22 Nov 2001 05:52:23 +0000 (05:52 +0000)]
Mention 5.1 release.
Michael Snyder [Thu, 22 Nov 2001 01:13:10 +0000 (01:13 +0000)]
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
Michael Snyder [Thu, 22 Nov 2001 01:07:24 +0000 (01:07 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
Tom Tromey [Thu, 22 Nov 2001 00:23:13 +0000 (00:23 +0000)]
Fix for PR gdb/209, PR gdb/156:
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
Tom Tromey [Thu, 22 Nov 2001 00:21:45 +0000 (00:21 +0000)]
* gdb.texinfo (Invoking GDB): Document --args.
(Mode Options): Likewise.
gdbadmin [Thu, 22 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Nov 2001 23:00:51 +0000 (23:00 +0000)]
daily update
Jim Blandy [Wed, 21 Nov 2001 22:26:48 +0000 (22:26 +0000)]
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete documentation; this macro has been removed from the
sources.
Kevin Buettner [Wed, 21 Nov 2001 21:56:47 +0000 (21:56 +0000)]
Fix two ``attach'' related bugs involving threads.
Alan Modra [Wed, 21 Nov 2001 14:58:26 +0000 (14:58 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
than sym_sec->output_section to detect relocs against discarded
sections.
Richard Sandiford [Wed, 21 Nov 2001 11:24:13 +0000 (11:24 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
(md_apply_fix3): ...here. Don't prevent the symbol value being
subtracted twice from GPREL addends.
(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
subtracted by the previous function.
Jim Blandy [Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)]
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
Alan Modra [Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)]
* ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.
Alan Modra [Wed, 21 Nov 2001 00:53:38 +0000 (00:53 +0000)]
daily update
Michael Snyder [Wed, 21 Nov 2001 00:13:30 +0000 (00:13 +0000)]
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Fix quotes in output messages.
Michael Snyder [Wed, 21 Nov 2001 00:12:01 +0000 (00:12 +0000)]
2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-exprs.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
gdbadmin [Wed, 21 Nov 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)]
Use msgfmt to generate .gmo files from .po files for a distribution.
Keith Seitz [Tue, 20 Nov 2001 18:08:14 +0000 (18:08 +0000)]
* varobj.c (c_value_of_child): Release memory for "name" when
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
Keith Seitz [Tue, 20 Nov 2001 16:54:39 +0000 (16:54 +0000)]
* top.c (gdb_init): Call init_ui_hook before initializing
the default UI.
Elena Zannoni [Tue, 20 Nov 2001 16:36:44 +0000 (16:36 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
Elena Zannoni [Tue, 20 Nov 2001 16:35:24 +0000 (16:35 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
Alan Modra [Tue, 20 Nov 2001 15:31:10 +0000 (15:31 +0000)]
* ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
Alan Modra [Tue, 20 Nov 2001 15:19:39 +0000 (15:19 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
of false when calling lang_size_sections.
(hppaelf_layout_sections_again): Likewise.
Nick Clifton [Tue, 20 Nov 2001 09:33:49 +0000 (09:33 +0000)]
Fix md_apply_fix3 typo.
Ben Elliston [Tue, 20 Nov 2001 03:33:30 +0000 (03:33 +0000)]
2001-11-20 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
usage after md_apply_fix3 cleanups.
H.J. Lu [Tue, 20 Nov 2001 00:54:51 +0000 (00:54 +0000)]
2001-11-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
discarding relocations.
gdbadmin [Tue, 20 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Elena Zannoni [Mon, 19 Nov 2001 23:59:55 +0000 (23:59 +0000)]
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* infptrace.c (fetch_register): Dynamically allocate buffer for
register.
(store_register): Use regcache_collect, instead of accessing the
register buffer directly.
Daniel Jacobowitz [Mon, 19 Nov 2001 23:15:31 +0000 (23:15 +0000)]
* mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
cur_frame to heuristic_proc_desc.
(heuristic_proc_desc): Add cur_frame argument. Do not read SP
if cur_frame == 0.
(after_prologue): Pass cur_frame == 0 to find_proc_desc.
(mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
(mips_init_extra_frame_info): Likewise.
Alan Modra [Mon, 19 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 19 Nov 2001 21:44:46 +0000 (21:44 +0000)]
* defs.h (return_to_top_level): Comment.
H.J. Lu [Mon, 19 Nov 2001 20:32:02 +0000 (20:32 +0000)]
2001-11-19 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/define.s: Mark all global lables as object.
* ld-elfvsb/hidden0.d: Match large section number.
* ld-elfvsb/hidden1.d: Likewise.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/internal1.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
* ld-elfvsb/protected1.d: Likewise.
* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
Andrew Cagney [Mon, 19 Nov 2001 20:18:32 +0000 (20:18 +0000)]
Use ISO C long strings.
Keith Seitz [Mon, 19 Nov 2001 19:44:04 +0000 (19:44 +0000)]
* varobj.c (c_value_of_child): Use the wrapper function,
gdb_value_struct_elt.
(cplus_value_of_child): Likewise.
Nick Clifton [Mon, 19 Nov 2001 15:35:38 +0000 (15:35 +0000)]
Define and use bfd_is_const_section().
Nick Clifton [Mon, 19 Nov 2001 14:35:57 +0000 (14:35 +0000)]
Add -ws switch to display contents of .debug_str sections
Andreas Jaeger [Mon, 19 Nov 2001 12:38:21 +0000 (12:38 +0000)]
* testsuite/binutils-all/objdump.exp: Add x86-64.
Alan Modra [Mon, 19 Nov 2001 03:52:37 +0000 (03:52 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
Alan Modra [Mon, 19 Nov 2001 03:01:43 +0000 (03:01 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.
Alan Modra [Mon, 19 Nov 2001 01:25:00 +0000 (01:25 +0000)]
* elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
(allocate_PIC_calls): Rename to allocate_plt_static.
(allocate_dynrelocs): Move most of code handling .plt entries to..
(allocate_plt_static): ..here. Don't drop plabel entries.
Hans-Peter Nilsson [Mon, 19 Nov 2001 01:22:45 +0000 (01:22 +0000)]
* mmo.c: Adjust documentation tags to use texinfo 4 features.
Hans-Peter Nilsson [Mon, 19 Nov 2001 01:19:07 +0000 (01:19 +0000)]
* doc/c-mmix.texi: Use texinfo 4 features.
(MMIX-mmixal): Fix typo.
gdbadmin [Mon, 19 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Sun, 18 Nov 2001 23:43:02 +0000 (23:43 +0000)]
* COPYING.NEWLIB: Mention preserved notice in specific parts.
Alan Modra [Sun, 18 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 18 Nov 2001 22:14:13 +0000 (22:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
* config/i386/tm-i386.h (NUM_REGS): Delete.
Kevin Buettner [Sun, 18 Nov 2001 21:38:59 +0000 (21:38 +0000)]
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
conversion for I386_LINUX_ORIG_EAX_REGNUM.
Andrew Cagney [Sun, 18 Nov 2001 21:28:20 +0000 (21:28 +0000)]
Zap config/i386/tm-embed.h.
Fred Fish [Sun, 18 Nov 2001 06:00:29 +0000 (06:00 +0000)]
2001-11-17 Fred Fish <fnf@redhat.com>
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.
Andrew Cagney [Sun, 18 Nov 2001 05:09:26 +0000 (05:09 +0000)]
Zap files in gdb/gdbserver/
Andrew Cagney [Sun, 18 Nov 2001 04:43:50 +0000 (04:43 +0000)]
doco more build probs.
Kevin Buettner [Sun, 18 Nov 2001 01:19:47 +0000 (01:19 +0000)]
* i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
of accessing registers[] directly.
gdbadmin [Sun, 18 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Sat, 17 Nov 2001 23:53:16 +0000 (23:53 +0000)]
* i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
when fetching ORIG_EAX.
Alan Modra [Sat, 17 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Matthew Green [Sat, 17 Nov 2001 22:34:17 +0000 (22:34 +0000)]
* ppc-opc.c (mfvrsave, mtvrsave): New instructions.
Daniel Jacobowitz [Sat, 17 Nov 2001 20:31:18 +0000 (20:31 +0000)]
* arm-linux-nat.c: Don't include <asm/ptrace.h>.
(fetch_register): Use elf_gregset_t instead of struct pt_regs.
(fetch_regs): Likewise.
(store_register): Likewise.
(store_regs): Likewise.
Daniel Jacobowitz [Sat, 17 Nov 2001 20:21:09 +0000 (20:21 +0000)]
* sparc-linux-nat.c (fill_gregset): Replace read_register_gen
with regcache_collect.
(fill_fpregset): Likewise.
Hans-Peter Nilsson [Sat, 17 Nov 2001 18:51:15 +0000 (18:51 +0000)]
Fix typo in comment in last commit
Hans-Peter Nilsson [Sat, 17 Nov 2001 18:39:03 +0000 (18:39 +0000)]
* config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
val assignment.
Daniel Jacobowitz [Sat, 17 Nov 2001 18:38:29 +0000 (18:38 +0000)]
* Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
* config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
* sparc-linux-nat.c: New file, from Mark Kettenis.
Chris Demetriou [Sat, 17 Nov 2001 02:59:06 +0000 (02:59 +0000)]
2001-11-16 Chris Demetriou <cgd@broadcom.cOm>
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test
to test symbol plus offset relocations in various ways.
* gas/mips/mips.exp: Run new test.
Jakub Jelinek [Sat, 17 Nov 2001 00:08:10 +0000 (00:08 +0000)]
* dwarf2read.c (dwarf_str_buffer): New.
(struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
(DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
(dwarf2_has_info): Clear dwarf_str_offset.
(dwarf2_build_psymtabs): Read .debug_str section if present.
(dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
DWARF_STR_SIZE.
(psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
(read_attribute): Handle DW_FORM_strp.
(read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
handling code.
(read_indirect_string): New.
(dump_die): Handle DW_FORM_strp.
gdbadmin [Sat, 17 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 16 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 16 Nov 2001 22:31:03 +0000 (22:31 +0000)]
merge from gcc
Jim Blandy [Fri, 16 Nov 2001 21:40:36 +0000 (21:40 +0000)]
* s390-tdep.c: Tweak argument-passing to match GCC bugs.
(is_float_singleton, is_struct_like, is_float_like): New
functions, that isolate the weirdness.
(is_double_or_float, is_simple_arg, pass_by_copy_ref,
is_double_arg): Use is_struct_like and is_float_like, rather than
testing the type codes ourselves.
(s390_push_arguments): When passing args on the stack, align each
on to a four-byte boundary, regardless of what the type itself
needs.
Ben Harris [Fri, 16 Nov 2001 19:53:29 +0000 (19:53 +0000)]
2001-11-16 Ben Harris <bjh21@netbsd.org>
* Makefile.in (os9kread.o): Replace $< with autoconf-approved
$(srcdir)/....
(procfs.o): Ditto.
(z8k-tdep.o): Ditto.
Ben Harris [Fri, 16 Nov 2001 18:56:01 +0000 (18:56 +0000)]
2001-11-16 Ben Harris <bjh21@netbsd.org>
* Makefile.in (armemu32.o): Replace $< with autoconf recommended
$(srcdir)/....
(armemu26.o): Ditto.
Ben Harris [Fri, 16 Nov 2001 18:29:27 +0000 (18:29 +0000)]
2001-11-16 Ben Harris <bjh21@netbsd.org>
* MAINTAINERS (write-after-approval): Add self.
Alan Modra [Fri, 16 Nov 2001 09:34:28 +0000 (09:34 +0000)]
* config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
H.J. Lu [Fri, 16 Nov 2001 07:27:59 +0000 (07:27 +0000)]
2001-11-15 H.J. Lu <hjl@gnu.org>
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
H.J. Lu [Fri, 16 Nov 2001 07:17:12 +0000 (07:17 +0000)]
2001-11-15 H.J. Lu <hjl@gnu.org>
* config/tc-alpha.c (md_apply_fix3): Fix a typo.
Daniel Jacobowitz [Fri, 16 Nov 2001 02:56:08 +0000 (02:56 +0000)]
* elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
local syms from discarded sections. Update comment.
Jim Blandy [Fri, 16 Nov 2001 02:48:30 +0000 (02:48 +0000)]
* s390-tdep.c (is_simple_arg): Structs and unions exactly eight
bytes long should be handled as DOUBLE_ARGs; don't recognize them
as SIMPLE_ARGs.
gdbadmin [Fri, 16 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 15 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 15 Nov 2001 21:29:00 +0000 (21:29 +0000)]
Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.
Andrew Cagney [Thu, 15 Nov 2001 20:58:38 +0000 (20:58 +0000)]
* remote.c (struct packet_reg): Declare.
(struct remote_state): Add fields sizeof_g_packet and g_packet.
(init_remote_state): Initialize sizeof_g_packet and g_packet.
(free_remote_state): Free g_packet.
(packet_reg_from_pnum, packet_reg_by_regnum): New functions.
(remote_wait): Use above instead of gdbarch methods
REGISTER_RAW_SIZE and REGISTER_BYTES.
(remote_async_wait): Ditto.
(remote_fetch_registers, remote_store_registers): Ditto.
(store_register_using_P): Ditto.
Andrew Cagney [Thu, 15 Nov 2001 20:30:41 +0000 (20:30 +0000)]
Really zap tty_input from multi-arch swap.
H.J. Lu [Thu, 15 Nov 2001 19:10:05 +0000 (19:10 +0000)]
2001-11-15 H.J. Lu <hjl@gnu.org>
* ld-sh/ld-r-1.d: Updated.
DJ Delorie [Thu, 15 Nov 2001 19:06:06 +0000 (19:06 +0000)]
merge from gcc
Andrew Cagney [Thu, 15 Nov 2001 18:35:05 +0000 (18:35 +0000)]
Correctly handle phex(*,0) and phex_nz(*,0).
Andrew Cagney [Thu, 15 Nov 2001 18:24:17 +0000 (18:24 +0000)]
* utils.c (phex_nz): For default case, set str to phex_nz return
value.
Alan Modra [Thu, 15 Nov 2001 13:19:46 +0000 (13:19 +0000)]
* config/tc-i386.h (md_end): Define.
(i386_elf_emit_arch_note): Declare.
(CpuUnknown): Delete.
* config/tc-i386.c (default_arch): Constify.
(smallest_imm_type): Remove CpuUnknown test.
(md_assemble): Don't bother checking cpu_arch_flags non-zero.
(i386_elf_emit_arch_note): New function.
Alan Modra [Thu, 15 Nov 2001 13:19:10 +0000 (13:19 +0000)]
* common.h (NT_ARCH): Define. Remove incorrect comment.
Andreas Schwab [Thu, 15 Nov 2001 13:14:09 +0000 (13:14 +0000)]
* readelf.c: Fix warnings without terminating newline.
Alan Modra [Thu, 15 Nov 2001 12:51:42 +0000 (12:51 +0000)]
* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
Alan Modra [Thu, 15 Nov 2001 12:44:03 +0000 (12:44 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
function when LDEMUL_FINISH isn't set to the same name. Don't
call ${LDEMUL_FINISH}.
(ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
* emultempl/armelf.em (arm_elf_finish): Call
gld${EMULATION_NAME}_finish.
* emultempl/hppaelf.em (hppaelf_finish): Rename to
gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
hppaelf_layout_sections_again if necessary.
(need_laying_out): New var.
(hppaelf_layaout_sections_again): Rename to
hppaelf_layout_sections_again. Clear need_laying_out.
(PARSE_AND_LIST_OPTIONS): Format text.
Alan Modra [Thu, 15 Nov 2001 12:27:07 +0000 (12:27 +0000)]
* po/POTFILES.in: Regenerate.
Alan Modra [Thu, 15 Nov 2001 12:18:27 +0000 (12:18 +0000)]
* po/SRC-POTFILES.in: Regenerate.
Thiemo Seufer [Thu, 15 Nov 2001 09:50:00 +0000 (09:50 +0000)]
* config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
Alan Modra [Thu, 15 Nov 2001 09:31:25 +0000 (09:31 +0000)]
* elflink.h (elf_link_input_bfd): Complain about all relocs
against local syms from discarded sections.
(elf_reloc_symbol_deleted_p): Don't try to swap in external syms.
Alan Modra [Thu, 15 Nov 2001 09:16:46 +0000 (09:16 +0000)]
revert last change.
H.J. Lu [Thu, 15 Nov 2001 07:12:48 +0000 (07:12 +0000)]
2001-11-14 H.J. Lu <hjl@gnu.org>
* emultempl/armelf.em (arm_elf_finish): Renamed from
gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Set to arm_elf_finish.
Andrew Cagney [Thu, 15 Nov 2001 06:43:10 +0000 (06:43 +0000)]
* TODO (register_buffer): Delete.
* regcache.c (register_buffer): Make static.
(regcache_collect): New function.
* regcache.h (register_buffer): Delete declaration.
(regcache_collect): Declare.
* remote.c (store_register_using_P): Rewrite using
regcache_collect.
(remote_store_registers): Ditto.
* go32-nat.c (store_register): Ditto.