platform/upstream/binutils.git
18 years ago * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
Ben Elliston [Thu, 26 Oct 2006 00:01:31 +0000 (00:01 +0000)]
* elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
from int to enum dynamic_lib_link_class lib_class.
* bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
* bfd-in2.h: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Thu, 26 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 25 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

18 years agogdb/ChangeLog:
Jim Blandy [Wed, 25 Oct 2006 21:26:41 +0000 (21:26 +0000)]
gdb/ChangeLog:
2006-10-25  Jim Blandy  <jimb@codesourcery.com>

* p-valprint.c (pascal_object_print_value): Add 'static' keyword
to function definition, to match declaration earlier in file.

18 years agoNew Cell SPU port.
Alan Modra [Wed, 25 Oct 2006 06:49:21 +0000 (06:49 +0000)]
New Cell SPU port.

18 years agomerge from gcc
DJ Delorie [Wed, 25 Oct 2006 01:42:44 +0000 (01:42 +0000)]
merge from gcc

18 years agomissed from last commit
Alan Modra [Wed, 25 Oct 2006 00:44:26 +0000 (00:44 +0000)]
missed from last commit

18 years ago*** empty log message ***
gdbadmin [Wed, 25 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 24 Oct 2006 23:59:05 +0000 (23:59 +0000)]
daily update

18 years ago*** empty log message ***
Nick Roberts [Tue, 24 Oct 2006 20:23:56 +0000 (20:23 +0000)]
*** empty log message ***

18 years ago * expr.c (expr): Replace O_add case in switch (op_left) explaining
Ben Elliston [Tue, 24 Oct 2006 18:10:57 +0000 (18:10 +0000)]
* expr.c (expr): Replace O_add case in switch (op_left) explaining
why it can never occur.

18 years ago * ld-powerpc/plt1.s: New.
Alan Modra [Tue, 24 Oct 2006 13:29:37 +0000 (13:29 +0000)]
* ld-powerpc/plt1.s: New.
* ld-powerpc/plt1.d: New.
* ld-powerpc/relbrlt.s: New.
* ld-powerpc/relbrlt.d: New.
* ld-powerpc/powerpc.exp: Run them.

18 years ago * lexsup.c (parse_args): Add a comment noting a fall-through.
Ben Elliston [Tue, 24 Oct 2006 03:35:49 +0000 (03:35 +0000)]
* lexsup.c (parse_args): Add a comment noting a fall-through.

18 years agoAdd powerpc cell support.
Alan Modra [Tue, 24 Oct 2006 01:27:29 +0000 (01:27 +0000)]
Add powerpc cell support.

18 years ago*** empty log message ***
gdbadmin [Tue, 24 Oct 2006 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years agoFix AMDFAM10 POPCNT instruction
Michael Meissner [Mon, 23 Oct 2006 22:53:29 +0000 (22:53 +0000)]
Fix AMDFAM10 POPCNT instruction

18 years ago2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 23 Oct 2006 16:44:17 +0000 (16:44 +0000)]
2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.

18 years ago * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
Alan Modra [Mon, 23 Oct 2006 03:30:02 +0000 (03:30 +0000)]
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
set section address on a relocatable link.

18 years agowrap overlong lines
Alan Modra [Mon, 23 Oct 2006 03:26:08 +0000 (03:26 +0000)]
wrap overlong lines

18 years ago * config/tc-m68hc11.c (md_assemble): Quiet warning.
Alan Modra [Mon, 23 Oct 2006 03:23:49 +0000 (03:23 +0000)]
* config/tc-m68hc11.c (md_assemble): Quiet warning.

