binutils-gdb.git
18 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".

18 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.

18 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.

18 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.

18 years ago * ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
Andreas Schwab [Thu, 21 Sep 2006 09:41:34 +0000 (09:41 +0000)]
* ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
hosts.

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

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

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

18 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.

18 years ago * doc/as.texinfo: Fix cross reference usage, typos and grammar.
Bob Wilson [Wed, 20 Sep 2006 21:25:10 +0000 (21:25 +0000)]
    * doc/as.texinfo: Fix cross reference usage, typos and grammar.
        (Overview): Skip cross reference in man page.

18 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.

18 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.

18 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.

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

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

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

18 years ago * gas/bfin/load.s, gas/bfin/load.d: Add constant folding tests.
Bernd Schmidt [Tue, 19 Sep 2006 09:27:31 +0000 (09:27 +0000)]
* gas/bfin/load.s, gas/bfin/load.d: Add constant folding tests.

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

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

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

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

18 years ago * config/bfin-parse.y (binary): Change sub of const to add of negated
Bernd Schmidt [Mon, 18 Sep 2006 20:13:23 +0000 (20:13 +0000)]
* config/bfin-parse.y (binary): Change sub of const to add of negated
const.

18 years ago * ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
Thiemo Seufer [Mon, 18 Sep 2006 18:21:42 +0000 (18:21 +0000)]
* ld-mips-elf/mips-elf.exp: Add test for R_MIPS16_GPREL relocations.
* ld-mips-elf/reloc-3-n32.d, ld-mips-elf/reloc-3.d: New files.

18 years ago * ld-elfcomm/elfcomm.exp: Enable the alignment test for
Thiemo Seufer [Mon, 18 Sep 2006 14:41:10 +0000 (14:41 +0000)]
* ld-elfcomm/elfcomm.exp: Enable the alignment test for
mips*-*-*.

18 years ago * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
Thiemo Seufer [Mon, 18 Sep 2006 13:18:44 +0000 (13:18 +0000)]
* configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
configurations.

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

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

18 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.

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

18 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.

18 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.

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

18 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.

18 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

18 years agoAdd Score test files
Nick Clifton [Sun, 17 Sep 2006 14:24:56 +0000 (14:24 +0000)]
Add Score test files

18 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.

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

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

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

18 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.

18 years ago2006-09-16 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 16 Sep 2006 16:24:28 +0000 (16:24 +0000)]
2006-09-16  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
* doc/c-arm.texi (movsp): Document offset argument.

gas/testsuite/
* gas/arm/unwind.s: Test two argument form of .movsp.
* gas/arm/unwind.d: Update expected output.
* gas/arm/unwind_vxworks.d: Ditto.

18 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.

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

18 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.

18 years ago2006-09-16 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 16 Sep 2006 00:55:33 +0000 (00:55 +0000)]
2006-09-16  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (thumb32_negate_data_op): Consistently use
unsigned int to avoid 64-bit host problems.

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

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

18 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.

18 years ago * config/bfin-parse.y (binary): Do some more constant folding for
Bernd Schmidt [Fri, 15 Sep 2006 17:02:35 +0000 (17:02 +0000)]
* config/bfin-parse.y (binary): Do some more constant folding for
additions.

18 years ago2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 15 Sep 2006 16:19:33 +0000 (16:19 +0000)]
2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/overlay-size.t: Discard .reginfo sections.

18 years ago2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 15 Sep 2006 14:55:42 +0000 (14:55 +0000)]
2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/hash.d: Don't run for mips targets.

18 years ago2006-09-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 15 Sep 2006 14:48:46 +0000 (14:48 +0000)]
2006-09-15  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/loadaddr.s: Pad sections to 16 bytes.
* ld-elf/loadaddr1.d: Updated.
* ld-elf/loadaddr2.d: Likewise.
* ld-elf/loadaddr3a.d: Likewise.
* ld-elf/loadaddr3b.d: Likewise.

18 years agoPR ld/3107
Nick Clifton [Fri, 15 Sep 2006 09:48:58 +0000 (09:48 +0000)]
PR ld/3107
* ldlang.c (lang_size_sections_1): Do not abort when encountering a non-empty
  section that is ignored.  Instead produce a warning message.

18 years agoFix PR references.
H.J. Lu [Fri, 15 Sep 2006 00:12:32 +0000 (00:12 +0000)]
Fix PR references.

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

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

18 years agobinutils/
H.J. Lu [Thu, 14 Sep 2006 23:37:35 +0000 (23:37 +0000)]
binutils/

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

PR binutils/3182
* objcopy.c (group_signature): Return proper group signature.

binutils/testsuite/

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

