OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agomerge from gcc
DJ Delorie [Fri, 22 Sep 2006 19:19:32 +0000 (19:19 +0000)]
merge from gcc

17 years ago * remote.c (remote_write_bytes_aux): Doc fix.
Daniel Jacobowitz [Fri, 22 Sep 2006 13:50:36 +0000 (13:50 +0000)]
* remote.c (remote_write_bytes_aux): Doc fix.

17 years ago * elfcode.h (elf_swap_symbol_in): Return bfd_boolean. Don't abort
Alan Modra [Fri, 22 Sep 2006 13:16:45 +0000 (13:16 +0000)]
* elfcode.h (elf_swap_symbol_in): Return bfd_boolean.  Don't abort
on error.
* elf-bfd.h (elf_size_info <swap_symbol_in>): Adjust decl.
(bfd_elf32_swap_symbol_in, bfd_elf64_swap_symbol_in): Likewise.
* elf.c (bfd_elf_get_elf_syms): Test return of swap_symbol_in,
and report error.
* elf32-arm.c (elf32_arm_swap_symbol_in): Return bfd_boolean.

17 years ago*** empty log message ***
gdbadmin [Fri, 22 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 21 Sep 2006 23:59:38 +0000 (23:59 +0000)]
daily update

17 years ago * remote-utils.c (try_rle): New function.
Daniel Jacobowitz [Thu, 21 Sep 2006 16:09:54 +0000 (16:09 +0000)]
* remote-utils.c (try_rle): New function.
(putpkt_binary): Use it.

17 years ago * gdb.texinfo (Packets): Document vFlashErase,
Daniel Jacobowitz [Thu, 21 Sep 2006 14:01:12 +0000 (14:01 +0000)]
* gdb.texinfo (Packets): Document vFlashErase,
vFlashWrite and vFlashDone packets.
(General Query Packets): Document qXfer:memory-map:read.
Add a new feature for qXfer:memory-map:read.
(Memory map format): New section.
(Target Commands): Mention that gdb can write flash.

17 years ago * Makefile.in (SFILES): Add target-memory.c.
Daniel Jacobowitz [Thu, 21 Sep 2006 14:00:53 +0000 (14:00 +0000)]
* Makefile.in (SFILES): Add target-memory.c.
(COMMON_OBS): Add target-memory.o.
* memattr.c (lookup_mem_region): Adjust handling for
the top of memory.  Improve comments.
* remote.c (packet_check_result): New function, split out
from packet_ok.  Recognize "E." as an error prefix.
(packet_ok): Use it.
(remote_write_bytes_aux): New function, renamed from
remote_write_bytes.  Take packet header, packet format,
and length flag as arguments.
(remote_write_bytes): Rewrite to use remote_write_bytes_aux.
(remote_send_printf, restore_remote_timeout)
(remote_flash_timeout, remote_flash_erase, remote_flash_write)
(remote_flash_done): New.
(remote_xfer_partial): Handle flash writes.
(init_remote_ops, init_remote_async_ops): Set to_flash_erase
and to_flash_done.
* symfile.c (struct load_section_data): Include a pointer to
the cumulative stats and a request queue.  Move most members
to other types.
(struct load_progress_data, struct load_progress_section_data): New
types.
(load_progress): Handle a NULL baton and zero bytes.  Update for
type changes.
(load_section_callback): Create memory write requests instead of
writing to memory.  Don't print the progress message here.
(clear_memory_write_data): New function.
(generic_load): Use target_write_memory_blocks.
* target-memory.c: New file.
* target.c (update_current_target): Mention new uninherited methods.
(memory_xfer_partial): Issue an error for flash writes.
(target_flash_erase, target_flash_done): New functions.
(target_write_with_progress): Call the progress callback at the
start also.
* target.h (enum target_object): Add TARGET_OBJECT_FLASH.
(target_write_with_progress): Update comment.
(struct target_ops): Add to_flash_erase and to_flash_done.
(target_flash_erase, target_flash_done, struct memory_write_request)
(memory_write_request_s, enum flash_preserve_mode)
(target_write_memory_blocks): New, including a vector type
for memory_write_request_s.

17 years agogdb/
Daniel Jacobowitz [Thu, 21 Sep 2006 13:54:03 +0000 (13:54 +0000)]
gdb/
2006-09-21  Vladimir Prus  <vladimir@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Nathan Sidwell  <nathan@codesourcery.com>

