Andrew Cagney [Tue, 16 Jul 2002 15:19:19 +0000 (15:19 +0000)]
Obsolete i[3456]86-*-os9k.
Andrew Cagney [Tue, 16 Jul 2002 14:30:14 +0000 (14:30 +0000)]
Obsolete fr30.
Alan Modra [Tue, 16 Jul 2002 13:37:49 +0000 (13:37 +0000)]
* config/tc-z8k.c (build_bytes): Correct order of memset args.
Alan Modra [Tue, 16 Jul 2002 13:35:58 +0000 (13:35 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
Alan Modra [Tue, 16 Jul 2002 12:31:35 +0000 (12:31 +0000)]
* elflink.h: Formatting fixes, tidy prototypes.
(elf_link_assign_sym_version): Move common code out of loop.
Alan Modra [Tue, 16 Jul 2002 09:00:42 +0000 (09:00 +0000)]
* elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
reloc section size is zero. Correct reloc output location.
Nick Clifton [Tue, 16 Jul 2002 07:58:34 +0000 (07:58 +0000)]
Add 'Chnages in 2.13' to NEWS files.
Pierre Muller [Tue, 16 Jul 2002 07:42:25 +0000 (07:42 +0000)]
2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>
* blockframe.c (get_pc_function_start): return 0 if the minimal symbol
found is not inside a section.
Alan Modra [Tue, 16 Jul 2002 02:26:30 +0000 (02:26 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
the final type for the e_fsel selector when generating PA2.0W code.
(elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1
relocations.
Kevin Buettner [Tue, 16 Jul 2002 00:22:45 +0000 (00:22 +0000)]
* aix-thread.c (ptrace_check): Use safe_strerror() instead of
strerror().
(pdc_realloc): Use xrealloc() instead of realloc().
H.J. Lu [Tue, 16 Jul 2002 00:15:57 +0000 (00:15 +0000)]
2002-07-15 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers21.
* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.
gdbadmin [Tue, 16 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 16 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Mon, 15 Jul 2002 23:33:09 +0000 (23:33 +0000)]
* aix-thread.c (PD_ERROR, CALL_BASE): Delete.
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
(ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
macros.
Kevin Buettner [Mon, 15 Jul 2002 20:06:12 +0000 (20:06 +0000)]
* aix-thread.c (ptrace_check): Eliminate goto.
(sync_threadlists): Eliminate gotos. Also, fix array overrun
problem.
Kevin Buettner [Mon, 15 Jul 2002 18:55:04 +0000 (18:55 +0000)]
* aix-thread.c (gdbcmd.h): Include.
(DEBUG, DBG, DBG2, dbg): Eliminate.
(debug_aix_thread): New static global.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
(fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
invocations to DBG and DBG2 macros to test against
``debug_aix_thread'' and call fprintf_unfiltered().
(_initialize_aix_thread): Add new command "set debug aix-thread".
Andrew Cagney [Mon, 15 Jul 2002 16:50:51 +0000 (16:50 +0000)]
From Gerhard Tonn <TON@de.ibm.com>:
* s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
instead of supply_register.
Andrew Cagney [Mon, 15 Jul 2002 16:13:12 +0000 (16:13 +0000)]
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
avoid possible longjmp problems with automatic variable siggnal.
Andrew Cagney [Mon, 15 Jul 2002 16:01:31 +0000 (16:01 +0000)]
* dwarf2cfi.c: Include "gdb_assert.h".
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is
non-NULL.
(update_context): Do not use __func__. Add missing ``break''.
(update_context): Do not use __func__.
Elena Zannoni [Mon, 15 Jul 2002 15:09:55 +0000 (15:09 +0000)]
2002-07-15 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
and its setting. Set gdbarch instruction printing functions
directly. For non-rs6000 case use new function
gdb_print_insn_powerpc.
(gdb_print_insn_powerpc): New function.
H.J. Lu [Mon, 15 Jul 2002 02:23:26 +0000 (02:23 +0000)]
bfd/
2002-07-14 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_assign_sym_version): Hide the default
definition if there is a hidden versioned definition.
ld/
2002-07-14 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Document a .symver takes precedence over a
version script.
Alan Modra [Mon, 15 Jul 2002 01:52:48 +0000 (01:52 +0000)]
copyright date
Alan Modra [Mon, 15 Jul 2002 01:51:07 +0000 (01:51 +0000)]
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
gdbadmin [Mon, 15 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 15 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sun, 14 Jul 2002 17:03:39 +0000 (17:03 +0000)]
From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
* Make-common.in (installdirs): Make $(libdir) too, needed when
installing libsim.a.
Andrew Cagney [Sun, 14 Jul 2002 00:28:46 +0000 (00:28 +0000)]
Mention d30v obsolete in news file.
Andrew Cagney [Sun, 14 Jul 2002 00:15:20 +0000 (00:15 +0000)]
Obsolete the d30v.
Alan Modra [Sun, 14 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 14 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Aidan Skinner [Sat, 13 Jul 2002 12:25:16 +0000 (12:25 +0000)]
* ada-tasks.c (add_task_entry): replace calls to
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()
* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()
Kevin Buettner [Sat, 13 Jul 2002 00:29:37 +0000 (00:29 +0000)]
From Nicholas Duffek (with minor changes by Martin Hunt,
Louis Hamilton, and Kevin Buettner):
* aix-thread.c: New file.
Alan Modra [Sat, 13 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 13 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Petr Sorfa [Fri, 12 Jul 2002 19:55:10 +0000 (19:55 +0000)]
2002-07-12 Petr Sorfa <petrs@caldera.com>
* dwarf2read.c (dwarf2_invalid_attrib_class): New
complaint for invalid attribute class or form.
(read_func_scope): DW_AT_frame_base
better handling of DW_AT_block*.
(dwarf2_add_member_fn): DW_AT_vtable_elem_location
better handling of DW_AT_block*.
(read_common_block): DW_AT_location
better handling of DW_AT_block*.
(read_partial_die): DW_AT_location better handling
of DW_AT_block*.
(new_symbol): DW_AT_external better handling of
DW_AT_block*. Proper initialization of variable
"addr".
(attr_form_is_block): New function that returns true
if the attribute's form is of DW_FORM_block*.
Daniel Jacobowitz [Fri, 12 Jul 2002 19:15:30 +0000 (19:15 +0000)]
2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* valops.c (find_method_list): Remove comment about
removed STATIC_MEMFUNCP argument.
(value_find_oload_method_list): Likewise.
Kevin Buettner [Fri, 12 Jul 2002 18:42:05 +0000 (18:42 +0000)]
From Nicholas Duffek:
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.
Kevin Buettner [Fri, 12 Jul 2002 18:30:15 +0000 (18:30 +0000)]
From Nicholas Duffek:
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
csect.
Andrew Cagney [Fri, 12 Jul 2002 17:14:32 +0000 (17:14 +0000)]
* MAINTAINERS: Mention --enable-sim-build-warnings.
(m68hc11-elf): Disable sim build warnings.
(m32r-elf): Mark as broken obsolete candidate.
(x86_64-linux-gnu): Mark as buildable with -Werror.
(arm-elf): Change -w to ``,'' which enables warnings but not
-Werror.
Hans-Peter Nilsson [Fri, 12 Jul 2002 15:54:57 +0000 (15:54 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
dynamic reference test in assertion when initializing GOT with
static contents. Just assert that there are either no dynamic
sections, the symbol is defined in the regular objects or that the
symbol is undef weak. Tweak comment.
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program
only if the symbol isn't defined in the program and isn't undef
weak.
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting
rid of PLT entry: only do it if the symbol isn't defined in a DSO.
When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments.
(elf_cris_discard_excess_program_dynamics): Don't consider
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs.
Hans-Peter Nilsson [Fri, 12 Jul 2002 15:51:54 +0000 (15:51 +0000)]
* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
ld-cris/expdref1.s: New tests.
Andrew Cagney [Fri, 12 Jul 2002 15:23:10 +0000 (15:23 +0000)]
* bcache.h: Update copyright.
(struct bstring, struct bcache): Move definition to "bcache.c".
Replaced by opaque declaration.
(bcache_xfree): Replace free_bcache.
(bcache_xmalloc, bcache_memory_used): Declare.
* bcache.c: Update copyright.
(struct bstring, struct bcache): Moved to here from "bcache.h".
Update comments.
(bcache_xmalloc, bcache_memory_used): New functions.
(bcache_xfree): Replace function free_bcache.
* Makefile.in (objfiles.o): Add $(bcache_h).
(objfiles_h): Remove $(bcache_h).
(symfile.o): Add $(bcache_h).
* symmisc.c: Update copyright.
(print_symbol_bcache_statistics): Pass psymbol_cache by value.
(print_objfile_statistics): Use bcache_memory_used.
* symfile.c: Include "bcache.h".
(reread_symbols): Use bcache_xfree.
(reread_symbols): Use bcache_xmalloc and bcache_xfree.
(add_psymbol_to_list): Pass psymbol_cache by value.
(add_psymbol_with_dem_name_to_list): Ditto.
* objfiles.h: Update copyright.
(struct bcache): Declare opaque. Do not include "bcache.h".
(struct objfile): Change psymbol_cache and macro_cache to ``struct
bcache'' pointers.
* dwarf2read.c (macro_start_file): Pass macro_cache by value.
* objfiles.c: Include "bcache.h". Update copyright.
(allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
macro_cache.
(free_objfile): Use bcache_xfree.
Alan Modra [Fri, 12 Jul 2002 06:48:54 +0000 (06:48 +0000)]
* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
(COMMONPAGESIZE): Define.
Alan Modra [Fri, 12 Jul 2002 03:47:36 +0000 (03:47 +0000)]
* config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
case with non CODE_64BIT case. Don't warn on "qword ptr" if
not CODE_64BIT.
Alan Modra [Fri, 12 Jul 2002 00:00:03 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 12 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Grace Sainsbury [Thu, 11 Jul 2002 21:00:39 +0000 (21:00 +0000)]
* monitor.c (monitor_fetch_register): Make name a constant.
(monitor_store_register): Same.
Daniel Jacobowitz [Thu, 11 Jul 2002 20:46:19 +0000 (20:46 +0000)]
2002-07-11 Daniel Jacobowitz <drow@mvista.com>
Based on patch from Daniel Berlin <dberlin@dberlin.org>.
* buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
(finish_block) For non-function blocks, hash the symbol table. For
function blocks, mark the symbol table as unhashed.
* minsyms.c (msymbol_hash): Return hash value without taking modulus.
(msymbol_hash_iw): Likewise.
(add_minsym_to_hash_table): Take modulus of msymbol_hash's return
value.
(add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
(lookup_minimal_symbol): Likewise for both.
* symtab.h (struct block): Add `hashtable' flag. Comment the
hashtable.
(BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
(ALL_BLOCK_SYMBOLS): Update.
(BLOCK_SHOULD_SORT): Do not sort hashed blocks.
(struct symbol): Add `hash_next' pointer.
* symtab.c (lookup_block_symbol): Search using the hash table when
possible.
(find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
(search_symbols, find_addr_symbol): Likewise.
* dstread.c (process_dst_block): Clear hashtable bit for new block.
(read_dst_symtab): Likewise.
* jv-lang.c (get_java_class_symtab): Likewise.
* mdebugread.c: Include "gdb_assert.h".
(shrink_block): Assert that the block being modified is not hashed.
* coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
* symmisc.c (free_symtab_block): Walk the hash table when freeing
symbols.
(dump_symtab): Recognize hashed blocks.
* printcmd.c (print_frame_args): Assert that function blocks do not
have hashed symbol tables.
* ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Likewise.
(ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
DJ Delorie [Thu, 11 Jul 2002 20:14:41 +0000 (20:14 +0000)]
* configure.in: Remove two redundant tests.
DJ Delorie [Thu, 11 Jul 2002 19:38:34 +0000 (19:38 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.
Corinna Vinschen [Thu, 11 Jul 2002 19:29:08 +0000 (19:29 +0000)]
* stack.c (print_frame): Use result of frame_address_in_block()
instead of fi->pc when evaluating symbols.
(backtrace_command_1): Ditto.
Andrew Cagney [Thu, 11 Jul 2002 19:25:13 +0000 (19:25 +0000)]
* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Make static.
* arm-tdep.c (arm_register_name): Make return type constant.
Andrew Cagney [Thu, 11 Jul 2002 13:50:50 +0000 (13:50 +0000)]
Fix some K&R isms.
Alan Modra [Thu, 11 Jul 2002 05:33:28 +0000 (05:33 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
Alan Modra [Thu, 11 Jul 2002 01:07:49 +0000 (01:07 +0000)]
* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
(ppc_frob_file_before_adjust): New function.
* config/tc-ppc.h (tc_frob_symbol): Don't define.
(ppc_elf_frob_symbol): Don't declare.
(tc_frob_file_before_adjust): Define.
(ppc_frob_file_before_adjust): Declare.
Alan Modra [Thu, 11 Jul 2002 01:06:58 +0000 (01:06 +0000)]
* config/tc-ppc.c (md_pseudo_table): Warning fix.
(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
flags.
(ppc_size): Delete.
(ppc_xcoff64): Rename to ppc_obj64.
(md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
(ppc_set_cpu): Set PPC_OPCODE_32 too.
(ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
or bfd_mach_ppc.
(ppc_target_format): Use ppc_obj64 to select format.
(md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
(ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
(ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
(tc_frob_symbol): Likewise.
(md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ppc_tc): Likewise.
(ppc_is_toc_sym): Likewise.
(md_apply_fix3): Likewise.
* config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ELF_TC_SPECIAL_SECTIONS): Likewise.
(tc_frob_symbol): Likewise.
Joel Brobecker [Thu, 11 Jul 2002 00:51:37 +0000 (00:51 +0000)]
* gdb.base/attach.exp: Add patterns to match output from /proc-based
systems.
Move comments in expect statements to inside the actions, so that they
don't get matched against.
Alan Modra [Thu, 11 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 11 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Wed, 10 Jul 2002 23:00:57 +0000 (23:00 +0000)]
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
function when asleep" test.
Andrew Cagney [Wed, 10 Jul 2002 22:38:05 +0000 (22:38 +0000)]
* wince.c (_initialize_wince): Rename _initialize_inftarg.
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
Andrew Cagney [Wed, 10 Jul 2002 21:57:56 +0000 (21:57 +0000)]
* gdb.base/page.exp: Rewrite to handle problems with very long
`info set' output. Update copyright.
Grace Sainsbury [Wed, 10 Jul 2002 17:34:02 +0000 (17:34 +0000)]
* NEWS: Mention m68k, mcore multi-arching.
* MAINTAINERS: Change status of m68k, mcore to reflect
multi-arching.
Daniel Jacobowitz [Wed, 10 Jul 2002 17:18:16 +0000 (17:18 +0000)]
2002-07-10 Daniel Jacobowitz <drow@mvista.com>
* valops.c (find_overload_match): Free oload_syms.
Joel Brobecker [Wed, 10 Jul 2002 16:07:19 +0000 (16:07 +0000)]
* gdb.texinfo (Create a release candiate): Add the location
where the proper version of autoconf can be retrieved.
Jakub Jelinek [Wed, 10 Jul 2002 15:28:34 +0000 (15:28 +0000)]
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.
* elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED,
DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.
Alan Modra [Wed, 10 Jul 2002 11:46:19 +0000 (11:46 +0000)]
* elf64-ppc.c (ONES): Define.
(ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in
missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill
in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32.
Alan Modra [Wed, 10 Jul 2002 10:28:44 +0000 (10:28 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.
(ppc64_elf_set_private_flags): Delete.
(ppc64_elf_section_from_shdr): Delete.
(ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code.
(ppc64_elf_fake_sections): Delete.
(bfd_elf64_bfd_set_private_flags): Don't define.
(bfd_elf64_get_symbol_info): Likewise.
(elf_backend_section_from_shdr): Likewise.
(elf_backend_fake_sections): Likewise.
Alan Modra [Wed, 10 Jul 2002 04:59:42 +0000 (04:59 +0000)]
* elf.c: (assign_section_numbers) Set sh_entsize for .stab only
when not already set.
* elf64-sparc.c: (sparc64_elf_fake_sections): New function.
(elf_backend_fake_sections): Define.
DJ Delorie [Wed, 10 Jul 2002 00:01:58 +0000 (00:01 +0000)]
merge from gcc
gdbadmin [Wed, 10 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 10 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 9 Jul 2002 23:47:22 +0000 (23:47 +0000)]
* merge.c (_bfd_merge_section): Remove redundant output_section check.
Formatting.
(_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.
Joel Brobecker [Tue, 9 Jul 2002 22:59:36 +0000 (22:59 +0000)]
Define HAVE_SYS_PROC_H if sys/proc.h exists
* configure.in: Add check for sys/proc.h
* config.in: Regenerate.
* configure: Regenerate.
Grace Sainsbury [Tue, 9 Jul 2002 19:48:40 +0000 (19:48 +0000)]
2002-07-09 Grace Sainsbury <graces@redhat.com>
* config/m68k/tm-m68k.h: Remove macros wrapped in
#if !GDB_MULTI_ARCH.
David O'Brien [Tue, 9 Jul 2002 17:38:58 +0000 (17:38 +0000)]
2002-07-09 David O'Brien <obrien@FreeBSD.org>
* gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
(perror_with_name, remote_close, remote_open, expect, play): Static.
Don Howard [Tue, 9 Jul 2002 15:59:18 +0000 (15:59 +0000)]
2002-07-09 Don Howard <dhoward@redhat.com>
* gdb.texinfo (Command Files): Further describe the behavior of
sourced command files.
Thiemo Seufer [Tue, 9 Jul 2002 14:21:40 +0000 (14:21 +0000)]
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.
Andrew Cagney [Tue, 9 Jul 2002 14:17:39 +0000 (14:17 +0000)]
* config.in, configure: Regenerate.
Alan Modra [Tue, 9 Jul 2002 09:46:18 +0000 (09:46 +0000)]
* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
(md_apply_fix3): Formatting. Remove redundant test.
(tc_gen_reloc): Remove redundant code.
(tc_i386_force_relocation): Delete. Movy body of function to..
* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
Richard Sandiford [Tue, 9 Jul 2002 08:47:24 +0000 (08:47 +0000)]
* ld-scripts/dynamic-sections*: New test.
Alan Modra [Tue, 9 Jul 2002 08:13:06 +0000 (08:13 +0000)]
* emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
Alan Modra [Tue, 9 Jul 2002 07:49:49 +0000 (07:49 +0000)]
oops, forgot to commit.
Hans-Peter Nilsson [Tue, 9 Jul 2002 03:49:27 +0000 (03:49 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
NULL sym_hashes to just before use.
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also
symbol with non-default visibility.
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Ditto.
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for
symbol with non-default visibility.
(cris_elf_check_relocs): At tests for local symbol before
increasing h->plt.refcount, also check for non-default
visibility. Ditto when checking for local symbol to eliminate
pc-relative runtime relocs.
Hans-Peter Nilsson [Tue, 9 Jul 2002 03:46:49 +0000 (03:46 +0000)]
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
ld-cris/noglob1.d: New tests.
Alan Modra [Tue, 9 Jul 2002 02:42:13 +0000 (02:42 +0000)]
* configure.tgt: Add hppaobsd.o.
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.
Alan Modra [Tue, 9 Jul 2002 02:41:16 +0000 (02:41 +0000)]
* configure.in: Add hppa-*-openbsd* target, change
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.
Hans-Peter Nilsson [Tue, 9 Jul 2002 02:41:15 +0000 (02:41 +0000)]
Fix typo last change
DJ Delorie [Tue, 9 Jul 2002 01:01:18 +0000 (01:01 +0000)]
merge from gcc
Hans-Peter Nilsson [Tue, 9 Jul 2002 00:50:01 +0000 (00:50 +0000)]
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
Maciej W. Rozycki [Tue, 9 Jul 2002 00:42:57 +0000 (00:42 +0000)]
* config/tc-mips.c (macro): Shift the 32-bit address range
accessible with a lone "lui" down by 32768.
gdbadmin [Tue, 9 Jul 2002 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 9 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
Maciej W. Rozycki [Mon, 8 Jul 2002 22:42:09 +0000 (22:42 +0000)]
* config/tc-mips.c (load_address): Use non-trapping "daddu"
instead of "dadd" in address calculations.
(macro): Likewise.
DJ Delorie [Mon, 8 Jul 2002 22:18:40 +0000 (22:18 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.
Mark Kettenis [Mon, 8 Jul 2002 20:53:45 +0000 (20:53 +0000)]
* dwarf2cfi.c: Include "gcore.h".
(execute_stack_op): Fix implementation of the
DW_OP_deref and DW_OP_deref_size operators by letting do their
lookup in the target.
DJ Delorie [Mon, 8 Jul 2002 20:43:20 +0000 (20:43 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.
* configure.in: Remove leftover reference to gdbtest.
DJ Delorie [Mon, 8 Jul 2002 17:14:04 +0000 (17:14 +0000)]
* configure.in (gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
Alan Modra [Mon, 8 Jul 2002 10:40:37 +0000 (10:40 +0000)]
* gas/i386/intel16.s: New.
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.
Alan Modra [Mon, 8 Jul 2002 10:03:11 +0000 (10:03 +0000)]
gas/ChangeLog
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.
include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.