This is the mail archive of the archer-commits@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: * gdbarch.sh (pointer_to_address): Change to type 'm'. (address_to_pointer): Likewise. * gdbarch.c, gdbarch.h: Regenerate.


The branch, master has been updated
       via  6023ec102778c40035c2bbb0057ba3d616e6e9f6 (commit)
       via  7990ef6595652e8ee3b2d73066ab446a99091ff4 (commit)
       via  1f0842dcc1f88af26bb9160abcacd07b37c4b80d (commit)
       via  6212ed42f597f4ea6f7ebefc945ea71e3cb5437a (commit)
       via  aeda700ca0c63a2620b4f9f32f2d5004feb3c92d (commit)
       via  229e0d7bb9f462ab6db3406cbf66b42416bdb3ed (commit)
       via  8009d4d75e20fa899aebfa052dbf20618c8da6c9 (commit)
       via  62d99c16354a94e887c9380a407e7c72e8ce9a77 (commit)
       via  b306ad247c9ffa1a60a1e74786c1489441303cba (commit)
       via  36bdb09e90dec18c488a22c9cc4b3a384c1a263b (commit)
       via  37e0a256a21caf3fb05c7df902e40d655bc1d4f1 (commit)
       via  bdcf2ba571882988c94cc084e1edf043e0c9bbed (commit)
       via  e75ef2ef951dcd7527bc98903d2b1c158f9979f6 (commit)
       via  edb34e852590a0fb3dfb1111787d73adbfd37c58 (commit)
       via  26a72b35a208aea5c27777a30c4748efbbf0a6d0 (commit)
       via  f79178872ca88e95691e3a9d0ccd0c02723a99a3 (commit)
       via  8745f772128a8484545c11070048cdfd2caf37a5 (commit)
       via  729b010560ef364fd147584be4ee57d5f2319cfc (commit)
       via  292330aac72649545a68f3845244600b4dbc7ab6 (commit)
       via  b6d7d2f6c3f0eb950a31472283f157619cc3a847 (commit)
       via  475c3724ab47f30af0a748bb28bf958ed942c7d0 (commit)
       via  3cac13db5919475bed0d9208984b0784d0a6d8ba (commit)
       via  6cd948980df13892d7df17d166307db78d866c8c (commit)
       via  0a69627953be73f82308aa7f42b3543006260e8f (commit)
       via  5e955cc4e24a01942f8ea24d34be4c31cb2cf47e (commit)
       via  e10bba9ca1d6745baa8130dca62025cd503a5ae3 (commit)
       via  04fbd8adb3e105c6fbe7ce1ed826a6c28b780d8d (commit)
       via  a575a4338d94f40170dc832b4c30f9bee77e1294 (commit)
       via  40b336026c730faed6bcd1c979cd7269e19847ae (commit)
       via  84e1f22e33b8c908de126a93ce52a601a946c7ec (commit)
       via  30bdd1d71abb385f7201d25fa19be8966540daf8 (commit)
       via  b40d4a74193281b05268da1b860eebdff4cf21f3 (commit)
       via  29d90f339093389d27d31fe401c3d4132eead197 (commit)
       via  f7ecdd4ed93649cd218360fe8dda2b6dc5288250 (commit)
       via  d364a05153b2bfc49a7f75b3d780c823fb65c964 (commit)
       via  7bf833e45b7b68465ae4f6cc8e80f26d91793a5b (commit)
       via  354a44b9adb4ea7e39e8b8493dc20a1c67983af1 (commit)
       via  0545b049acfd1b2b33ebc1962ab6c17974b9d827 (commit)
       via  97b2f6c1dc24b75b70691ed3a3b06e6227a21fa6 (commit)
       via  3ac382e0ea33ec0440ecac85c99beec6da862592 (commit)
       via  c650a13859ce8b01a164e0706290e10013735b88 (commit)
       via  a403e9113f43835241ba0785ba679597ba610e12 (commit)
       via  d0b1cbd9ff0065cf79dc9d41b778db52bf3e6c94 (commit)
       via  0c13b08fcfd84d4d7796ee8cbaa43385b28ac137 (commit)
       via  6feef5602624bdd4da2ed6d7d0a5b485b089ca85 (commit)
       via  e88c4cd39f8347abd419ed8f066997270c887395 (commit)
       via  a07fc80f14506f18277d21c1ac4a8c5f876135dc (commit)
       via  8d2a2802a0ed98e3a8db936cfb03257fc88b98b5 (commit)
       via  eeed874106496a0616ffa81c108bd005e2643795 (commit)
       via  e170d1b04da3ebe064e4ba4b45ea75c340d296e4 (commit)
       via  39544eabb416a6c7da25a5c2d6511164fcc1837f (commit)
       via  c5e56e0d08aff3c16bc813725d47c092424db080 (commit)
       via  137bab37db722b6bd18bae06e83f04053e9d026d (commit)
       via  a069feefbcee3289206e6088bddef500d6d563b5 (commit)
       via  5186ff37e33a081339ff39f1fdcba7ecfb9d56a4 (commit)
       via  1d4ac11d9b0925de40633da723a24824145c59c6 (commit)
       via  be2b514e9664b7002ac3009be0b3abc3fc66b9c3 (commit)
       via  efaf0f9e3101a8e3dcf6205c8ba6bfe4529283a8 (commit)
       via  851301d867d3d4aa7d0dfac6e47f5856139293e8 (commit)
       via  ce5dd7329097d13f841cb2b8d6fd8351d991c0ba (commit)
       via  4ee2275b0bf3315ed04f7a558229cfd999f8461c (commit)
       via  276b0e421bac46df4f88dab0131b931c7430ef98 (commit)
       via  1d4a1a15fef24b6ac28c1ac4285d55ee9388bed4 (commit)
       via  f2f1c33c6b15d180f28c37e40b15f07ca0f25712 (commit)
       via  b59929686d30152bda12b4feac4e22932c5a587d (commit)
       via  fc18c624bf99932c0b360cc491dd369163699e77 (commit)
       via  cae8446aadfb8f581eefa245789c2bf4bedf035e (commit)
      from  4dbe3c7a9fcacfc9810c912b813a7a07d0ff92e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 6023ec102778c40035c2bbb0057ba3d616e6e9f6
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:50:30 2009 +0000

    	* gdbarch.sh (pointer_to_address): Change to type 'm'.
    	(address_to_pointer): Likewise.
    	* gdbarch.c, gdbarch.h: Regenerate.
    
    	* inferior.h (unsigned_pointer_to_address): Add GDBARCH argument.
    	(signed_pointer_to_address): Likewise.
    	(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.
    	* findvar.c (unsigned_pointer_to_address): Likewise.
    	(signed_pointer_to_address): Likewise.
    	(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.
    
    	* avr-tdep.c (avr_address_to_pointer): Likewise.
    	(avr_pointer_to_address): Likewise.
    	* iq2000-tdep.c (iq2000_pointer_to_address): Likewise.
    	(iq2000_address_to_pointer): Likewise.
    	* m32c-tdep.c (m32c_m16c_address_to_pointer): Likewise.
    	(m32c_m16c_pointer_to_address): Likewise.
    	* spu-tdep.c (spu_pointer_to_address): Likewise.
    	* xstormy16-tdep.c (xstormy16_pointer_to_address): Likewise.
    	(xstormy16_address_to_pointer): Likewise.

commit 7990ef6595652e8ee3b2d73066ab446a99091ff4
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:49:36 2009 +0000

    ChangeLog:
    
    	* printcmd.c (print_scalar_formatted): Always truncate
    	unsigned data types.
    
    	* cli-dump.c (struct callback_data): Change type of load_offset
    	to CORE_ADDR.
    	(restore_binary_file): Update type casts.
    	(restore_command): Parse load_offset as address, not long.
    
    	* utils.c (string_to_core_addr): Do not sign-extend value.
    	* varobj.c (find_frame_addr_in_frame_chain): Truncate frame_base
    	before comparing against requested frame address.
    
    testsuite/ChangeLog:
    
    	* gdb.base/dump.exp: Handle SPU like 64-bit platforms.

commit 1f0842dcc1f88af26bb9160abcacd07b37c4b80d
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:48:26 2009 +0000

    	* gdbarch.sh (gcore_bfd_target): New gdbarch callback.
    	* gdbarch.h, gdbarch.c: Regenerate.
    
    	* gcore.c (default_gcore_target): Make return value const.
    	Call gdbarch_gcore_bfd_target if present.
    	(default_gcore_arch, default_gcore_mach): Use target_gdbarch.
    
    	* corelow.c (core_read_description): Call gdbarch_core_read_description
    	on core_gdbarch instead of current_gdbarch.
    
    	* ppc-linux-tdep.c (ppc_linux_init_abi): Install gcore_bfd_target.

commit 6212ed42f597f4ea6f7ebefc945ea71e3cb5437a
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:47:35 2009 +0000

    	* gdbtypes.c (create_string_type): Receive character type as argument.
    	* gdbtypes.h (create_string_type): Add character type argument.
            * dwarf2read.c (read_tag_string_type): Pass character type to
    	create_string_type.
    
    	* value.h (value_string): Add character type argument.
    	* valops.c (value_string): Add character type argument.  Pass it to
    	create_string_type.  Do not allocate space in inferior.
    	* valarith.c (value_concat): Pass character type to value_string.
    
    	* value.h (value_typed_string): Rename to ...
    	(value_cstring): ... this.
    	* valops.c (value_typed_string): Rename to ...
    	(value_cstring): ... this.
    	* c-lang.c (evaluate_subexp_c): Update.
    
    	* python/python-value.c (builtin_type_pychar): New define.
    	(convert_value_from_python): Call value_cstring instead
    	of value_from_string.
    	* value.c (value_from_string): Remove.
    	* value.h (value_from_string): Remove.
    
    	* eval.c (evaluate_subexp_standard): Pass character type to
    	value_string.  Pass expression architecture to value_nsstring
    	and lookup_child_selector.
    	* objc-lang.h (lookup_objc_class): Add GDBARCH parameter.
    	(lookup_child_selector): Likewise.
    	(value_nsstring): Likewise.
    	* objc-lang.c (lookup_objc_class): Add GDBARCH parameter.
    	Pass character type to value_string..
    	(lookup_child_selector): Likewise.
    	(value_nsstring): Add GDBARCH parameter, use it instead of
    	objfile architecture.  Pass architecture to lookup_objc_class
    	and lookup_child_selector. Pass character type to value_string.
    	(end_msglist): Pass architecture to lookup_objc_class.
    	* objc-exp.y: Pass architecture to lookup_objc_class.

commit aeda700ca0c63a2620b4f9f32f2d5004feb3c92d
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:46:25 2009 +0000

    	* gdbtypes.h (struct language_defn): Add forward declaration.
    	(lookup_typename): Add LANGUAGE and GDBARCH parameters.
    	(lookup_unsigned_typename): Likewise.
    	(lookup_signed_typename): Likewise.
    	* gdbtypes.c (lookup_typename): Add LANGUAGE and GDBARCH parameters.
    	Use them instead of current_language and current_gdbarch.
    	(lookup_unsigned_typename): Add LANGUAGE and GDBARCH parameters.
    	Pass them to lookup_typename.
    	(lookup_signed_typename): Likewise.
    
    	* c-exp.y: Pass parse_language and parse_gdbarch to
    	lookup_unsigned_typename and lookup_signed_typename.
    	* objc-exp.y: Likewise.
    	* m2-exp.y: Pass parse_language and parse_gdbarch to lookup_typename.
    
    	* c-lang.c (evaluate_subexp_c): Pass expression language and
    	gdbarch to lookup_typename.
    	* printcmd.c (printf_command): Pass current language and
    	gdbarch to lookup_typename.
    	* python/python-type.c (typy_lookup_typename): Likewise.
    	Include "language.h".

commit 229e0d7bb9f462ab6db3406cbf66b42416bdb3ed
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:45:08 2009 +0000

    	* sparc64-nat.c (sparc64_gregset_supplies_p): Add GDBARCH parameter.
    	Use it instead of current_gdbarch.  Pass architecture to
    	sparc32_gregset_supplies_p.
    	(sparc64_fpregset_supplies_p): Add GDBARCH parameter.  Use it instead
    	of current_gdbarch.  Pass architecture to sparc32_fpregset_supplies_p.
    	* sparc64nbsd-nat.c (sparc64nbsd_gregset_supplies_p,
    	sparc64nbsd_fpregset_supplies_p): Likewise.
    	* sparc-nat.c (sparc_gregset_supplies_p, sparc_fpregset_supplies_p):
    	Add GDBARCH parameter.
    	(sparc32_gregset_supplies_p, sparc32_fpregset_supplies_p): Likewise.
    	(sparc_fetch_inferior_registers): Pass regcache architecture to
    	sparc_gregset_supplies_p and sparc_fpregset_supplies_p.
    	(sparc_store_inferior_registers): Likewise.
    	* sparc-nat.h (sparc_gregset_supplies_p, sparc_fpregset_supplies_p:
    	Add GDBARCH parameter.
    	(sparc32_gregset_supplies_p, sparc32_fpregset_supplies_p): Likewise.

commit 8009d4d75e20fa899aebfa052dbf20618c8da6c9
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:44:23 2009 +0000

    	* ada-tasks.c (read_known_tasks_array): Use target_gdbarch instead
    	of current_gdbarch.
    	* aix-thread.c (pd_enable): Likewise.
    	* amd64-linux-nat.c (ps_get_thread_area): Likewise.
    	* bsd-uthread.c (bsd_uthread_activate): Likewise.
    	* linux-nat.c (linux_nat_info_proc_cmd): Likewise.
    	* linux-thread-db.c (enable_thread_event): Likewise.
    	* monitor.c (monitor_write_memory, monitor_read_memory): Likewise.
    	* nto-procfs.c (procfs_open): Likewise.
    	* procfs.c (invalidate_cache, procfs_insert_watchpoint,
    	info_proc_mappings, info_mappings_callback): Likewise.
    	* record.c (record_open): Likewise.
    	* rs6000-nat.c (ARCH64): Likewise.
    	* solib-darwin.c (darwin_solib_create_inferior_hook): Likewise.
    	(darwin_bfd_open): Likewise.
    	* memattr.c (mem_info_command): Likewise.
    
    	* windows-nat.c (win32_resume): Use current regcache architecture
    	instead of current_gdbarch.
    
    	* dbug-rom.c (dbug_regname): Remove check against number of
    	registers in current_gdbarch.
    	* solib-pa64.c (read_dynamic_info): Remove unused variable.

commit 62d99c16354a94e887c9380a407e7c72e8ce9a77
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:43:23 2009 +0000

    	* dummy-frame.c (deprecated_pc_in_call_dummy): Add GDBARCH parameter,
    	use it instead of current_gdbarch.
    	* frame.h (deprecated_pc_in_call_dummy): Add GDBARCH parameter.
    	* arm-tdep.c (arm_skip_prologue): Pass architecture to
    	deprecated_pc_in_call_dummy.
    
    	* symtab.c (skip_prologue_using_sal): Add GDBARCH parameter.
    	Use it instead of current_gdbarch.
    	* symtab.h (skip_prologue_using_sal): Add GDBARCH parameter.
    	* breakpoint.c (expand_line_sal_maybe): Pass architecture to
    	skip_prologue_using_sal.
    	* arm-tdep.c (skip_prologue_using_sal): Likewise.
    	* lm32-tdep.c (lm32_skip_prologue): Likewise.
    	* m32-tdep.c (m32c_skip_prologue): Likewise.
    	* mips-tdep.c (mips_skip_prologue): Likewise.
    	* moxie-tdep.c (moxie_skip_prologue): Likewise.
    	* mt-tdep.c (mt_frame_unwind_cache): Likewise.
    	* rs6000-tdep.c (rs6000_skip_prologue): Likewise.
    	* frv-tdep.c (frv_analyze_prologue): Add GDBARCH parameter, pass
    	it to skip_prologue_using_sal.  Update call sites ...
    	(frv_skip_prologue, frv_frame_unwind_cache): ... here.
    
    	* mn10300-tdep.c (struct mn10300_prologue): Add GDBARCH member.
    	(check_for_saved): Use it instead of current_gdbarch.
    	(mn10300_analyze_prologue): Set it.
    
    	* value.c (using_struct_return): Add GDBARCH parameter.  Use it
    	instead of current_gdbarch.
    	* value.h (using_struct_return): Add GDBARCH parameter.
    	* eval.c (evaluate_subexp_standard): Pass architecture to
    	using_struct_return.
    	* infcall.c (call_function_by_hand): Likewise.
    	* stack.c (return_command): Likewise.
    	* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
    
    	* symtab.c (in_prologue): Add GDBARCH parameter.  Use it instead of
    	current_gdbarch.
    	* symtab.h (in_prologue): Add GDBARCH parameter.
    	* infrun.c (handle_inferior_event): Pass architecture to in_prologue.
    
    	* eval.c (evaluate_subexp_standard): Use expression architecture
    	instead of current_gdbarch.
    
    	* c-lang.c (evaluate_subexp_c): Use expression architecture and
    	language instead of current_gdbarch and current_language.
    
    	* printcmd.c (do_one_display): Use expression architecture instead
    	of current_gdbarch.
    
    	* infcmd.c (print_return_value): Use architecture of stop_regcache
    	instead of current_gdbarch.
    	(print_vector_info, print_float_info): Remove GDBARCH argument,
    	use frame architecture instead.
    	(vector_info, float_info): Update calls.
    
    	* objc-lang.c (objc_skip_trampoline): Use frame architecture
    	instead of current_gdbarch.
    
    	* parse.c (write_dollar_variable): Use parse architecture instead
    	of current_gdbarch.
    
    	* source.c (line_info): Use objfile architecture instead of
    	current_gdbarch.
    
    	* symtab.c (find_function_start_sal): Use gdbarch instead of
    	current_gdbarch.
    	(print_msymbol_info): Use objfile architecture instead of
    	current_gdbarch.
    
    	* valops.c (value_assign): Use frame architecture instead of
    	current_gdbarch.

commit b306ad247c9ffa1a60a1e74786c1489441303cba
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:41:49 2009 +0000

    	* buildsym.c (record_line): Remove call to gdbarch_addr_bits_remove.
    
    	* coffread.c (coff_symtab_read): Call gdbarch_addr_bits_remove before
    	calling record_line.
    	(enter_linenos): Likewise.
    	* dbxread.c (process_one_symbol): Likewise.
    	* dwarf2read.c (dwarf_decode_lines): Likewise.
    	* mdebugread.c (psymtab_to_symtab_1): Likewise.
    	* xcoffread.c (enter_line_range): Likewise.

commit 36bdb09e90dec18c488a22c9cc4b3a384c1a263b
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:40:53 2009 +0000

    	* ax-gdb.c (gen_bitfield_ref): Add EXP argument, use expression
    	architecture instead of current_gdbarch.
    	(gen_struct_ref): Add EXP argument, pass to get_bitfield_ref.
    	(gen_expr): Pass expression to get_struct_ref.
    
    	* symtab.h (struct symbol_ops): Add GDBARCH parameter to
    	tracepoint_var_ref callback.
    	* ax-gdb.c (gen_var_ref): Pass architecture to tracepoint_var_ref
    	symbol operation callback.
    	* dwarf2loc.c (dwarf2_tracepoint_var_ref): Add GDBARCH parameter.
    	Use it instead of current_gdbarch.
    	(locexpr_tracepoint_var_ref): Add GDBARCH parameter.  Pass it to
    	dwarf2_tracepoint_var_ref.
    	(loclist_tracepoint_var_ref): Likewise.

commit 37e0a256a21caf3fb05c7df902e40d655bc1d4f1
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:39:12 2009 +0000

    	* prologue-value.c (make_pv_area): Add ADDR_BIT argument.
    	Use it instead of address bits of current_gdbarch.
    	* prologue-value.c (make_pv_area): Add ADDR_BIT argument.
    	* arm-tdep.c (thumb_analyze_prologue): Pass address bits to
    	make_pv_area.
    	(arm_scan_prologue): Likewise.
    	* m32c-tdep.c (m32c_analyze_prologue): Likewise.
    	* mep-tdep.c (mep_analyze_prologue): Likewise.
    	* mn10300-tdep.c (mn10300_analyze_prologue): Likewise.
    	* s390-tdep.c (s390_analyze_prologue): Likewise.

commit bdcf2ba571882988c94cc084e1edf043e0c9bbed
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:38:16 2009 +0000

    ChangeLog:
    
    	* mi/mi-main.c (mi_cmd_data_list_register_names): Use selected
    	frame architecture instead of current_gdbarch.
    	(mi_cmd_data_list_changed_registers): Likewise.
    	(mi_cmd_data_list_register_values): Likewise.  Pass selected
    	frame to get_register.
    	(get_register): Add FRAME argument, use it as frame to retrieve
    	registers from (instead of selected frame).  Use frame architecture
    	instead of current_gdbarch.
    	(mi_cmd_data_write_register_values): Use current regcache
    	architecture instead of current_gdbarch.
    
    testsuite/ChangeLog:
    
    	* gdb.mi/gdb680.exp: Update test for error message.

commit e75ef2ef951dcd7527bc98903d2b1c158f9979f6
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:36:44 2009 +0000

    	* tui/tui-regs.c (tui_show_register_group): Remove GDBARCH parameter;
    	use frame architecture instead.  Replace current_gdbarch uses.
    	(tui_show_registers): Update call.
    	(tui_get_register): Remove GDBARCH parameter; use frame architecture
    	instead.
    	(tui_show_register_group): Update call.
    	(tui_check_register_values): Likewise.
    	(tui_register_format): Remove GDBARCH parameter; use frame
    	architecture instead.  Replace current_gdbarch uses.
    	(tui_get_register): Update call.

commit edb34e852590a0fb3dfb1111787d73adbfd37c58
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:35:33 2009 +0000

    	* gdbarch.sh (construct_inferior_arguments): Remove.
    	* gdbarch.c, gdbarch.h: Regenerate.
    	* infcmd.c (get_inferior_args): Call construct_inferior_arguments
    	directly instead of gdbarch_construct_inferior_arguments.
    	(construct_inferior_arguments): Remove GDBARCH argument.
    	* inferior.h (construct_inferior_arguments): Likewise.

commit 26a72b35a208aea5c27777a30c4748efbbf0a6d0
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:34:34 2009 +0000

    	* symfile.c (section_is_mapped): Use objfile architecture instead
    	of current_gdbarch.
    	(TARGET_LONG_BYTES): Remove.
    	(read_target_long_array): Add SIZE argument.  Use it instead of
    	TARGET_LONG_BYTES.
    	(simple_read_overlay_table): Retrieve long size from objfile
    	architecture; pass it to read_target_long_array.
    	(simple_read_overlay_region_table): Likewise.
    	(simple_overlay_update_1): Likewise.

commit f79178872ca88e95691e3a9d0ccd0c02723a99a3
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:33:28 2009 +0000

    	* infrun.c (cleanup_displaced_step_closure): Remove.
    	(displaced_step_clear_cleanup): Move to before displaced_step_prepare.
    	(displaced_step_prepare): Use displaced_step_clear_cleanup instead
    	of cleanup_displaced_step_closure.
    	(handle_inferior_event, keep_going): Use thread architecture instead
    	of current_gdbarch.

commit 8745f772128a8484545c11070048cdfd2caf37a5
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Jun 17 18:32:35 2009 +0000

    ChangeLog:
    
    	* infrun.c (handle_inferior_event): Use current frame architecture
    	or thread architecture instead of current_gdbarch.  Pass to
    	handle_step_into_function and handle_step_into_function_backward.
    	(handle_step_into_function): Add GDBARCH parameter.  Use it instead
    	of current_gdbarch.
    	(handle_step_into_function_backward): Likewise.
    	(insert_step_resume_breakpoint_at_frame): Use frame architecture
    	instead of current_gdbarch.
    	(insert_step_resume_breakpoint_at_caller): Likewise.
    
    testsuite/ChangeLog:
    
    	* gdb.base/annota1.exp: Allow multiple occurrences of the
    	frames-invalid annotation.
    	* gdb.cp/annota2.exp: Likewise.

commit 729b010560ef364fd147584be4ee57d5f2319cfc
Author: H.J. Lu <hjl@lucon.org>
Date:   Wed Jun 17 18:08:34 2009 +0000

    2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-arm.c (create_got_section): Get existing .rela.got
    	section.
    	* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
    	* elf32-lm32.c (create_got_section): Likewise.
    	* elf32-m32r.c (create_got_section): Likewise.
    	* elf32-ppc.c (ppc_elf_create_got): Likewise.
    	* elf32-s390.c (create_got_section): Likewise.
    	* elf32-sh.c (create_got_section): Likewise.
    	* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
    	* elf64-s390.c (create_got_section): Likewise.
    	* elfxx-sparc.c (create_got_section): Likewise.
    
    	* elflink.c (_bfd_elf_create_got_section): Properly initialize
    	the GOT size.

commit 292330aac72649545a68f3845244600b4dbc7ab6
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Wed Jun 17 16:35:15 2009 +0000

    2009-06-17  Michael Eager <eager@eagercon.com>
    
            * COPYING.LIBGLOSS: Add Xilinx license.

commit b6d7d2f6c3f0eb950a31472283f157619cc3a847
Author: Phil Blundell <pb@futuretv.com>
Date:   Wed Jun 17 15:46:18 2009 +0000

    Undo accidental checkin of bogus change

commit 475c3724ab47f30af0a748bb28bf958ed942c7d0
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Jun 17 06:17:32 2009 +0000

    	* infcmd.c (post_create_inferior): Call breakpoint_re_set after target
    	is pushed for watchpoint promotion to hardware watchpoint.

commit 3cac13db5919475bed0d9208984b0784d0a6d8ba
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Jun 17 00:00:33 2009 +0000

    *** empty log message ***

commit 6cd948980df13892d7df17d166307db78d866c8c
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jun 17 00:00:07 2009 +0000

    daily update

commit 0a69627953be73f82308aa7f42b3543006260e8f
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue Jun 16 21:06:39 2009 +0000

    2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* dwarf2read.c (dwarf_info_section, dwarf_abbrev_section)
    	(dwarf_line_section, dwarf_pubnames_section, dwarf_aranges_section)
    	(dwarf_loc_section, dwarf_macinfo_section, dwarf_str_section)
    	(dwarf_ranges_section, dwarf_frame_section)
    	(dwarf_eh_frame_section): Removed.
    	(dwarf2_resize_section): Likewise.
    	(dwarf2_read_section): Now static, use bfd_mmap() if possible.
    	(dwarf2_get_section_info): New function.
    	(munmap_section_buffer): Likewise.
    	(dwarf2_per_objfile_cleanup): Likewise.
    	(section_is_p): Signature change.
    	* dwarf2-frame.c (dwarf2_build_frame_info): Use
    	dwarf2_get_section_info instead of dwarf2_read_section.

commit 5e955cc4e24a01942f8ea24d34be4c31cb2cf47e
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue Jun 16 18:49:25 2009 +0000

    2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* solib.c (symbol_add_stub): New FLAGS parameter.
    	(solib_read_symbols): FROM_TTY -> FLAGS, call symbol_add_stub
    	directly.
    	(solib_add): Defer breakpoint_re_set until after all solibs.
    	* bsd-uthread.c (bsd_uthread_solib_loaded): Adjust.
    	* rs6000-nat.c (objfile_symbol_add): Adjust.
    	* symfile.c (syms_from_objfile): Merge parameters into ADD_FLAGS.
    	(new_symfile_objfile): Likewise.
    	(symbol_file_add_with_addrs_or_offsets): Likewise.
    	(symbol_file_add_from_bfd): Likewise.
    	(symbol_file_add): Likewise.
    	* symfile.h (enum symfile_add_flags): New. Adjust prototypes.
    	* symfile-mem.c (symbol_file_add_from_memory): Adjust.
    	* windows-nat.c (safe_symbol_file_add_stub): Adjust.
    	* machoread.c (macho_oso_symfile, macho_symfile_read): Adjust.

commit e10bba9ca1d6745baa8130dca62025cd503a5ae3
Author: Keith Seitz <keiths@redhat.com>
Date:   Tue Jun 16 18:39:41 2009 +0000

    	* linespec.c (collect_methods): Delete.
    	(add_matching_methods): Reove destructor special case.
    	(find_method): Call find_methods directly instead of
    	collect_methods.
    	* valops.c (value_struct_elt): Remove destructor
    	special cases.
    	(check_field): Likewise.
    	(value_struct_elt_for_reference): Likewise.
    	(destructor_name_p): Remove misleading comment about dtors
    	being "special cases".
    	* gdbtypes.h (get_destructor_fn_field): Remove. No longer needed.
    	* gdbtypes.c (get_destructor_fn_field): Likewise.

commit 04fbd8adb3e105c6fbe7ce1ed826a6c28b780d8d
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Jun 16 18:23:35 2009 +0000

    	* mi/mi-main.c (mi_cmd_data_read_memory): Dispatch
    	TARGET_OJECT_MEMORY reads to the topmost target, not the the
    	flattened current_target.

commit a575a4338d94f40170dc832b4c30f9bee77e1294
Author: H.J. Lu <hjl@lucon.org>
Date:   Tue Jun 16 17:45:06 2009 +0000

    2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New.
    
    	* elf32-i386.c (elf_i386_local_hash): Removed.
    	(elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
    	(elf_i386_get_local_sym_hash): Likewise.
    
    	* elf64-x86-64.c (elf64_x86_64_local_hash): Removed.
    	(elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
    	(elf64_x86_64_get_local_sym_hash): Likewise.
    	* elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise.
    	(get_local_sym_hash): Likewise.

commit 40b336026c730faed6bcd1c979cd7269e19847ae
Author: H.J. Lu <hjl@lucon.org>
Date:   Tue Jun 16 15:52:40 2009 +0000

    2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec,
    	rel_got_sec and plt_sec.
    	(elfNN_ia64_relax_section): Updated.
    	(elfNN_ia64_create_dynamic_sections): Likewise.
    	(get_got): Likewise.
    	(allocate_dynrel_entries): Likewise.
    	(elfNN_ia64_size_dynamic_sections): Likewise.
    	(set_got_entry): Likewise.
    	(elfNN_ia64_choose_gp): Likewise.
    	(elfNN_ia64_relocate_section): Likewise.
    	(elfNN_ia64_finish_dynamic_symbol): Likewise.
    	(elfNN_ia64_finish_dynamic_sections): Likewise.

commit 84e1f22e33b8c908de126a93ce52a601a946c7ec
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Jun 16 13:44:00 2009 +0000

    	* elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits
    	also for calls.

commit 30bdd1d71abb385f7201d25fa19be8966540daf8
Author: H.J. Lu <hjl@lucon.org>
Date:   Tue Jun 16 13:41:07 2009 +0000

    2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* configure.in (elf): Add elf-ifunc.lo.
    
    	* configure: Regenerated.
    	* Makefile.in: Likewise.
    
    	* elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt,
    	srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc.
    
    	* elf32-i386.c (elf_i386_link_hash_table): Remove sgot,
    	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
    	irelifunc.
    	(elf_i386_link_hash_table_create): Likewise.
    	(elf_i386_create_dynamic_sections): Likewise.
    	(elf_i386_check_relocs): Likewise.
    	(elf_i386_allocate_dynrelocs): Likewise.
    	(elf_i386_size_dynamic_sections): Likewise.
    	(elf_i386_relocate_section): Likewise.
    	(elf_i386_finish_dynamic_symbol): Likewise.
    	(elf_i386_finish_dynamic_sections): Likewise.
    	(elf_i386_create_got_section): Removed.
    
    	* elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot,
    	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
    	irelifunc.
    	(elf64_x86_64_compute_jump_table_size): Updated.
    	(elf64_x86_64_link_hash_table_create): Likewise.
    	(elf64_x86_64_create_dynamic_sections): Likewise.
    	(elf64_x86_64_check_relocs): Likewise.
    	(elf64_x86_64_allocate_dynrelocs): Likewise.
    	(elf64_x86_64_size_dynamic_sections): Likewise.
    	(elf64_x86_64_relocate_section): Likewise.
    	(elf64_x86_64_finish_dynamic_symbol): Likewise.
    	(elf64_x86_64_finish_dynamic_sections): Likewise.
    	(elf64_x86_64_create_got_section): Removed.
    
    	* elflink.c (_bfd_elf_create_got_section): Use log_file_align
    	for pointer alignment.  Set up section pointers.
    	(_bfd_elf_create_dynamic_sections): Likewise.
    	(_bfd_elf_create_ifunc_sections): Moved to ...
    	* elf-ifunc.c: Here.  New.
    
    	* Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo.
    	(BFD32_BACKENDS_CFILES): Add elf-ifunc.c.
    	Run "make dep-am".

commit b40d4a74193281b05268da1b860eebdff4cf21f3
Author: DJ Delorie <dj@delorie.com>
Date:   Tue Jun 16 13:21:26 2009 +0000

    merge from gcc

commit 29d90f339093389d27d31fe401c3d4132eead197
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jun 16 12:44:35 2009 +0000

            PR 10197
            * testsuite/test-demangle.c: Rename getline to get_line to avoid
            conflicts with system function of the same name.

commit f7ecdd4ed93649cd218360fe8dda2b6dc5288250
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jun 16 11:33:42 2009 +0000

     * elf32-arm.c (cortex_a8_erratum_scan): Change type of offset
       to bfd_signed_vma.  Cast constant operands which are used in
       offset related expressions to bfd_signed_vma type as appropriate.

commit d364a05153b2bfc49a7f75b3d780c823fb65c964
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jun 16 09:21:36 2009 +0000

    2009-06-16  Tristan Gingold  <gingold@adacore.com>
    
    	* avr-tdep.c (struct gdbarch_tdep): Replace the unused field with
    	call_length field.
    	(avr_register_name): Add const to register_names.
    	(avr_scan_arg_moves): Move inside avr_scan_prologue.
    	(avr_scan_prologue): Add pc_end argument.
    	Only read prologue bytes that can be read.
    	Limit the scan to the known prologue length.
    	Makes pattern variables static and const.
    	Fix indentation.
    	(avr_skip_prologue): Pass func_end argument to avr_scan_prologue.
    	Fix indentation.
    	(avr_breakpoint_from_pc): Constify avr_break_insn.
    	(avr_extract_return_value): Fix function comment.
    	(avr_frame_unwind_cache): Fix GNU style violations.
    	Pass current_pc argument to avr_scan_prologue to stop prologue
    	analysis to the current pc.  This fixes the bug with the 'next'
    	command.
    	Correctly set the SP register of the previous frame (use call_length).
    	(avr_frame_prev_register): Fix indentation.
    	Correctly read PC from the stack on avr6 architectures.
    	(avr_push_dummy_call): Fix indentation.
    	(avr_gdbarch_init): Set call_length according to the architecture.

commit 7bf833e45b7b68465ae4f6cc8e80f26d91793a5b
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 02:23:08 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_plt_sym_val): New function.
    (elf_backend_plt_sym_val): Define.
    
    opcodes/
    * vax-dis.c (is_function_entry): Return success for synthetic
    symbols too.
    (is_plt_tail): New function.
    (print_insn_vax): Decode PLT entry offset longword.

commit 354a44b9adb4ea7e39e8b8493dc20a1c67983af1
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 02:16:54 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_reloc_type_class): New function.
    (elf_backend_reloc_type_class): Define.

commit 0545b049acfd1b2b33ebc1962ab6c17974b9d827
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 02:14:12 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_relocate_section): For symbol references
    from an executable to a shared library treat R_VAX_PC32
    relocations as R_VAX_PLT32 ones.

commit 97b2f6c1dc24b75b70691ed3a3b06e6227a21fa6
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 02:07:22 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_instantiate_got_entries): Skip local
    symbols in GOT space calculation.
    (elf_vax_relocate_section): Adjust accordingly.

commit 3ac382e0ea33ec0440ecac85c99beec6da862592
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 01:57:39 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
    include <R11:R2>.

commit c650a13859ce8b01a164e0706290e10013735b88
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Tue Jun 16 01:52:12 2009 +0000

    bfd/
    * elf32-vax.c (elf_vax_check_relocs): Handle the visibility
    attribute.
    (elf_vax_relocate_section): Likewise.
    
    gas/
    * config/tc-vax.c (md_estimate_size_before_relax): Accept
    indirect symbol references in the PIC mode and emit a
    PC-relative relocation instead of a GOT/PLT one.  Likewise
    for symbols known to be hidden at this point.

commit a403e9113f43835241ba0785ba679597ba610e12
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Jun 16 00:00:36 2009 +0000

    daily update

commit d0b1cbd9ff0065cf79dc9d41b778db52bf3e6c94
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Jun 16 00:00:33 2009 +0000

    *** empty log message ***

commit 0c13b08fcfd84d4d7796ee8cbaa43385b28ac137
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 15 18:25:20 2009 +0000

    2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments.
    	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.

commit 6feef5602624bdd4da2ed6d7d0a5b485b089ca85
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 15 17:23:43 2009 +0000

    2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_check_relocs): Reformat.
    	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

