Commit Graph

52178 Commits

Author SHA1 Message Date
H.J. Lu 168dd6670b 2006-09-10 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3186
	* elf.c (_bfd_elf_make_section_from_shdr): Correct length of
	"gnu.linkonce.wi.".
2006-09-10 23:51:09 +00:00
Daniel Jacobowitz 5a2901d9ed PR threads/2149
* infrun.c (handle_inferior_event): Context switch after fork
	and exec events.
2006-09-10 16:21:03 +00:00
Daniel Jacobowitz 4c85081011 * infcall.c (call_function_by_hand): Check for function pointer
types.
2006-09-10 15:44:36 +00:00
gdbadmin a4697170c7 *** empty log message *** 2006-09-10 00:00:02 +00:00
Alan Modra 5e1f89940e daily update 2006-09-09 23:59:51 +00:00
Andreas Schwab 0ba5a9325b * m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
`move.l %R,-(%sp)'.
2006-09-09 23:07:32 +00:00
gdbadmin 98cfafa399 *** empty log message *** 2006-09-09 00:00:04 +00:00
Alan Modra 7871578529 daily update 2006-09-08 23:59:52 +00:00
Kazu Hirata d5b2251f8c * lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal. 2006-09-08 17:08:05 +00:00
Nick Clifton 6258339fa4 PR gas/3129
* doc/as.texinfo (Macro): Improve documentation about separating macro arguments from following text.
2006-09-08 16:25:46 +00:00
Paul Brook f91e006cf5 2006-09-08 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.

	gas/testsuite/
	* gas/arm/arm-it.s: New test.
	* gas/arm/arm-it.d: New test.
2006-09-08 15:51:02 +00:00
H.J. Lu 0b8a70d9a0 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Document --dynamic-list-cpp-typeinfo.
2006-09-08 13:43:54 +00:00
Richard Earnshaw c782d94cd1 2006-09-04 Vladimir Prus <vladimir@codesourcery.com>
* ld-arm/use-thumb-lib.sym: Use regexps instead of
	absolute addresses, for robustness.
2006-09-08 10:32:28 +00:00
Richard Earnshaw b0fead2b6c 2006-09-08 Vladimir Prus <vladimir@codesourcery.com>
* elf32-arm.c (elf32_arm_swap_symbol_out): Remove
	unconditional setting of low bit for Thumb symbol
	mistakenly left behind after check for external
	symbols was added.  Fix comment typo.
2006-09-08 10:30:27 +00:00
gdbadmin 1a67c70765 *** empty log message *** 2006-09-08 00:00:32 +00:00
Alan Modra 2a22d1826a daily update 2006-09-07 23:59:54 +00:00
Ian Lance Taylor 1564db8db6 More symbol resolution code. 2006-09-07 21:21:41 +00:00
Paul Brook 466bbf939d 2006-09-07 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (parse_operands): Mark operand as present.

	gas/testsuite/
	* gas/arm/neon-omit.s: Test three-argument variants.
	* gas/arm/neon-omit.d: Update expected output.
2006-09-07 17:54:15 +00:00
H.J. Lu 55255daec3 bfd/
2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
	(bfd_elf_link_mark_dynamic_symbol): New.
	(SYMBOLIC_BIND): New.

	* elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
	with SYMBOLIC_BIND (info, h).
	(elf_i386_relocate_section): Likewise.
	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
	(elf64_x86_64_relocate_section): Likewise.
	* elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.

	* elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
	(bfd_elf_record_link_assignment): Call
	bfd_elf_link_mark_dynamic_symbol on new entry.
	(_bfd_elf_merge_symbol): Likewise.
	(_bfd_elf_export_symbol): Return if the symbol isn't exported.
	(_bfd_elf_fix_symbol_flags): Replace info->symbolic with
	SYMBOLIC_BIND (info, h).
	(_bfd_elf_dynamic_symbol_p): Likewise.
	(_bfd_elf_symbol_refs_local_p): Likewise.
	(bfd_elf_size_dynamic_sections): Updated.

include/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* bfdlink.h (bfd_elf_dynamic_list): New.
	(bfd_link_info): Add a dynamic field.

ld/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.am (CXX): Set to g++.
	(CXX_FOR_TARGET): Likewise.
	* Makefile.in: Regenerated.

	* NEWS: Mention --dynamic-list.

	* ld.texinfo: Document --dynamic-list.

	* ldgram.y: Support dynamic list.

	* ldlang.c (lang_process): Call lang_finalize_version_expr_head
	on link_info.dynamic if needed.
	(lang_append_dynamic_list): New.
	(lang_append_dynamic_list_cpp_typeinfo): New.
	* ldlang.h (lang_append_dynamic_list): Likewise.
	* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.

	* ldlex.h (input_enum): Add input_dynamic_list.
	* ldlex.l: Handle it.

	* ldmain.c (main): Initialize link_info.dynamic.

	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
	(ld_options): Add entries for OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
	(parse_args): Handle OPTION_DYNAMIC_LIST and
	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.

ld/testsuite/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/dl1.c: New file.
	* ld-elf/dl1.list: Likewise.
	* ld-elf/dl1.out: Likewise.
	* ld-elf/dl1main.c: Likewise.
	* ld-elf/dl2.c: Likewise.
	* ld-elf/dl2.list: Likewise.
	* ld-elf/dl2a.out: Likewise.
	* ld-elf/dl2b.out: Likewise.
	* ld-elf/dl2main.c: Likewise.
	* ld-elf/dl2xxx.c: Likewise.
	* ld-elf/dl2xxx.list: Likewise.
	* ld-elf/dl3.cc: Likewise.
	* ld-elf/dl3.list: Likewise.
	* ld-elf/dl3a.out: Likewise.
	* ld-elf/dl3b.out: Likewise.
	* ld-elf/dl3header.h: Likewise.
	* ld-elf/dl3main.cc: Likewise.

	* ld-elf/shared.exp: Updated.

	* lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
	argument for source language. Use CC/CXX for link, depending
	on source language.
	(run_cc_link_tests): Likewise.
2006-09-07 17:16:34 +00:00
Nick Clifton 7c94efc522 * emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
* emulparams/h8300.sh: Likewise.
* emulparams/h8300sxelf.sh: Likewise.
2006-09-07 17:01:10 +00:00
Vladimir Prus 2ab1eb7abc Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
than the number of available frames.
2006-09-07 16:40:19 +00:00
Joel Brobecker 7a0b019608 From Stephan Springl <springl-gdb@bfw-online.de>
* fork-child.c (fork_inferior): Fix typo.
2006-09-07 16:22:57 +00:00
gdbadmin 4e6e4e6696 *** empty log message *** 2006-09-07 00:00:34 +00:00
Alan Modra fbd9092dda daily update 2006-09-06 23:59:54 +00:00
Alan Modra 5e4ffa55ff daily update 2006-09-06 00:00:12 +00:00
gdbadmin 0e523c0d5e *** empty log message *** 2006-09-06 00:00:05 +00:00
H.J. Lu 7a2ec0a65d 2006-09-05 Bibo Mao <bibo.mao@intel.com>
PR binutils/3171
	* coffcode.h (coff_write_object_contents): Set the optional
	header magic number to PE32PMAGIC instead of ZMAGIC for ia64.
2006-09-05 18:56:50 +00:00
Bob Wilson 599b237a8a * gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
Register Packet Format, Tracepoint Packets): Fix spelling errors.
2006-09-05 17:45:53 +00:00
H.J. Lu 88b882e985 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
	* emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
	is defined.
2006-09-05 16:26:29 +00:00
Paul Brook 428e3f1f4e 2006-09-04 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (do_neon_dyadic_if_i): Remove.
	(do_neon_dyadic_if_i_d): Avoid setting U bit.
	(do_neon_mac_maybe_scalar): Ditto.
	(do_neon_dyadic_narrow): Force operand type to NT_integer.
	(insns): Remove out of date comments.

	gas/testsuite/
	* gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes.
	* gas/arm/neon-cov.d: Adjust expected output.

	opcodes/
	* arm-dis.c (neon_opcode): Fix suffix on VMOVN.
2006-09-05 14:07:22 +00:00
Nick Clifton 91bb255c67 PR binutils/3166
* objcopy.c (is_strip_section): Do not treat group sections as debugging sections.
* doc/binutils.texi (--only-keep-debug): Document that this switch is only intended for use on fully linked files.
2006-09-05 08:22:27 +00:00
gdbadmin a0d64f3a09 *** empty log message *** 2006-09-05 00:00:04 +00:00
Alan Modra 39cda774e1 daily update 2006-09-04 23:59:55 +00:00
Mark Shinwell 2cab6cc30d bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
        R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
        (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
        and R_ARM_THM_PC12 relocations.
2006-09-04 07:11:11 +00:00
gdbadmin 46254bca0b *** empty log message *** 2006-09-04 00:00:05 +00:00
Alan Modra 3a17d76d9e daily update 2006-09-03 23:59:56 +00:00
gdbadmin cd0e44bf9e *** empty log message *** 2006-09-03 00:00:36 +00:00
Alan Modra cf58ec5d2b daily update 2006-09-02 23:59:57 +00:00
Eli Zaretskii 25ab7e6d93 * gdbint.texinfo (Overall Structure): New section "Source Tree
Structure".
2006-09-02 15:27:16 +00:00
gdbadmin aecec9ebcb *** empty log message *** 2006-09-02 00:00:04 +00:00
Alan Modra fd392b22bd daily update 2006-09-02 00:00:00 +00:00
Nick Clifton 157c25995f PR binutils/3146
* readelf.c (dump_relocations): Check for a NULL value in rtype before using it.
2006-09-01 11:38:20 +00:00
gdbadmin 3f8e43c08b *** empty log message *** 2006-09-01 00:00:04 +00:00
Alan Modra 854e5e2b9a daily update 2006-08-31 23:59:58 +00:00
gdbadmin 69132de49a *** empty log message *** 2006-08-31 00:00:32 +00:00
Alan Modra 5cce239104 daily update 2006-08-31 00:00:03 +00:00
Corinna Vinschen 450553746f * configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
	Test the existence of winsup/cygwin for building a Cygwin newlib,
	rather than just winsup.
	Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
	building a Mingw target.
	* configure: Regenerate.
2006-08-30 13:14:18 +00:00
Corinna Vinschen 069e4b1944 * configure.ac: Add case for Mingw as host.
* configure: Regenerate.
2006-08-30 13:08:27 +00:00
gdbadmin c3a2a8c7ce *** empty log message *** 2006-08-30 00:00:04 +00:00
Alan Modra de09fdce5e daily update 2006-08-30 00:00:00 +00:00