* Makefile.in (SFILES): Add memory-map.c and xml-support.c.
(memory_map_h, xml_support_h): New.
(target_h): Add vec_h dependency.
(COMMON_OBS): Add memory-map.o and xml-support.o.
(memory-map.o, xml-support.o): New rules.
(remote.o): Update.
* exceptions.h (enum errors): Add XML_PARSE_ERROR.
* infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
* memattr.c (default_mem_attrib): Initialize blocksize.
(target_mem_region_list, mem_use_target)
(target_mem_regions_valid, mem_region_cmp, mem_region_init)
(require_user_regions, require_target_regions)
(invalidate_target_mem_regions): New.
(create_mem_region): Use mem_region_init.
(mem_clear): Move higher.
(lookup_mem_region): Use require_target_regions.
(mem_command): Implement "mem auto".
(mem_info_command): Handle target-supplied regions and flash
attributes.
(mem_enable_command, mem_disable_command, mem_delete_command): Use
require_user_regions.
(_initialize_mem): Mention "mem auto" in help.
* memattr.h (enum mem_access_mode): Add MEM_FLASH.
(struct mem_attrib): Add blocksize.
(invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
prototypes.
* remote.c: Include "memory-map.h".
(PACKET_qXfer_memory_map): New enum value.
(remote_protocol_features): Add qXfer:memory-map:read.
(remote_xfer_partial): Handle memory maps.
(remote_memory_map): New.
(init_remote_ops, init_remote_async_ops): Set to_memory_map.
(_initialize_remote): Register qXfer:memory-map:read.
* target.c (update_current_target): Mention to_memory_map.
(target_memory_map, target_pre_inferior): New.
(target_preopen): Call target_pre_inferior.
* target.h: Include "vec.h".
(enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
(struct target_ops): Add to_memory_map.
(target_memory_map, target_pre_inferior): New prototypes.
* memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
gdb/doc/
2006-09-21  Vladimir Prus  <vladimir@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdb.texinfo (Memory Region Attributes): Mention target-supplied
memory regions and "mem auto".

17 years ago * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
Daniel Jacobowitz [Thu, 21 Sep 2006 13:50:51 +0000 (13:50 +0000)]
* ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): Moved to ...
* utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): ... here.  Enhanced to behave more similarly
to strtoul.
* defs.h (strtoulst): New prototype.

17 years ago * Makefile.in (memattr_h, memattr.o): Update.
Daniel Jacobowitz [Thu, 21 Sep 2006 13:48:29 +0000 (13:48 +0000)]
* Makefile.in (memattr_h, memattr.o): Update.
* memattr.h: Include "vec.h".
(struct mem_region): Remove linked list pointer.
(mem_region_s): New typedef and corresponding vector.
* memattr.c: Include "vec.h".
(mem_region_chain): Delete.
(mem_region_list): New vector pointer.
(mem_region_lessthan): New function.
(create_mem_region): Remove unused return value.  Use vector
operations.  Remove linear search.
(delete_mem_region): Delete.
(lookup_mem_region): Use vector operations.  Add a FIXME.
(mem_info_command): Update to work with vectors.
(mem_enable, mem_enable_command, mem_disable, mem_disable_command)
(mem_free, mem_delete): Likewise.

17 years ago2006-09-21 Nathan Sidwell <nathan@codesourcery.com>
Daniel Jacobowitz [Thu, 21 Sep 2006 13:47:56 +0000 (13:47 +0000)]
2006-09-21  Nathan Sidwell  <nathan@codesourcery.com>
gdb/
* vec.h: New file.
* vec.c: New file.
* Makefile.in (SFILES): Add vec.c.
(vec_h): New.
(COMMON_OBJS): Add vec.o.
(vec.o): New target.
gdb/doc/
* gdbint.texinfo (Array Containers): New section.

17 years agoFix identity in ChangeLog.
Michael Snyder [Thu, 21 Sep 2006 00:03:43 +0000 (00:03 +0000)]
Fix identity in ChangeLog.