commit e88c4cd39f8347abd419ed8f066997270c887395
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 15 15:42:34 2009 +0000

            PR 10186
            * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
            instruction.
    
            * gas/arm/thumb32.d: Fix expected binary value of SEV.W instruction.
    
            * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
            instruction.

commit a07fc80f14506f18277d21c1ac4a8c5f876135dc
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 15 15:24:52 2009 +0000

            PR 10173
            * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.

commit 8d2a2802a0ed98e3a8db936cfb03257fc88b98b5
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 15 14:36:31 2009 +0000

    2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* Makefile.am: Run "make dep-am".
    	* Makefile.in: Regenerated.

commit eeed874106496a0616ffa81c108bd005e2643795
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 15 14:08:41 2009 +0000

            * configure.ac: Define is_elf for QNX Neutrino targets.
            * configure: Regenerate.

commit e170d1b04da3ebe064e4ba4b45ea75c340d296e4
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 15 13:12:33 2009 +0000

    2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo.
    	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.

commit 39544eabb416a6c7da25a5c2d6511164fcc1837f
Author: pmuldoon <pmuldoon>
Date:   Mon Jun 15 12:11:35 2009 +0000

    2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* infcall.c (show_unwind_on_terminating_exception_p): New
    	function.
    	(call_function_by_hand): Create breakpoint and clean-up call for
    	std::terminate.breakpoint. Add unwind_on_terminating_exception_p
    	gate. Pop frame on breakpoint hit.
    	(_initialize_infcall): Add add_setshow_boolean_cmd for
    	unwind-on-terminating-exception.
    
    testsuite/
    
    2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* gdb.cp/gdb2495.cc: New file.
    	* gdb.cp/gdb2495.exp: New file.
    
    doc/
    
    2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* doc/gdb.texinfo (Calling): Document
    	set-unwind-on-terminating-exception usage.