PR binutils/3182
* binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF
targets.

* binutils-all/strip-1.d: New file.
* binutils-all/strip-2.d: Likewise.

* lib/utils-lib.exp (run_dump_test): Support strip.

18 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.

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

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

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

18 years ago PR 3182
Alan Modra [Wed, 13 Sep 2006 15:08:38 +0000 (15:08 +0000)]
PR 3182
* objcopy.c (copy_object): Load symbols earlier.
(setup_section): Mark group signature symbols with BSF_KEEP.

18 years ago2006-09-13 Jan Beulich <jbeulich@novell.com>
Jan Beulich [Wed, 13 Sep 2006 10:15:59 +0000 (10:15 +0000)]
2006-09-13  Jan Beulich  <jbeulich@novell.com>

* input-file.c (input_file_give_next_buffer): Demote as_bad to
as_warn.

18 years ago PR gas/3165
Alan Modra [Wed, 13 Sep 2006 00:46:09 +0000 (00:46 +0000)]
PR gas/3165
* config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
in parens.

18 years ago * input-file.h: Update comment.
Alan Modra [Wed, 13 Sep 2006 00:00:40 +0000 (00:00 +0000)]
* input-file.h: Update comment.

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

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

18 years ago * input-file.c (input_file_open): Replace as_perror with as_bad
Alan Modra [Tue, 12 Sep 2006 23:57:26 +0000 (23:57 +0000)]
* input-file.c (input_file_open): Replace as_perror with as_bad
so that gas exits with error on file errors.  Correct error
message.
(input_file_get, input_file_give_next_buffer): Likewise.

18 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.

18 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.

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

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

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

18 years agoPR binutils/3110
Nick Clifton [Mon, 11 Sep 2006 14:40:39 +0000 (14:40 +0000)]
PR binutils/3110
* objcopy.c (copy_archive): Add new parameter: force_output_target. If not
  true, then perserve the file formats of each copied archive element,
  otherwise force them to be one specific file format.
  (copy_file): Compute force_output_target parameter to pass to copy_archive.

18 years agoPR gas/3172
Nick Clifton [Mon, 11 Sep 2006 14:27:32 +0000 (14:27 +0000)]
PR gas/3172
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers
  as a sub-class of wC registers.

18 years ago PR gas/3165
Alan Modra [Mon, 11 Sep 2006 02:32:50 +0000 (02:32 +0000)]
PR gas/3165
* config/tc-mips.h (enum dwarf2_format): Forward declare.
(DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
* config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.

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

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

18 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.".

18 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.

18 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.

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

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

18 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)'.

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

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

18 years ago * lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.
Kazu Hirata [Fri, 8 Sep 2006 17:08:05 +0000 (17:08 +0000)]
* lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.

18 years agoPR gas/3129
Nick Clifton [Fri, 8 Sep 2006 16:25:46 +0000 (16:25 +0000)]
PR gas/3129
* doc/as.texinfo (Macro): Improve documentation about separating macro arguments from following text.

18 years ago2006-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 8 Sep 2006 15:51:02 +0000 (15:51 +0000)]
2006-09-08  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.

gas/testsuite/
* gas/arm/arm-it.s: New test.
* gas/arm/arm-it.d: New test.

18 years ago2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 8 Sep 2006 13:43:54 +0000 (13:43 +0000)]
2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>

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

18 years ago2006-09-04 Vladimir Prus <vladimir@codesourcery.com>
Richard Earnshaw [Fri, 8 Sep 2006 10:32:28 +0000 (10:32 +0000)]
2006-09-04  Vladimir Prus  <vladimir@codesourcery.com>

* ld-arm/use-thumb-lib.sym: Use regexps instead of
absolute addresses, for robustness.

18 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.

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

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

18 years agoMore symbol resolution code.
Ian Lance Taylor [Thu, 7 Sep 2006 21:21:41 +0000 (21:21 +0000)]
More symbol resolution code.

18 years ago2006-09-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 7 Sep 2006 17:54:15 +0000 (17:54 +0000)]
2006-09-07  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_operands): Mark operand as present.

gas/testsuite/
* gas/arm/neon-omit.s: Test three-argument variants.
* gas/arm/neon-omit.d: Update expected output.

18 years agobfd/
H.J. Lu [Thu, 7 Sep 2006 17:16:34 +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.

18 years ago* emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
Nick Clifton [Thu, 7 Sep 2006 17:01:10 +0000 (17:01 +0000)]
* emulparams/h8300elf.sh: _tinydata should not be placed in relocatables.
* emulparams/h8300.sh: Likewise.
* emulparams/h8300sxelf.sh: Likewise.

18 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.

18 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.