17 years ago*** empty log message ***
gdbadmin [Thu, 21 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 20 Sep 2006 23:59:40 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-20 Michael Snyder <michael.snyder@localhost.localdomain>
Michael Snyder [Wed, 20 Sep 2006 22:56:34 +0000 (22:56 +0000)]
2006-09-20  Michael Snyder  <michael.snyder@localhost.localdomain>

* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
Remove unused / obsolete files.

17 years ago PR remote/2154
Daniel Jacobowitz [Wed, 20 Sep 2006 19:13:02 +0000 (19:13 +0000)]
PR remote/2154
* remote.c (remote_thread_alive): Remove local buf.
(remote_get_threadinfo): Remove local threadinfo_pkt.
(remote_get_threadlist): Remove unused threadlist_packet.
(remote_current_thread): Remove local buf.
(remote_threads_info): Set bufp after getpkt.
(remote_threads_extra_info): Remove local bufp.
(get_offsets): Set buf after getpkt.
(remote_check_symbols): Set reply after getpkt.
(remote_vcont_probe): Set buf after getpkt.
(remote_resume): Set buf after set_thread.
(remote_wait, remote_async_wait): Set buf after getpkt.
(fetch_register_using_p): Set buf after remote_send.
(remote_fetch_registers): Likewise.
(store_register_using_P): Don't use buf after remote_send.
(check_binary_download, remote_write_bytes)
(remote_read_bytes, remote_rcmd): Remove local buf.

17 years ago * elf32-s390.c (elf_s390_relocate_section): Remove check for code
Martin Schwidefsky [Wed, 20 Sep 2006 14:38:17 +0000 (14:38 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Remove check for code
section in LD to LE linker relaxation for R_390_TLS_LDO32.
* elf64-s390.c (elf_s390_relocate_section): Likewise for
R_390_TLS_LDO64.

17 years ago * configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
Thiemo Seufer [Wed, 20 Sep 2006 12:33:49 +0000 (12:33 +0000)]
* configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*.
* configure: Regenerate.

17 years agoAdd x86_64-mingw64 target
Nick Clifton [Wed, 20 Sep 2006 11:35:11 +0000 (11:35 +0000)]
Add x86_64-mingw64 target

17 years ago*** empty log message ***
gdbadmin [Wed, 20 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 19 Sep 2006 23:59:41 +0000 (23:59 +0000)]
daily update

17 years ago * Makefile.in: Change all instances of configure.in to refer to
Keith Seitz [Tue, 19 Sep 2006 19:14:32 +0000 (19:14 +0000)]
    * Makefile.in: Change all instances of configure.in to refer to
        configure.ac.

17 years ago From Andrew Stubbs <andrew.stubbs@st.com>:
Keith Seitz [Tue, 19 Sep 2006 18:39:38 +0000 (18:39 +0000)]
    From Andrew Stubbs  <andrew.stubbs@st.com>:
        * library/prefs.tcl (pref_save): Save preferences if
        INSIGHT_FORCE_READ_PREFERENCES is set in the environment.

17 years ago*** empty log message ***
gdbadmin [Tue, 19 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 18 Sep 2006 23:59:42 +0000 (23:59 +0000)]
daily update

17 years agoInclude __kernel_vsyscall in regexp.
Nick Roberts [Mon, 18 Sep 2006 21:17:07 +0000 (21:17 +0000)]
Include __kernel_vsyscall in regexp.

17 years ago*** empty log message ***
Nick Roberts [Mon, 18 Sep 2006 21:16:42 +0000 (21:16 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Mon, 18 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 17 Sep 2006 23:59:41 +0000 (23:59 +0000)]
daily update

17 years ago * elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
Hans-Peter Nilsson [Sun, 17 Sep 2006 18:57:43 +0000 (18:57 +0000)]
* elf.c (special_sections_s): Revert last STRING_COMMA_LEN change
for .stabstr entry, explain why.

17 years agoFix grammar.
Vladimir Prus [Sun, 17 Sep 2006 17:05:27 +0000 (17:05 +0000)]
Fix grammar.

17 years ago * gdb.texinfo (GDB/MI Stack Manipulation): Mention that
Vladimir Prus [Sun, 17 Sep 2006 17:03:51 +0000 (17:03 +0000)]
* gdb.texinfo (GDB/MI Stack Manipulation): Mention that
-stack-list-arguments HIGH_FRAME argument can be larger then the
actual number of frames.

17 years ago * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
Vladimir Prus [Sun, 17 Sep 2006 15:49:32 +0000 (15:49 +0000)]
* gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
HIGH_FRAME argument to -stack-list-arguments can be larger than
        the number of frames.

17 years agoFix grammar
Vladimir Prus [Sun, 17 Sep 2006 15:48:34 +0000 (15:48 +0000)]
Fix grammar

17 years ago * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
Vladimir Prus [Sun, 17 Sep 2006 15:45:50 +0000 (15:45 +0000)]
* mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
if high requested frame number is larger then number of available
frames.

17 years agoFix typo in use of CONST_STRNEQ
Nick Clifton [Sun, 17 Sep 2006 14:38:51 +0000 (14:38 +0000)]
Fix typo in use of CONST_STRNEQ

17 years ago * dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
Alan Modra [Sun, 17 Sep 2006 02:44:38 +0000 (02:44 +0000)]
* dwarf2.c (concat_filename): Apply DW_AT_comp_dir if dir table
entry isn't absolute.

17 years ago*** empty log message ***
gdbadmin [Sun, 17 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 16 Sep 2006 23:59:43 +0000 (23:59 +0000)]
daily update

17 years agoAdd support for Score target.
Nick Clifton [Sat, 16 Sep 2006 23:51:50 +0000 (23:51 +0000)]
Add support for Score target.

17 years ago* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its
Nick Clifton [Sat, 16 Sep 2006 18:12:17 +0000 (18:12 +0000)]
* bfd-in.h (STRING_AND_COMMA): New macro.  Takes one constant string as its
  argument and emits the string followed by a comma and then the length of
  the string.
  (CONST_STRNEQ): New macro.  Checks to see if a variable string has a constant
  string as its initial characters.
  (CONST_STRNCPY): New macro.  Copies a constant string to the start of a
  variable string.
* bfd-in2.h: Regenerate.
* <remainign files>: Make use of the new macros.

17 years ago(linux_test_for_tracefork): Don't leave zombie
Nick Roberts [Sat, 16 Sep 2006 09:48:12 +0000 (09:48 +0000)]
(linux_test_for_tracefork): Don't leave zombie
process.

17 years ago*** empty log message ***
Nick Roberts [Sat, 16 Sep 2006 09:47:42 +0000 (09:47 +0000)]
*** empty log message ***

17 years ago2006-09-16 Andrzej Zaborowski <balrog@zabor.org>
Daniel Jacobowitz [Sat, 16 Sep 2006 04:10:41 +0000 (04:10 +0000)]
2006-09-16  Andrzej Zaborowski  <balrog@zabor.org>

* interps.c (interpreter_exec_cmd): Restore interpreter properties.

17 years ago*** empty log message ***
gdbadmin [Sat, 16 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 15 Sep 2006 23:59:44 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.base/args.c (main): Add breakpoint marker.
Daniel Jacobowitz [Fri, 15 Sep 2006 20:06:42 +0000 (20:06 +0000)]
* gdb.base/args.c (main): Add breakpoint marker.
* gdb.base/args.exp: Use args_test for tests.  Add new tests which
really test empty arguments.
(args_load): Delete.
(args_test): New.

17 years ago*** empty log message ***
gdbadmin [Fri, 15 Sep 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 14 Sep 2006 23:59:47 +0000 (23:59 +0000)]
daily update

17 years agoGrr. Another update
Keith Seitz [Thu, 14 Sep 2006 17:40:01 +0000 (17:40 +0000)]
Grr. Another update

17 years ago * README: Update startup info and add DISPLAY environment
Keith Seitz [Thu, 14 Sep 2006 17:33:41 +0000 (17:33 +0000)]
    * README: Update startup info and add DISPLAY environment
        variable.

17 years ago PR 3182
Alan Modra [Thu, 14 Sep 2006 12:11:33 +0000 (12:11 +0000)]
PR 3182
* elf.c (_bfd_elf_copy_private_header_data): Fix group members
that have had their SHT_GROUP section removed.
* objcopy.c (group_signature): New function, split out from..
(setup_section): ..here.
(is_strip_section): Return true for SHT_GROUP sections that are
going to lose their group signature symbol.

17 years ago*** empty log message ***
gdbadmin [Thu, 14 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 13 Sep 2006 23:59:49 +0000 (23:59 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Wed, 13 Sep 2006 22:07:31 +0000 (22:07 +0000)]
merge from gcc

17 years ago*** empty log message ***
gdbadmin [Wed, 13 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 12 Sep 2006 23:59:45 +0000 (23:59 +0000)]
daily update

17 years agobfd/
H.J. Lu [Tue, 12 Sep 2006 22:10:31 +0000 (22:10 +0000)]
bfd/

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

PR ld/3197
* elflink.c (elf_link_output_extsym): Compute bucket only if
needed.

ld/testsuite/

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

PR ld/3197
* ld-elf/hash.d: New test.

17 years ago(test_file_list_exec_source_files): Just
Nick Roberts [Tue, 12 Sep 2006 20:11:42 +0000 (20:11 +0000)]
(test_file_list_exec_source_files): Just
check for one file.

17 years ago*** empty log message ***
Nick Roberts [Tue, 12 Sep 2006 20:11:22 +0000 (20:11 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 12 Sep 2006 01:34:11 +0000 (01:34 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 12 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Mon, 11 Sep 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 10 Sep 2006 23:59:51 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 10 Sep 2006 23:51:09 +0000 (23:51 +0000)]
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.".

17 years ago PR threads/2149
Daniel Jacobowitz [Sun, 10 Sep 2006 16:21:03 +0000 (16:21 +0000)]
PR threads/2149
* infrun.c (handle_inferior_event): Context switch after fork
and exec events.

17 years ago * infcall.c (call_function_by_hand): Check for function pointer
Daniel Jacobowitz [Sun, 10 Sep 2006 15:44:36 +0000 (15:44 +0000)]
* infcall.c (call_function_by_hand): Check for function pointer
types.

17 years ago*** empty log message ***
gdbadmin [Sun, 10 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 9 Sep 2006 23:59:51 +0000 (23:59 +0000)]
daily update

17 years ago * m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
Andreas Schwab [Sat, 9 Sep 2006 23:07:32 +0000 (23:07 +0000)]
* m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
`move.l %R,-(%sp)'.

17 years ago*** empty log message ***
gdbadmin [Sat, 9 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 8 Sep 2006 23:59:52 +0000 (23:59 +0000)]
daily update

17 years ago2006-09-08 Vladimir Prus <vladimir@codesourcery.com>
Richard Earnshaw [Fri, 8 Sep 2006 10:30:27 +0000 (10:30 +0000)]
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.

17 years ago*** empty log message ***
gdbadmin [Fri, 8 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 7 Sep 2006 23:59:54 +0000 (23:59 +0000)]
daily update

17 years agobfd/
H.J. Lu [Thu, 7 Sep 2006 17:16:31 +0000 (17:16 +0000)]
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.

17 years agoAllow the HIGH-FRAME parameter for -stack-list-frames to be larger
Vladimir Prus [Thu, 7 Sep 2006 16:40:19 +0000 (16:40 +0000)]
Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
than the number of available frames.

17 years ago From Stephan Springl <springl-gdb@bfw-online.de>
Joel Brobecker [Thu, 7 Sep 2006 16:22:57 +0000 (16:22 +0000)]
    From Stephan Springl  <springl-gdb@bfw-online.de>
        * fork-child.c (fork_inferior): Fix typo.

17 years ago*** empty log message ***
gdbadmin [Thu, 7 Sep 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 6 Sep 2006 23:59:54 +0000 (23:59 +0000)]
daily update

17 years agodaily update
Alan Modra [Wed, 6 Sep 2006 00:00:12 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 6 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2006-09-05 Bibo Mao <bibo.mao@intel.com>
H.J. Lu [Tue, 5 Sep 2006 18:56:50 +0000 (18:56 +0000)]
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.

17 years ago * gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
Bob Wilson [Tue, 5 Sep 2006 17:45:53 +0000 (17:45 +0000)]
* gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
Register Packet Format, Tracepoint Packets): Fix spelling errors.

17 years ago2006-09-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 14:07:22 +0000 (14:07 +0000)]
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.

17 years ago*** empty log message ***
gdbadmin [Tue, 5 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 4 Sep 2006 23:59:55 +0000 (23:59 +0000)]
daily update

17 years ago bfd/
Mark Shinwell [Mon, 4 Sep 2006 07:11:11 +0000 (07:11 +0000)]
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.

17 years ago*** empty log message ***
gdbadmin [Mon, 4 Sep 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 3 Sep 2006 23:59:56 +0000 (23:59 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 3 Sep 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 2 Sep 2006 23:59:57 +0000 (23:59 +0000)]
daily update

17 years ago * gdbint.texinfo (Overall Structure): New section "Source Tree
Eli Zaretskii [Sat, 2 Sep 2006 15:27:16 +0000 (15:27 +0000)]
* gdbint.texinfo (Overall Structure): New section "Source Tree
Structure".

17 years ago*** empty log message ***
gdbadmin [Sat, 2 Sep 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 2 Sep 2006 00:00:00 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 1 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 31 Aug 2006 23:59:58 +0000 (23:59 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 31 Aug 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 31 Aug 2006 00:00:03 +0000 (00:00 +0000)]
daily update