commit c5e56e0d08aff3c16bc813725d47c092424db080
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 15 11:37:26 2009 +0000

            PR 10263
            * arm-dis.c (print_insn): Ignore is_data if the user has requested
            the disassembly of data as well as instructions.
    
            * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
            the flags field of the disassemble_info structure if the -D switch
            is in operation.
    
            * dis-asm.h (struct disassemble_info): New value for the flags
            field.

commit 137bab37db722b6bd18bae06e83f04053e9d026d
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 15 08:52:19 2009 +0000

            * po/ru.po: New Russian translation.
            * configure.in (ALL_LINGUAS): Add ru.
            * configure: Regenerate.

commit a069feefbcee3289206e6088bddef500d6d563b5
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 15 00:37:08 2009 +0000

    2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c: Remove duplicated comments.

commit 5186ff37e33a081339ff39f1fdcba7ecfb9d56a4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Jun 15 00:00:33 2009 +0000

    *** empty log message ***

commit 1d4ac11d9b0925de40633da723a24824145c59c6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Jun 15 00:00:04 2009 +0000

    daily update

commit be2b514e9664b7002ac3009be0b3abc3fc66b9c3
Author: H.J. Lu <hjl@lucon.org>
Date:   Sun Jun 14 22:13:29 2009 +0000

    bfd/
    
    2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/10270
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow
    	dynamic IFUNC pointer in non-shared object.  Use .got.plt
    	for IFUNC definition in PIE.
    	(elf_i386_allocate_dynrelocs): Resolve IFUNC definition in
    	PIE locally.
    
    	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow
    	dynamic IFUNC pointer in non-shared object.  Use .got.plt
    	for IFUNC definition in PIE.
    	(elf64_x86_64_relocate_section): Resolve IFUNC definition in
    	PIE locally.
    
    ld/testsuite/
    
    2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/10270
    	* ld-ifunc/ifunc-9-x86.d: New.
    	* ld-ifunc/ifunc-9-x86.s: Likewise.