18 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
Alan Modra [Mon, 23 Oct 2006 03:20:56 +0000 (03:20 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.

18 years ago * ld.texinfo (Output Section Discarding): Fix xref.
Alan Modra [Mon, 23 Oct 2006 03:09:35 +0000 (03:09 +0000)]
* ld.texinfo (Output Section Discarding): Fix xref.

18 years agomissed from 2006-10-19 commit.
Alan Modra [Mon, 23 Oct 2006 03:07:49 +0000 (03:07 +0000)]
missed from 2006-10-19 commit.

18 years ago * elf32-score.c: Formatting.
Alan Modra [Mon, 23 Oct 2006 02:41:11 +0000 (02:41 +0000)]
* elf32-score.c: Formatting.
(elf_backend_omit_section_dynsym): Define.
(score_elf_create_dynamic_relocation): Remove code copied from mips.
Don't use section syms in dynamic relocs.  Remove unused param.
(score_elf_final_link_relocate): Remove unused param.

18 years ago * linker.c (fix_syms): Choose best of previous and next
Alan Modra [Mon, 23 Oct 2006 02:35:38 +0000 (02:35 +0000)]
* linker.c (fix_syms): Choose best of previous and next
section based on section flags and vma.

18 years ago*** empty log message ***
gdbadmin [Mon, 23 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 22 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update

18 years ago * gas/sh/sh64/syntax-1.d: Update.
Kaz Kojima [Sun, 22 Oct 2006 01:19:06 +0000 (01:19 +0000)]
* gas/sh/sh64/syntax-1.d: Update.

* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd,
* ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd,
* ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd,
* ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd,
* ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd,
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd,
* ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.

18 years ago * emulparams/shelf32.sh: Set default stack to 0x80000.
Kaz Kojima [Sun, 22 Oct 2006 01:07:30 +0000 (01:07 +0000)]
* emulparams/shelf32.sh: Set default stack to 0x80000.
* emulparams/shelf64.sh: Likewise.

18 years ago * elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
Kaz Kojima [Sun, 22 Oct 2006 01:02:38 +0000 (01:02 +0000)]
* elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
only when the non visibility part of st_other is non-zero.
* elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.

18 years ago*** empty log message ***
gdbadmin [Sun, 22 Oct 2006 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 21 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update

18 years ago * callback.c: Include "xmalloc.h".
Ulrich Weigand [Sat, 21 Oct 2006 20:47:07 +0000 (20:47 +0000)]
* callback.c: Include "xmalloc.h".
* Makefile.in: Add dependency.

18 years ago2006-10-21 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 21 Oct 2006 17:59:08 +0000 (17:59 +0000)]
2006-10-21  Paul Brook  <paul@codesourcery.com>

* remote.c (remote_fetch_registers): Fix error message.

18 years ago gdb.texinfo (Source Annotations): Fix index entries by adding
Eli Zaretskii [Sat, 21 Oct 2006 13:06:04 +0000 (13:06 +0000)]
gdb.texinfo (Source Annotations): Fix index entries by adding
"annotation" to them, to discriminate from index entries that point
to the more general topic descriptions.

18 years ago(Breakpoints): Fix a typo.
Eli Zaretskii [Sat, 21 Oct 2006 12:54:18 +0000 (12:54 +0000)]
(Breakpoints): Fix a typo.

18 years ago * gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
Eli Zaretskii [Sat, 21 Oct 2006 12:50:16 +0000 (12:50 +0000)]
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
clarify on the possible meanings of ``expression'' watched by
watchpoints.  Add indexing.

18 years ago(Backtrace): Fix a typo.
Eli Zaretskii [Sat, 21 Oct 2006 12:20:59 +0000 (12:20 +0000)]
(Backtrace): Fix a typo.

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

18 years agodaily update
Alan Modra [Fri, 20 Oct 2006 23:59:12 +0000 (23:59 +0000)]
daily update

18 years ago * gcore.c (MAX_COPY_BYTES): Define.
Daniel Jacobowitz [Fri, 20 Oct 2006 22:06:28 +0000 (22:06 +0000)]
* gcore.c (MAX_COPY_BYTES): Define.
(gcore_copy_callback): Use it to limit allocation.

18 years agoFramework for relocation scanning. Implement simple static TLS
Ian Lance Taylor [Fri, 20 Oct 2006 20:40:49 +0000 (20:40 +0000)]
Framework for relocation scanning.  Implement simple static TLS
relocations.

18 years ago * ld-sh/tlsbin-1.d: Update.
Kaz Kojima [Fri, 20 Oct 2006 15:16:44 +0000 (15:16 +0000)]
* ld-sh/tlsbin-1.d: Update.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlstpoff-1.d: Likewise.

18 years ago2006-10-20 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 20 Oct 2006 14:47:05 +0000 (14:47 +0000)]
2006-10-20  Andrew Stubbs  <andrew.stubbs@st.com>

opcodes/

* sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB
duplicating it.

gas/testsuite/

* gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses).
* gas/sh/pcrel-hms.d: Likewise.
* gas/sh/pcrel.d: Likewise.
* gas/sh/pcrel2.d: Likewise.
* gas/sh/pic.d: Likewise.
* gas/sh/tlsd.d: Likewise.
* gas/sh/tlsdnopic.d: Likewise.
* gas/sh/tlsdpic.d: Likewise.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:59:44 +0000 (07:59 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
PT_DYNAMIC on GNU/Linux targets.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:58:17 +0000 (07:58 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
size of .rel.dyn reflect the value of DT_RELSZ.

ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove trailing R_MIPS_NONE entries.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.

18 years agobfd/
Richard Sandiford [Fri, 20 Oct 2006 07:57:03 +0000 (07:57 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
a PT_NULL header for dynamic objects.
(_bfd_mips_elf_modify_segment_map): Add it.

ld/testsuite/
* ld-mips-elf/multi-got-1.d: Do not expect a particular address
for DT_HASH.
* ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for
the extra program header.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the
extra program header.
* ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account
for the extra program header, and thus the shorter gap between the
text and data segments.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20
to account for the extra program header.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.

18 years agold/
Richard Sandiford [Fri, 20 Oct 2006 07:55:37 +0000 (07:55 +0000)]
ld/
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.

ld/testsuite/
* ld-mips-elf/rel32-o32.d: Bump the section number of .text by 1
to account for the fact that .rel.dyn is now before .text in the
section table.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

18 years ago * linux-thread-db.c (check_for_thread_db): Don't attempt to use
Ulrich Weigand [Fri, 20 Oct 2006 01:08:14 +0000 (01:08 +0000)]
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
thread_db for remote targets.
* remote.c (remote_new_objfile): Always call predecessor on
new_objfile event chain.

18 years ago2005-10-19 Ulrich Weigand <uweigand@de.ibm.com>
Ulrich Weigand [Fri, 20 Oct 2006 00:34:35 +0000 (00:34 +0000)]
2005-10-19  Ulrich Weigand  <uweigand@de.ibm.com>

        * configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
        and srv_linux_thread_db to yes.
        * linux-s390-low.c (s390_fill_gregset): New function.
        (target_regsets): Define data structure.

18 years ago* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
Mike Frysinger [Fri, 20 Oct 2006 00:32:43 +0000 (00:32 +0000)]
* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
(x86_64_section_letter): Likewise.

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

18 years agodaily update
Alan Modra [Thu, 19 Oct 2006 23:59:15 +0000 (23:59 +0000)]
daily update

18 years ago * solib.c (libpthread_solib_p): New function.
Joel Brobecker [Thu, 19 Oct 2006 19:58:23 +0000 (19:58 +0000)]
    * solib.c (libpthread_solib_p): New function.
        (solib_add): Always read the symbols from the libpthread library.

18 years ago2006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Thu, 19 Oct 2006 15:58:25 +0000 (15:58 +0000)]
2006-10-19  Andrew Stubbs  <andrew.stubbs@st.com>

* breakpoint.c (describe_other_breakpoints): Add thread parameter.
Annotate display with thread number where appropriate.
(create_breakpoints): Add thread parameter to call to
describe_other_breakpoints.

18 years agoFix score bugs
Nick Clifton [Thu, 19 Oct 2006 15:47:34 +0000 (15:47 +0000)]
Fix score bugs

18 years agobfd/
Richard Sandiford [Thu, 19 Oct 2006 13:47:10 +0000 (13:47 +0000)]
bfd/
* elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
same symbol by increasing r_offset.
(sort_dynamic_relocs_64): Likewise.  Fix comparisons between very
large and very small symbol indexes.

ld/testsuite/
* ld-mips-elf/tlslib-o32-hidden.got: Sort relocations against the
same symbol in order of increasing r_offset.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tls-hidden3.r: Likewise.
* ld-mips-elf/tls-hidden4.r: Likewise.

18 years agobfd/
Richard Sandiford [Thu, 19 Oct 2006 13:42:17 +0000 (13:42 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
and DT_MIPS_RLD_MAP tags for position-independent executables.
Do not add DT_DEBUG to shared libraries for any MIPS target.

ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag.  Do not require
a specific file offset for .dynamic.  Reduce DT_HASH by 8 to account
for removed tag.
* ld-mips-elf/tls-multi-got-1.r: Likewise.  Also reduce DT_REL by 8.
Reduce PLTGOT and symbol values by 16 to account for the removed tag.
* ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag.
* ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for
removed DT_DEBUG tag.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.

18 years agoTypos.
Andreas Schwab [Thu, 19 Oct 2006 09:23:10 +0000 (09:23 +0000)]
Typos.

18 years agobfd/
H.J. Lu [Thu, 19 Oct 2006 02:40:14 +0000 (02:40 +0000)]
bfd/

2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3290
* elflink.c (elf_link_add_object_symbols): Hide definitions in
debug sections.

ld/testsuite/

2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3290
* ld-elf/dummy.c: New file.
* ld-elf/dwarf.exp: Likewise.
* ld-elf/dwarf1.c: Likewise.
* ld-elf/dwarf1.h: Likewise.
* ld-elf/dwarf1.out: Likewise.
* ld-elf/dwarf1main.c: Likewise.

18 years agobfd/
Alan Modra [Thu, 19 Oct 2006 02:10:41 +0000 (02:10 +0000)]
bfd/
* elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
don't set, glue section size.
(record_arm_to_thumb_glue): Set glue section size here.
(record_thumb_to_arm_glue): Likewise.
(bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
(bfd_elf32_arm_process_before_allocation): Ignore exluded sections.

ld/
* emultempl/armelf.em (arm_elf_before_allocation): Run
gld${EMULATION_NAME}_before_allocation later.
* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.

18 years ago*** empty log message ***
gdbadmin [Thu, 19 Oct 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years ago2006-10-18 Roy Marples <uberlord@gentoo.org>
Mike Frysinger [Wed, 18 Oct 2006 23:58:52 +0000 (23:58 +0000)]
2006-10-18  Roy Marples  <uberlord@gentoo.org>

* bfd/elf64-sparc.c: Add FreeBSD support.
(elf64_sparc_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
* bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
* bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc
as a viable target for the -32 switch and any target starting with elf64-sparc as a
viable target for the -64 switch.
(sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64
while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT.
* gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.

18 years ago * utils.c (query): Use defaulted_query.
Daniel Jacobowitz [Wed, 18 Oct 2006 22:16:52 +0000 (22:16 +0000)]
* utils.c (query): Use defaulted_query.
(defaulted_query): Handle having no default answer.  Print out
messages even if we have no terminal.  Prevent memory corruption.

18 years ago * frame.c (struct frame_info): Add stop_reason.
Daniel Jacobowitz [Wed, 18 Oct 2006 19:52:05 +0000 (19:52 +0000)]
* frame.c (struct frame_info): Add stop_reason.
(get_prev_frame_1): Set stop_reason.  Don't call error for
stop reasons.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
* frame.h (enum unwind_stop_reason): New.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New
prototypes.
* stack.c (frame_info): Print the stop reason.
(backtrace_command_1): Print the stop reason for errors.

18 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 18 Oct 2006 18:18:26 +0000 (18:18 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * configure.in (BFD_MACHINES): Add cgen-bitset.lo for bfd_sh_arch.
        * configure: Regenerated.

18 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 18 Oct 2006 18:13:22 +0000 (18:13 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-06-14  Dave Brolley  <brolley@redhat.com>

        * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
        (sh64_fpref): New functions.
        * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
        (sh64_fpref): New functions.
        (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
        sh4a_nofpu and sh4al.
        (sh2e_mach): New MACH.
        (sh2a_fpu_mach): New MACH.
        (sh2a_nofpu_mach): New MACH.
        (sh4_nofpu): New MACH.
        (sh4a_mach): New MACH.
        (sh4a_nofpu_mach): New MACH.
        (sh4al_mach): New MACH.
        * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
        archfile to CGEN script.
        * arch.c: Regenerated.
        * arch.h: Regenerated.
        * cpu.c: Regenerated.
        * cpu.h: Regenerated.
        * cpuall.h: Regenerated.
        * decode-compact.c: Regenerated.
        * decode-compact.h: Regenerated.
        * decode-media.c: Regenerated.
        * decode-media.h: Regenerated.
        * defs-compact.h: Regenerated.
        * defs-media.h: Regenerated.
        * sem-compact-switch.c: Regenerated.
        * sem-compact.c: Regenerated.
        * sem-media-switch.c: Regenerated.
        * sem-media.c: Regenerated.
        * sh-desc.c: Regenerated.
        * sh-desc.h: Regenerated.
        * sh-opc.h: Regenerated.

18 years ago * gprof.c (main): Fix option string for -r and -R.
Bob Wilson [Wed, 18 Oct 2006 17:42:43 +0000 (17:42 +0000)]
* gprof.c (main): Fix option string for -r and -R.

18 years ago * inferior.h (start_remote): Update prototype.
Daniel Jacobowitz [Wed, 18 Oct 2006 16:56:13 +0000 (16:56 +0000)]
* inferior.h (start_remote): Update prototype.
* infrun.c (start_remote): Take FROM_TTY.  Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote.  Do not call
post_create_inferior here.

18 years ago * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
Daniel Jacobowitz [Wed, 18 Oct 2006 16:49:05 +0000 (16:49 +0000)]
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
of patterns.

18 years ago * configure.tgt (i[3-7]86-*-linux-*): Also define
Joseph Myers [Wed, 18 Oct 2006 16:24:01 +0000 (16:24 +0000)]
* configure.tgt (i[3-7]86-*-linux-*): Also define
targ_extra_libpath in want64 case.
* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
x86_64*-linux*.

18 years ago2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 18 Oct 2006 16:23:24 +0000 (16:23 +0000)]
2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl4.c: New file.
* ld-elf/dl4.list: Likewise.
* ld-elf/dl4a.out: Likewise.
* ld-elf/dl4b.out: Likewise.
* ld-elf/dl4main.c: Likewise.
* ld-elf/dl4xxx.c: Likewise.
* ld-elf/dl4xxx.list: Likewise.

* ld-elf/shared.exp (build_tests): Add libdl4a.so and
libdl4b.so.
(run_tests): Likewise.

18 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
Mark Shinwell [Wed, 18 Oct 2006 15:34:50 +0000 (15:34 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add support for
R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
R_ARM_THM_MOVT_BREL relocations.

18 years ago * solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
Daniel Jacobowitz [Wed, 18 Oct 2006 15:34:39 +0000 (15:34 +0000)]
* solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
(debug_loader_name, svr4_default_sos): New.
(svr4_current_sos): Call svr4_default_sos.
(enable_break): Add a comment about AT_BASE.  Set the new
variables and retry solib_add.
(svr4_clear_solib): Clear the new variables.

18 years ago * NEWS: Mention support for TLS without debugging information.
Daniel Jacobowitz [Wed, 18 Oct 2006 15:29:18 +0000 (15:29 +0000)]
* NEWS: Mention support for TLS without debugging information.

18 years agold/testsuite/
Richard Sandiford [Wed, 18 Oct 2006 13:02:01 +0000 (13:02 +0000)]
ld/testsuite/
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.

18 years agoFix typo in last changelog.
Richard Sandiford [Wed, 18 Oct 2006 12:38:26 +0000 (12:38 +0000)]
Fix typo in last changelog.

18 years agold/testsuite/
Richard Sandiford [Wed, 18 Oct 2006 12:34:19 +0000 (12:34 +0000)]
ld/testsuite/
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for
the fact that .reginfo is now placed before .text.  Change the
section number of .text accordingly.

18 years agold/testsuite/
Richard Sandiford [Wed, 18 Oct 2006 07:13:47 +0000 (07:13 +0000)]
ld/testsuite/
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
to 0x10000.  Move .reginfo before .text and bump .text addresses
by 0x10 to make room.  Move data segment down by 0x10 bytes to
account for new size of text segment.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from
0x100000 to 0x10000.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

18 years ago*** empty log message ***
gdbadmin [Wed, 18 Oct 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 17 Oct 2006 23:59:14 +0000 (23:59 +0000)]
daily update

18 years agogdb/
Daniel Jacobowitz [Tue, 17 Oct 2006 21:55:24 +0000 (21:55 +0000)]
gdb/
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets.  Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition.  Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers.  Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.

18 years ago * breakpoint.c (free_valchain): Minor reformatting.
Joel Brobecker [Tue, 17 Oct 2006 21:53:26 +0000 (21:53 +0000)]
    * breakpoint.c (free_valchain): Minor reformatting.

18 years ago * gdb.texinfo (ST2000): Use Ctrl- instead of C-.
Bob Wilson [Tue, 17 Oct 2006 21:08:17 +0000 (21:08 +0000)]
    * gdb.texinfo (ST2000): Use Ctrl- instead of C-.

18 years ago * solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
Daniel Jacobowitz [Tue, 17 Oct 2006 20:52:32 +0000 (20:52 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.

18 years agogdb/
Daniel Jacobowitz [Tue, 17 Oct 2006 20:17:45 +0000 (20:17 +0000)]
gdb/
* Makefile.in (symtab.o): Update.
* symtab.h (matching_bfd_section): New prototype.
* symtab.c (matching_bfd_section): New.
(find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
* printcmd.c (sym_info): Ignore separate debug objfiles.
gdb/testsuite/
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.

18 years ago * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
Bob Wilson [Tue, 17 Oct 2006 16:19:19 +0000 (16:19 +0000)]
    * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.

18 years ago * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
Daniel Jacobowitz [Tue, 17 Oct 2006 16:02:27 +0000 (16:02 +0000)]
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
* configure.ac: Use it.  Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.

18 years ago * gdb.threads/manythreads.c (thread_function, main): Don't cast
Daniel Jacobowitz [Tue, 17 Oct 2006 15:52:53 +0000 (15:52 +0000)]
* gdb.threads/manythreads.c (thread_function, main): Don't cast
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".

18 years ago bfd/
Mark Shinwell [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.

include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.

ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.

18 years ago * remote.c (remote_pid_to_str): Capitalize "Thread".
Daniel Jacobowitz [Tue, 17 Oct 2006 15:43:51 +0000 (15:43 +0000)]
* remote.c (remote_pid_to_str): Capitalize "Thread".

18 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
Mark Shinwell [Tue, 17 Oct 2006 14:49:51 +0000 (14:49 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.

18 years ago2006-10-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 17 Oct 2006 14:06:02 +0000 (14:06 +0000)]
2006-10-17  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

18 years ago * scripttempl/elf.sc (INTERP): Delete. Move definition to..
Alan Modra [Tue, 17 Oct 2006 13:55:11 +0000 (13:55 +0000)]
* scripttempl/elf.sc (INTERP): Delete.  Move definition to..
(INITIAL_READONLY_SECTIONS): ..here.
* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.

18 years agobfd/
Alan Modra [Tue, 17 Oct 2006 13:41:49 +0000 (13:41 +0000)]
bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
text_index_section and data_index_section.
(struct elf_backend_data): Add elf_backend_init_index_section.
(_bfd_elf_init_1_index_section): Declare.
(_bfd_elf_init_2_index_sections): Declare.
* elfxx-target.h (elf_backend_init_index_section): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
section and text_index_section plus data_index_section.
(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
(_bfd_elf_init_1_index_section): New function.
(_bfd_elf_init_2_index_sections): New function.
(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
(elf_link_input_bfd): When emitting relocs, use text_index_section
and data_index_section for removed sections.
* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
and data_index_section sym for relocs against sections with no dynamic
section sym.
(elf_backend_init_index_section): Define.
* elf32-cris.c: Similarly.
* elf32-hppa.c: Similarly.
* elf32-i370.c: Similarly.
* elf32-m68k.c: Similarly.
* elf32-mips.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-s390.c: Similarly.
* elf32-sparc.c: Similarly.
* elf32-vax.c: Similarly.
* elf64-mips.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-s390.c: Similarly.
* elf64-sparc.c: Similarly.
* elf64-x86-64.c: Similarly.
* elfn32-mips.c: Similarly.
* elfxx-mips.c: Similarly.
* elfxx-sparc.c: Similarly.
* linker.c (fix_syms): Base symbols in removed sections on
previous section in preference to using absolute section.

ld/
* ldlang.c (strip_excluded_output_sections): Do strip sections
that define syms, but don't ignore them.
* ld.texinfo (Output Section Discarding): Revise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
finish_default.

ld/testsuite/
Update for section sym changes.

18 years agoReally remove operands64.d, operands64.s, operands.d and operands.s as
Martin Schwidefsky [Tue, 17 Oct 2006 13:15:01 +0000 (13:15 +0000)]
Really remove operands64.d, operands64.s, operands.d and operands.s as
stated in the ChangeLog 2005/08/12:
* gas/testsuite/gas/s390/opcode.d: Delete.
* gas/testsuite/gas/s390/opcode.s: Delete.
* gas/testsuite/gas/s390/opcode64.d: Delete.
* gas/testsuite/gas/s390/opcode64.s: Delete.

18 years ago * gprof.c (main): Fix option string for -C, -n and -N.
Bob Wilson [Tue, 17 Oct 2006 04:45:32 +0000 (04:45 +0000)]
    * gprof.c (main): Fix option string for -C, -n and -N.

18 years ago2006-10-17 Brooks Moses <bmoses@stanford.edu>
DJ Delorie [Tue, 17 Oct 2006 04:23:49 +0000 (04:23 +0000)]
2006-10-17  Brooks Moses  <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.