Commit Graph

44063 Commits

Author SHA1 Message Date
Mark Kettenis 8377c19cc4 * libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha,
arm, m68k, m88k and hppa core files.
2004-05-21 14:56:07 +00:00
Nick Clifton 69fd475884 Do not use iovec if it is NULL. 2004-05-21 13:12:27 +00:00
Jim Blandy 99c87dab95 * dwarf2expr.c (execute_stack_op): Add 'break' statements after
cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)
2004-05-21 07:50:03 +00:00
Ben Elliston cd9172901c * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction. 2004-05-21 01:58:03 +00:00
gdbadmin 4d35077f91 *** empty log message *** 2004-05-21 00:00:32 +00:00
Alan Modra eabed8b57d daily update 2004-05-21 00:00:06 +00:00
H.J. Lu 1ef3042802 2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/dv-srlz.d: Fix a typo.
2004-05-20 22:26:21 +00:00
Jim Blandy c2b6b4aad9 * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes. 2004-05-20 18:49:37 +00:00
Mark Kettenis 144529d0d2 * regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.
2004-05-20 17:47:55 +00:00
Ulrich Weigand 725603e12f * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
setjmp/longjmp.  Use sigaction instead of signal.
2004-05-20 14:58:54 +00:00
Richard Sandiford 20e56c33af * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
dwarf tables.
2004-05-20 10:10:43 +00:00
Paul N. Hilfinger 4725b72191 * symtab.h (SYMBOL_SEARCH_NAME): New definition.
(SYMBOL_MATCHES_SEARCH_NAME): New definition.
(symbol_search_name): Declare.

* dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
(iter_name_next_hashed): Ditto.
(iter_name_next_linear): Ditto.
(insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.

* symtab.c (lookup_partial_symbol): Assume symbols ordered by
search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
(symbol_search_name): New function.

* symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.

* minsyms.c (build_minimal_symbol_hash_tables): Change
test for adding to demangled hash table to check for difference
between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
2004-05-20 09:51:34 +00:00
Jim Blandy 82d69f8b4c Fix up last ChangeLog commit. 2004-05-20 00:56:45 +00:00
Jim Blandy be07a590ed Use a constructor function to create regset structures.
* regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
(struct regset): Use supply_regset_ftype.  Add new
'collect_regset' member.
(regset_xmalloc): New declaration.
* regset.c: New file.
* am64-tdep.c (amd64_regset_from_core_section): Use
regset_xmalloc to construct regset structures.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
* Makefile.in (COMMON_OBS): Add regset.o.
(regset.o): New rule.
2004-05-20 00:53:06 +00:00
gdbadmin e14ad0e71a *** empty log message *** 2004-05-20 00:00:32 +00:00
Alan Modra 7c8321e44e daily update 2004-05-20 00:00:05 +00:00
Joel Brobecker 604368f524 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
and pthread_cond_wait.c.
2004-05-19 21:50:14 +00:00
Joel Brobecker 8b923272a9 * gdb.threads/pthread_cond_wait.c: New file.
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-19 21:41:03 +00:00
Nick Clifton 1b09e940ec Add code to cope with nested archives. 2004-05-19 14:46:59 +00:00
Joern Rennecke 35835446e4 * NEWS: Mention new linker map file generation and the
--reduce-memory-overheads option.
	* ld.texinfo: Document --reduce-memory-overheads option.
	* ld.h (map_symbol_def): New struct.
	(struct user_section_struct, section_userdata_type): Rename to:
	(struct lean_user_section_struct, lean_section_userdata_type).
	(struct fat_user_section_struct, fat_section_userdata_type): New.
	(SECTION_USERDATA_SIZE): Define.
	(args_type): New member reduce_memory_overheads.
	* ldlang.c (map_obstack): New static variable.
	(init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
	(lang_map): Unless command_line.reduce_memory_overheads is set,
	initialize lists of defined symbols for each section.
	(print_input_section): Unless command_line.reduce_memory_overheads
	is set, use print_all_symbols.
	(init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
	* ldmain.c (main): Initialize command_line.reduce_memory_overheads.
	* lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
	(ld_options): Add entry for --reduce-memory-overheads.
	(parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2004-05-19 14:15:55 +00:00
Jakub Jelinek 0841712ea9 * ldgram.y (sect_constraint): New.
(ONLY_IF_RO, ONLY_IF_RW): New tokens.
	(section): Add sect_constraint.  Pass additional argument
	to lang_enter_output_section_statement.
	* mri.c (mri_draw_tree): Pass additional argument to
	lang_enter_output_section_statement.
	* emultempl/pe.em (place_orphan): Likewise.
	(output_prev_sec_find): Disregard output section statements with
	constraint == -1.
	* emultempl/mmo.em (output_prev_sec_find): Likewise.
	(mmo_place_orphan): Pass additional argument to
	lang_enter_output_section_statement.
	* emultempl/elf32.em (output_prev_sec_find): Disregard output section
	statements with constraint == -1.
	(place_orphan): Pass additional argument to
	lang_enter_output_section_statement.
	* ldlang.c (lang_enter_overlay_section): Likewise.
	(lang_output_section_find_1): New.
	(lang_output_section_find): Use it.
	(lang_output_section_statement_lookup_1): New.
	(lang_output_section_statement_lookup): Use it.
	(check_section_callback, check_input_sections): New.
	(map_input_to_output_sections): Check if all input sections
	are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
	(strip_excluded_output_sections): Disregard output section statements
	with constraint == -1.
	(lang_record_phdrs): Likewise.
	(lang_enter_output_section_statement): Add constraint argument.
	Use lang_output_section_statement_lookup_1.
	* ldlang.h (lang_output_section_statement_type): Add constraint
	and all_input_readonly fields.
	(lang_enter_output_section_statement): Adjust prototype.
	* ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
	* scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
	segment if all input sections are readonly.
2004-05-19 14:01:14 +00:00
Nick Clifton f2c5032879 Remove redundant file 2004-05-19 10:00:50 +00:00
Alan Modra a30e9cc4a0 * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
well as when -mpower4.
2004-05-19 05:11:48 +00:00
Jim Blandy baffbae05e * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
before the mach-specific switch, and then let the individual cases
override the defaults, rather than leaving them uninitialized
until the switch and then setting them in each case.
2004-05-19 04:18:42 +00:00
Randolph Chung 5859efe54e 2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
	millicode functions.
2004-05-19 03:07:58 +00:00
Randolph Chung 9ca80cf8cc 2004-05-18 Randolph Chung <tausq@debian.org>
* somsolib.c (som_solib_remove_inferior_hook): Make all the size
	references to dld_flags_buffer consistent.
2004-05-19 02:45:24 +00:00
Randolph Chung ed70ba000b 2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
	it for unwinding the stack.
2004-05-19 02:38:28 +00:00
Randolph Chung 6310063290 2004-05-18 Randolph Chung <tausq@debian.org>
* config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
	Undefine these so we can overide them using gdbarch.
2004-05-19 02:20:11 +00:00
Randolph Chung 090ccbb714 2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
	handling for 64-bit HPUX (elf).
2004-05-19 02:15:22 +00:00
gdbadmin c1358396bf *** empty log message *** 2004-05-19 00:00:32 +00:00
Alan Modra 503d4b41b8 daily update 2004-05-19 00:00:05 +00:00
Daniel Jacobowitz 594706e671 * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
constants.
	* amd64-tdep.c (amd64_skip_prologue): Likewise.
	* ia64-tdep.c (examine_prologue): Likewise.
	* ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
	* v850-tdep.c (v850_fix_call_dummy): Likewise.
2004-05-18 21:20:28 +00:00
Daniel Jacobowitz 7659f80a23 * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
passing it to printf.
2004-05-18 21:20:07 +00:00
Daniel Jacobowitz 4d06b60c7f * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix. 2004-05-18 21:19:53 +00:00
Nick Clifton c9c33288af Fixes for assembling with an ARM targeted version of GAS 2004-05-18 16:18:56 +00:00
Zack Weinberg 80b200a1a3 * Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
	* configure, Makefile.in: Regenerate.
2004-05-18 02:00:58 +00:00
Alan Modra 3791609a54 daily update 2004-05-18 00:00:05 +00:00
gdbadmin 5187ad9152 *** empty log message *** 2004-05-18 00:00:02 +00:00
Bob Wilson 2a16d82afa * ld.texinfo (Output Section Address): Correct subsection name. 2004-05-17 22:48:55 +00:00
Mark Kettenis e548314585 * vax-tdep.c (vax_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.
2004-05-17 22:12:13 +00:00
Mark Kettenis caed1a4580 * vax-tdep.c (vax_return_value): Fix typo.
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
2004-05-17 21:56:19 +00:00
gdbadmin e7e61c9f1e *** empty log message *** 2004-05-17 21:00:02 +00:00
Andrew Cagney 5aae53e58e 2004-05-17 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mark Salter was also responsible for
	testsuite/config/
2004-05-17 20:40:24 +00:00
Bob Wilson 096c35a790 * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
section names by inserting a new substring after .gnu.linkonce, except
	for .gnu.linkonce.t.* where the "t." is replaced.
2004-05-17 20:33:33 +00:00
Nick Clifton b2d65c0b3f Add PowerPC LynxOS support 2004-05-17 19:50:16 +00:00
Andrew Cagney 3c0b7db215 2004-05-17 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention signal fixes.
2004-05-17 19:16:07 +00:00
H.J. Lu 117a3ac803 2004-05-17 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/frame.exp: New file. Test read-only .eh_frame and
	.gcc_except_table sections.
	* ld-elf/frame.s: Likewise.
	* ld-elf/table.s: Likewise.
	* ld-elf/tbss.s: Likewise.
2004-05-17 17:38:46 +00:00
Randolph Chung 22b0923df5 2004-05-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
	check to see if we are unwinding an export stub.  Export stubs clobber
	the %rp in the call path and stores the original rp in a stack slot.
2004-05-17 16:46:06 +00:00
Jim Blandy 22f2b2f398 * MAINTAINERS: Update address for J.T. Conklin. 2004-05-17 16:40:15 +00:00
Bob Wilson 80fccad2d4 binutils ChangeLog:
2004-05-17  David Heine  <dlheine@tensilica.com>
	* objcopy.c (setup_bfd_headers): New function.
	(copy_object): Call setup_bfd_headers.
bfd ChangeLog:
	2004-05-17  David Heine  <dlheine@tensilica.com>
	* aout-target.h (MY_bfd_copy_private_header_data): Define.
	* aout-tic30.c (MY_bfd_copy_private_header_data): Define.
	* bfd.c (bfd_copy_private_header_data): Define.
	* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new
	interface.
	* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
	* coffcode.h (coff_bfd_copy_private_header_data): Define.
	* elf-bfd.h (_bfd_elf_copy_private_header_data): Declare.
	* elf.c (_bfd_elf_copy_private_section_data): Remove code to set up
	segments by calling copy_private_bfd_data.
	(_bfd_elf_copy_private_header_data): Define.
	* elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define.
	* libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define.
	* libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define.
	* mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define.
	* mmo.c (mmo_bfd_copy_private_header_data): Define.
	* ppcboot.c (ppcboot_bfd_copy_private_header_data): Define.
	* som.c (som_bfd_copy_private_header_data): Define.
	* targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data.
	* vms.c (vms_bfd_copy_private_header_data): Define.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
2004-05-17 16:40:01 +00:00