commit efaf0f9e3101a8e3dcf6205c8ba6bfe4529283a8
Author: Doug Evans <dje@google.com>
Date:   Sun Jun 14 16:36:56 2009 +0000

    	* cgen.sh: Handle multiple simultaneous runs for parallel makes.

commit 851301d867d3d4aa7d0dfac6e47f5856139293e8
Author: H.J. Lu <hjl@lucon.org>
Date:   Sun Jun 14 05:53:55 2009 +0000

    2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_relocate_section): Properly report
    	local symbol for unhandled relocation against STT_GNU_IFUNC
    	symbol.
    	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

commit ce5dd7329097d13f841cb2b8d6fd8351d991c0ba
Author: H.J. Lu <hjl@lucon.org>
Date:   Sun Jun 14 05:45:09 2009 +0000

    2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_check_relocs): Properly report
    	local symbol for unhandled relocation against STT_GNU_IFUNC
    	symbol.
    	* elf64-x86-64.c (elf64_x86_64_check_relocs):  Likewise.

commit 4ee2275b0bf3315ed04f7a558229cfd999f8461c
Author: H.J. Lu <hjl@lucon.org>
Date:   Sun Jun 14 01:39:45 2009 +0000

    bfd/
    
    2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/10269
    	* elf32-i386.c: Include "objalloc.h" and "hashtab.h".
    	(elf_i386_link_hash_table): Add loc_hash_table and
    	loc_hash_memory.
    	(elf_i386_local_hash): New.
    	(elf_i386_local_htab_hash): Likewise.
    	(elf_i386_local_htab_eq): Likewise.
    	(elf_i386_get_local_sym_hash): Likewise.
    	(elf_i386_link_hash_table_free): Likewise.
    	(elf_i386_allocate_local_dynrelocs): Likewise.
    	(elf_i386_finish_local_dynamic_symbol): Likewise.
    	(bfd_elf64_bfd_link_hash_table_free): Likewise.
    	(elf_i386_link_hash_table_create): Create loc_hash_table and
    	loc_hash_memory.
    	(elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols.
    	(elf_i386_size_dynamic_sections): Likewise.
    	(elf_i386_relocate_section): Likewise.
    	(elf_i386_finish_dynamic_sections): Likewise.
    	(elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym
    	isn't NULL.
    
    	* elf64-x86-64.c: Include "objalloc.h" and "hashtab.h".
    	(elf64_x86_64_link_hash_table): Add loc_hash_table and
    	loc_hash_memory.
    	(elf64_x86_64_local_hash): New.
    	(elf64_x86_64_local_htab_hash): Likewise.
    	(elf64_x86_64_local_htab_eq): Likewise.
    	(elf64_x86_64_get_local_sym_hash): Likewise.
    	(elf64_x86_64_link_hash_table_free): Likewise.
    	(elf64_x86_64_allocate_local_dynrelocs): Likewise.
    	(elf64_x86_64_finish_local_dynamic_symbol): Likewise.
    	(bfd_elf64_bfd_link_hash_table_free): Likewise.
    	(elf64_x86_64_link_hash_table_create): Create loc_hash_table
    	and loc_hash_memory.
    	(elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC
    	symbols.
    	(elf64_x86_64_size_dynamic_sections): Likewise.
    	(elf64_x86_64_relocate_section): Likewise.
    	(elf64_x86_64_finish_dynamic_sections): Likewise.
    	(elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if
    	sym isn't NULL.
    
    gas/
    
    2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/10269
    	* config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
    	instead of generic_force_reloc.
    
    	* config/tc-i386.h (TC_FORCE_RELOCATION): New.
    
    ld/testsuite/
    
    2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/10269
    	*: ld-ifunc/ifunc-1-local-x86.d: New.
    	*: ld-ifunc/ifunc-1-local-x86.s: Likewise.
    	*: ld-ifunc/ifunc-2-local-i386.d: Likewise.
    	*: ld-ifunc/ifunc-2-local-i386.s: Likewise.
    	*: ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
    	*: ld-ifunc/ifunc-2-local-x86-64.s: Likewise.
    	*: ld-ifunc/ifunc-4-local-x86.d: Likewise.
    	*: ld-ifunc/ifunc-4-local-x86.s: Likewise.
    	*: ld-ifunc/ifunc-5-local-i386.s: Likewise.
    	*: ld-ifunc/ifunc-5-local-x86-64.s: Likewise.
    	*: ld-ifunc/ifunc-5a-local-i386.d: Likewise.
    	*: ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
    	*: ld-ifunc/ifunc-5b-local-i386.d: Likewise.
    	*: ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.

commit 276b0e421bac46df4f88dab0131b931c7430ef98
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Jun 14 00:00:35 2009 +0000

    *** empty log message ***

commit 1d4a1a15fef24b6ac28c1ac4285d55ee9388bed4
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Jun 14 00:00:04 2009 +0000

    daily update

commit f2f1c33c6b15d180f28c37e40b15f07ca0f25712
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Sat Jun 13 04:23:32 2009 +0000

    	* dwarf2read.c (dwarf2_psymtab_to_symtab): Propagate
    	`has_section_at_zero' flag from stripped objfile to separate,
    	debug info only, objfile.

commit b59929686d30152bda12b4feac4e22932c5a587d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Jun 13 00:00:35 2009 +0000

    *** empty log message ***

commit fc18c624bf99932c0b360cc491dd369163699e77
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Jun 13 00:00:06 2009 +0000

    daily update

commit cae8446aadfb8f581eefa245789c2bf4bedf035e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Jun 12 21:28:34 2009 +0000

    gdb/testsuite/
    	Report error on GDB crash during runto.
    	* lib/gdb.exp (runto <eof>): New.

-----------------------------------------------------------------------

Summary of changes:
 COPYING.LIBGLOSS                    |   32 +
 ChangeLog                           |    9 +
 bfd/ChangeLog                       |  235 +++
 bfd/Makefile.am                     |   16 +
 bfd/Makefile.in                     |   24 +-
 bfd/configure                       |    5 +-
 bfd/configure.in                    |    5 +-
 bfd/elf-bfd.h                       |   17 +
 bfd/elf-ifunc.c                     |  105 +
 bfd/elf32-arm.c                     |   60 +-
 bfd/elf32-hppa.c                    |   11 +-
 bfd/elf32-i386.c                    |  673 ++++---
 bfd/elf32-lm32.c                    |   14 +-
 bfd/elf32-m32r.c                    |   14 +-
 bfd/elf32-ppc.c                     |    9 +-
 bfd/elf32-s390.c                    |   12 +-
 bfd/elf32-sh.c                      |   13 +-
 bfd/elf32-spu.c                     |   16 +-
 bfd/elf32-vax.c                     |   90 +-
 bfd/elf32-xtensa.c                  |    7 +-
 bfd/elf64-s390.c                    |   13 +-
 bfd/elf64-x86-64.c                  |  686 ++++---
 bfd/elflink.c                       |  138 +--
 bfd/elfxx-ia64.c                    |   95 +-
 bfd/elfxx-sparc.c                   |    8 +-
 bfd/po/ru.po                        | 3840 +++++++++++++++++++++++++++++++++++
 bfd/version.h                       |    2 +-
 configure                           |    2 +-
 configure.ac                        |    2 +-
 gdb/ChangeLog                       |  445 ++++
 gdb/ada-tasks.c                     |    4 +-
 gdb/aix-thread.c                    |    2 +-
 gdb/amd64-linux-nat.c               |    2 +-
 gdb/arm-tdep.c                      |   11 +-
 gdb/avr-tdep.c                      |  232 ++-
 gdb/ax-gdb.c                        |   22 +-
 gdb/breakpoint.c                    |   14 +-
 gdb/bsd-uthread.c                   |    4 +-
 gdb/buildsym.c                      |    2 -
 gdb/c-exp.y                         |    8 +-
 gdb/c-lang.c                        |   21 +-
 gdb/cli/cli-dump.c                  |    8 +-
 gdb/coffread.c                      |   13 +-
 gdb/corelow.c                       |    4 +-
 gdb/dbug-rom.c                      |    3 +-
 gdb/dbxread.c                       |   17 +-
 gdb/doc/ChangeLog                   |    5 +
 gdb/doc/gdb.texinfo                 |   27 +
 gdb/dummy-frame.c                   |    4 +-
 gdb/dwarf2-frame.c                  |   32 +-
 gdb/dwarf2loc.c                     |   21 +-
 gdb/dwarf2read.c                    |  725 ++++----
 gdb/eval.c                          |   33 +-
 gdb/findvar.c                       |   13 +-
 gdb/frame.h                         |    2 +-
 gdb/frv-tdep.c                      |   10 +-
 gdb/gcore.c                         |   16 +-
 gdb/gdbarch.c                       |   66 +-
 gdb/gdbarch.h                       |   24 +-
 gdb/gdbarch.sh                      |   16 +-
 gdb/gdbtypes.c                      |   55 +-
 gdb/gdbtypes.h                      |   16 +-
 gdb/i386-darwin-nat.c               |    4 +-
 gdb/infcall.c                       |  101 +-
 gdb/infcmd.c                        |   33 +-
 gdb/inferior.h                      |   14 +-
 gdb/infrun.c                        |  132 +-
 gdb/iq2000-tdep.c                   |    6 +-
 gdb/linespec.c                      |   46 +-
 gdb/linux-nat.c                     |    4 +-
 gdb/linux-thread-db.c               |    2 +-
 gdb/lm32-tdep.c                     |    5 +-
 gdb/m2-exp.y                        |    6 +-
 gdb/m32c-tdep.c                     |   10 +-
 gdb/machoread.c                     |    6 +-
 gdb/mdebugread.c                    |    4 +-
 gdb/memattr.c                       |    8 +-
 gdb/mep-tdep.c                      |    2 +-
 gdb/mi/mi-main.c                    |   90 +-
 gdb/mips-tdep.c                     |    5 +-
 gdb/mn10300-tdep.c                  |    8 +-
 gdb/monitor.c                       |    4 +-
 gdb/moxie-tdep.c                    |    3 +-
 gdb/mt-tdep.c                       |    2 +-
 gdb/nto-procfs.c                    |    2 +-
 gdb/objc-exp.y                      |   13 +-
 gdb/objc-lang.c                     |   39 +-
 gdb/objc-lang.h                     |    9 +-
 gdb/parse.c                         |    2 +-
 gdb/ppc-linux-tdep.c                |   12 +
 gdb/printcmd.c                      |   12 +-
 gdb/procfs.c                        |    8 +-
 gdb/prologue-value.c                |    5 +-
 gdb/prologue-value.h                |    7 +-
 gdb/python/python-type.c            |    4 +-
 gdb/python/python-value.c           |    5 +-
 gdb/record.c                        |    2 +-
 gdb/rs6000-nat.c                    |    6 +-
 gdb/rs6000-tdep.c                   |    5 +-
 gdb/s390-tdep.c                     |    2 +-
 gdb/solib-darwin.c                  |    4 +-
 gdb/solib-pa64.c                    |    2 -
 gdb/solib.c                         |   55 +-
 gdb/source.c                        |    2 +-
 gdb/sparc-nat.c                     |   18 +-
 gdb/sparc-nat.h                     |    8 +-
 gdb/sparc-tdep.c                    |    2 +-
 gdb/sparc64-nat.c                   |   12 +-
 gdb/sparc64nbsd-nat.c               |   12 +-
 gdb/spu-linux-nat.c                 |    4 +-
 gdb/spu-tdep.c                      |    3 +-
 gdb/stack.c                         |    5 +-
 gdb/symfile-mem.c                   |    4 +-
 gdb/symfile.c                       |  116 +-
 gdb/symfile.h                       |   24 +-
 gdb/symtab.c                        |   18 +-
 gdb/symtab.h                        |   10 +-
 gdb/testsuite/ChangeLog             |   24 +
 gdb/testsuite/gdb.base/annota1.exp  |    8 +-
 gdb/testsuite/gdb.base/dump.exp     |    6 +
 gdb/testsuite/gdb.cp/Makefile.in    |    2 +-
 gdb/testsuite/gdb.cp/annota2.exp    |    4 +-
 gdb/testsuite/gdb.cp/gdb2495.cc     |   89 +
 gdb/testsuite/gdb.cp/gdb2495.exp    |  157 ++
 gdb/testsuite/gdb.mi/gdb680.exp     |    2 +-
 gdb/testsuite/lib/gdb.exp           |    4 +
 gdb/tui/tui-regs.c                  |   57 +-
 gdb/utils.c                         |   12 -
 gdb/valarith.c                      |    9 +-
 gdb/valops.c                        |   84 +-
 gdb/value.c                         |   33 +-
 gdb/value.h                         |   11 +-
 gdb/varobj.c                        |   11 +-
 gdb/version.in                      |    2 +-
 gdb/windows-nat.c                   |   11 +-
 gdb/xcoffread.c                     |   14 +-
 gdb/xstormy16-tdep.c                |    6 +-
 include/ChangeLog                   |    9 +
 include/ansidecl.h                  |   21 +-
 include/dis-asm.h                   |   26 +-
 libiberty/ChangeLog                 |    6 +
 libiberty/testsuite/test-demangle.c |   10 +-
 opcodes/ChangeLog                   |   26 +
 opcodes/arm-dis.c                   |   11 +-
 opcodes/cgen.sh                     |   87 +-
 opcodes/cr16-dis.c                  |    6 +-
 opcodes/vax-dis.c                   |   45 +-
 147 files changed, 7613 insertions(+), 2137 deletions(-)
 create mode 100644 bfd/elf-ifunc.c
 create mode 100644 bfd/po/ru.po
 create mode 100644 gdb/testsuite/gdb.cp/gdb2495.cc
 create mode 100644 gdb/testsuite/gdb.cp/gdb2495.exp

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index b4d657e..a63b737 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -228,3 +228,35 @@ POSSIBILITY OF SUCH DAMAGE.
  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
+
+(13) - Xilinx, Inc. (powerpc-* targets)
+
+Copyright (c) 2004, 2009 Xilinx, Inc.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1.  Redistributions source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3.  Neither the name of Xilinx nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/ChangeLog b/ChangeLog
index a786e13..16c6391 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-06-17  Michael Eager <eager@eagercon.com>
+
+	* COPYING.LIBGLOSS: Add Xilinx license.
+
+2009-06-15  Ryan Mansfield  <rmansfield@qnx.com>
+
+	* configure.ac: Define is_elf for QNX Neutrino targets.
+	* configure: Regenerate.
+
 2009-06-03  Jerome Guitton  <guitton@adacore.com>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7f1ce47..15e73e9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,238 @@
+2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-arm.c (create_got_section): Get existing .rela.got
+	section.
+	* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
+	* elf32-lm32.c (create_got_section): Likewise.
+	* elf32-m32r.c (create_got_section): Likewise.
+	* elf32-ppc.c (ppc_elf_create_got): Likewise.
+	* elf32-s390.c (create_got_section): Likewise.
+	* elf32-sh.c (create_got_section): Likewise.
+	* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
+	* elf64-s390.c (create_got_section): Likewise.
+	* elfxx-sparc.c (create_got_section): Likewise.
+
+	* elflink.c (_bfd_elf_create_got_section): Properly initialize
+	the GOT size.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New.
+
+	* elf32-i386.c (elf_i386_local_hash): Removed.
+	(elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
+	(elf_i386_get_local_sym_hash): Likewise.
+
+	* elf64-x86-64.c (elf64_x86_64_local_hash): Removed.
+	(elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
+	(elf64_x86_64_get_local_sym_hash): Likewise.
+	* elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise.
+	(get_local_sym_hash): Likewise.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec,
+	rel_got_sec and plt_sec.
+	(elfNN_ia64_relax_section): Updated.
+	(elfNN_ia64_create_dynamic_sections): Likewise.
+	(get_got): Likewise.
+	(allocate_dynrel_entries): Likewise.
+	(elfNN_ia64_size_dynamic_sections): Likewise.
+	(set_got_entry): Likewise.
+	(elfNN_ia64_choose_gp): Likewise.
+	(elfNN_ia64_relocate_section): Likewise.
+	(elfNN_ia64_finish_dynamic_symbol): Likewise.
+	(elfNN_ia64_finish_dynamic_sections): Likewise.
+
+2009-06-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits
+	also for calls.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* configure.in (elf): Add elf-ifunc.lo.
+
+	* configure: Regenerated.
+	* Makefile.in: Likewise.
+
+	* elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt,
+	srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc.
+
+	* elf32-i386.c (elf_i386_link_hash_table): Remove sgot,
+	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
+	irelifunc.
+	(elf_i386_link_hash_table_create): Likewise.
+	(elf_i386_create_dynamic_sections): Likewise.
+	(elf_i386_check_relocs): Likewise.
+	(elf_i386_allocate_dynrelocs): Likewise.
+	(elf_i386_size_dynamic_sections): Likewise.
+	(elf_i386_relocate_section): Likewise.
+	(elf_i386_finish_dynamic_symbol): Likewise.
+	(elf_i386_finish_dynamic_sections): Likewise.
+	(elf_i386_create_got_section): Removed.
+
+	* elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot,
+	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
+	irelifunc.
+	(elf64_x86_64_compute_jump_table_size): Updated.
+	(elf64_x86_64_link_hash_table_create): Likewise.
+	(elf64_x86_64_create_dynamic_sections): Likewise.
+	(elf64_x86_64_check_relocs): Likewise.
+	(elf64_x86_64_allocate_dynrelocs): Likewise.
+	(elf64_x86_64_size_dynamic_sections): Likewise.
+	(elf64_x86_64_relocate_section): Likewise.
+	(elf64_x86_64_finish_dynamic_symbol): Likewise.
+	(elf64_x86_64_finish_dynamic_sections): Likewise.
+	(elf64_x86_64_create_got_section): Removed.
+
+	* elflink.c (_bfd_elf_create_got_section): Use log_file_align
+	for pointer alignment.  Set up section pointers.
+	(_bfd_elf_create_dynamic_sections): Likewise.
+	(_bfd_elf_create_ifunc_sections): Moved to ...
+	* elf-ifunc.c: Here.  New.
+
+	* Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo.
+	(BFD32_BACKENDS_CFILES): Add elf-ifunc.c.
+	Run "make dep-am".
+
+2009-06-16  Doug Kwan  <dougkwan@google.com>
+
+	* elf32-arm.c (cortex_a8_erratum_scan): Change type of offset
+	to bfd_signed_vma.  Cast constant operands which are used in
+	offset related expressions to bfd_signed_vma type as appropriate.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_plt_sym_val): New function.
+	(elf_backend_plt_sym_val): Define.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_reloc_type_class): New function.
+	(elf_backend_reloc_type_class): Define.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_relocate_section): For symbol references
+	from an executable to a shared library treat R_VAX_PC32
+	relocations as R_VAX_PLT32 ones.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_instantiate_got_entries): Skip local
+	symbols in GOT space calculation.
+	(elf_vax_relocate_section): Adjust accordingly.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
+	include <R11:R2>.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_check_relocs): Handle the visibility
+	attribute.
+	(elf_vax_relocate_section): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments.
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Reformat.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* Makefile.am: Run "make dep-am".
+	* Makefile.in: Regenerated.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo.
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-15  Nick Clifton  <nickc@redhat.com>
+
+	* po/ru.po: New Russian translation.
+	* configure.in (ALL_LINGUAS): Add ru.
+	* configure: Regenerate.
+
+2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c: Remove duplicated comments.
+
+2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/10270
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow
+	dynamic IFUNC pointer in non-shared object.  Use .got.plt
+	for IFUNC definition in PIE.
+	(elf_i386_allocate_dynrelocs): Resolve IFUNC definition in
+	PIE locally.
+
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow
+	dynamic IFUNC pointer in non-shared object.  Use .got.plt
+	for IFUNC definition in PIE.
+	(elf64_x86_64_relocate_section): Resolve IFUNC definition in
+	PIE locally.
+
+2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Properly report
+	local symbol for unhandled relocation against STT_GNU_IFUNC
+	symbol.
+	(elf_i386_relocate_section): Likewise.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs):  Likewise.
+	(elf64_x86_64_relocate_section): Likewise.
+
+2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/10269
+	* elf32-i386.c: Include "objalloc.h" and "hashtab.h".
+	(elf_i386_link_hash_table): Add loc_hash_table and
+	loc_hash_memory.
+	(elf_i386_local_hash): New.
+	(elf_i386_local_htab_hash): Likewise.
+	(elf_i386_local_htab_eq): Likewise.
+	(elf_i386_get_local_sym_hash): Likewise.
+	(elf_i386_link_hash_table_free): Likewise.
+	(elf_i386_allocate_local_dynrelocs): Likewise.
+	(elf_i386_finish_local_dynamic_symbol): Likewise.
+	(bfd_elf64_bfd_link_hash_table_free): Likewise.
+	(elf_i386_link_hash_table_create): Create loc_hash_table and
+	loc_hash_memory.
+	(elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols.
+	(elf_i386_size_dynamic_sections): Likewise.
+	(elf_i386_relocate_section): Likewise.
+	(elf_i386_finish_dynamic_sections): Likewise.
+	(elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym
+	isn't NULL.
+
+	* elf64-x86-64.c: Include "objalloc.h" and "hashtab.h".
+	(elf64_x86_64_link_hash_table): Add loc_hash_table and
+	loc_hash_memory.
+	(elf64_x86_64_local_hash): New.
+	(elf64_x86_64_local_htab_hash): Likewise.
+	(elf64_x86_64_local_htab_eq): Likewise.
+	(elf64_x86_64_get_local_sym_hash): Likewise.
+	(elf64_x86_64_link_hash_table_free): Likewise.
+	(elf64_x86_64_allocate_local_dynrelocs): Likewise.
+	(elf64_x86_64_finish_local_dynamic_symbol): Likewise.
+	(bfd_elf64_bfd_link_hash_table_free): Likewise.
+	(elf64_x86_64_link_hash_table_create): Create loc_hash_table
+	and loc_hash_memory.
+	(elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC
+	symbols.
+	(elf64_x86_64_size_dynamic_sections): Likewise.
+	(elf64_x86_64_relocate_section): Likewise.
+	(elf64_x86_64_finish_dynamic_sections): Likewise.
+	(elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if
+	sym isn't NULL.
+
 2009-06-10  Philip Blundell  <philb@gnu.org>
 
 	* elf32-arm.c (elf32_arm_fix_exidx_coverage): Avoid crash if
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index b739b7f..13da4ef 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -250,6 +250,7 @@ BFD32_BACKENDS = \
 	ecofflink.lo \
 	elf-attrs.lo \
 	elf-eh-frame.lo \
+	elf-ifunc.lo \
 	elf-m10200.lo \
 	elf-m10300.lo \
 	elf-strtab.lo \
@@ -432,6 +433,7 @@ BFD32_BACKENDS_CFILES = \
 	ecofflink.c \
 	elf-attrs.c \
 	elf-eh-frame.c \
+	elf-ifunc.c \
 	elf-m10200.c \
 	elf-m10300.c \
 	elf-strtab.c \
@@ -2046,6 +2048,18 @@ elf-eh-frame.lo: \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
   elf-bfd.h
+elf-ifunc.lo: \
+  elf-ifunc.c \
+  $(INCDIR)/bfdlink.h \
+  $(INCDIR)/elf/common.h \
+  $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/internal.h \
+  $(INCDIR)/filenames.h \
+  $(INCDIR)/hashtab.h \
+  $(INCDIR)/libiberty.h \
+  $(INCDIR)/objalloc.h \
+  $(INCDIR)/safe-ctype.h \
+  elf-bfd.h
 elf-m10200.lo: \
   elf-m10200.c \
   $(INCDIR)/bfdlink.h \
@@ -2337,6 +2351,7 @@ elf32-i386.lo: \
   $(INCDIR)/elf/reloc-macros.h \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
+  $(INCDIR)/objalloc.h \
   bfd_stdint.h \
   elf-bfd.h \
   elf-vxworks.h \
@@ -3841,6 +3856,7 @@ elf64-x86-64.lo: \
   $(INCDIR)/elf/x86-64.h \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
+  $(INCDIR)/objalloc.h \
   bfd_stdint.h \
   elf-bfd.h \
   elf64-target.h
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 911d019..45e184a 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -521,6 +521,7 @@ BFD32_BACKENDS = \
 	ecofflink.lo \
 	elf-attrs.lo \
 	elf-eh-frame.lo \
+	elf-ifunc.lo \
 	elf-m10200.lo \
 	elf-m10300.lo \
 	elf-strtab.lo \
@@ -703,6 +704,7 @@ BFD32_BACKENDS_CFILES = \
 	ecofflink.c \
 	elf-attrs.c \
 	elf-eh-frame.c \
+	elf-ifunc.c \
 	elf-m10200.c \
 	elf-m10300.c \
 	elf-strtab.c \
@@ -1019,15 +1021,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__confi
 	@for dep in $?; do \
 	  case '$(am__configure_deps)' in \
 	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
-	      cd $(srcdir) && $(AUTOMAKE) --foreign  \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
+	      cd $(srcdir) && $(AUTOMAKE) --cygnus  \
 		&& exit 0; \
 	      exit 1;; \
 	  esac; \
 	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus  Makefile'; \
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign  Makefile
+	  $(AUTOMAKE) --cygnus  Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \
@@ -2647,6 +2649,18 @@ elf-eh-frame.lo: \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
   elf-bfd.h
+elf-ifunc.lo: \
+  elf-ifunc.c \
+  $(INCDIR)/bfdlink.h \
+  $(INCDIR)/elf/common.h \
+  $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/internal.h \
+  $(INCDIR)/filenames.h \
+  $(INCDIR)/hashtab.h \
+  $(INCDIR)/libiberty.h \
+  $(INCDIR)/objalloc.h \
+  $(INCDIR)/safe-ctype.h \
+  elf-bfd.h
 elf-m10200.lo: \
   elf-m10200.c \
   $(INCDIR)/bfdlink.h \
@@ -2938,6 +2952,7 @@ elf32-i386.lo: \
   $(INCDIR)/elf/reloc-macros.h \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
+  $(INCDIR)/objalloc.h \
   bfd_stdint.h \
   elf-bfd.h \
   elf-vxworks.h \
@@ -4442,6 +4457,7 @@ elf64-x86-64.lo: \
   $(INCDIR)/elf/x86-64.h \
   $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h \
+  $(INCDIR)/objalloc.h \
   bfd_stdint.h \
   elf-bfd.h \
   elf64-target.h
diff --git a/bfd/configure b/bfd/configure
index 0e3a02a..c3ef346 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12147,7 +12147,7 @@ bfd_default_target_size=32
 
 # host stuff:
 
-ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id"
+ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru"
 # If we haven't got the data from the intl directory,
 # assume NLS is disabled.
 USE_NLS=no
@@ -20942,7 +20942,8 @@ selarchs="$f"
 # Target backend .o files.
 tb=
 
-elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
+elf="elf.lo elflink.lo elf-attrs.lo elf-ifunc.lo elf-strtab.lo
+     elf-eh-frame.lo dwarf1.lo"
 
 for vec in $selvecs
 do
diff --git a/bfd/configure.in b/bfd/configure.in
index 0b446e2..146785e 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -143,7 +143,7 @@ bfd_default_target_size=32
 
 # host stuff:
 
-ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id"
+ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru"
 ZW_GNU_GETTEXT_SISTER_DIR
 AM_PO_SUBDIRS
 
@@ -639,7 +639,8 @@ selarchs="$f"
 # Target backend .o files.
 tb=
 
-elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
+elf="elf.lo elflink.lo elf-attrs.lo elf-ifunc.lo elf-strtab.lo
+     elf-eh-frame.lo dwarf1.lo"
 
 for vec in $selvecs
 do
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 610aafc..b81f009 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -457,6 +457,17 @@ struct elf_link_hash_table
 
   /* A linked list of BFD's loaded in the link.  */
   struct elf_link_loaded_list *loaded;
+
+  /* Short-cuts to get to dynamic linker sections.  */
+  asection *sgot;
+  asection *sgotplt;
+  asection *srelgot;
+  asection *splt;
+  asection *srelplt;
+  asection *igotplt;
+  asection *iplt;
+  asection *irelplt;
+  asection *irelifunc;
 };
 
 /* Look up an entry in an ELF linker hash table.  */
@@ -2152,6 +2163,12 @@ extern bfd_boolean _bfd_elf_create_ifunc_sections
 /* Large common section.  */


hooks/post-receive
--
Repository for Project Archer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]