OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago(-rpath-link): Clarify distinction between -rpath and -rpath-link.
nickc [Tue, 27 Jun 2006 08:52:38 +0000 (08:52 +0000)]
(-rpath-link): Clarify distinction between -rpath and -rpath-link.

18 years ago*** empty log message ***
gdbadmin [Tue, 27 Jun 2006 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 27 Jun 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 22:00:35 +0000 (22:00 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * sw-profile-gprof.xml: Document new sampling interface.
        * sw-profile-gprof.txt: Regenerated.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 22:00:12 +0000 (22:00 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * configrun-sid.in (opt_gprof): Do not
        "connect-pin target-sched 0-event -> gprof sample".
        Do not "set gprof value-attribute pc".
        connect-pin cpu sample-gprof -> gprof sample.
        connect-pin cpu gprof-pc -> gprof pc.
        connect-pin cpu gprof-pc-hi -> gprof pc-hi.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:10:27 +0000 (21:10 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * common-xml/behavior.xml (profiling): New behavior documented.
        * common-xml/interface.xml (pins): Document gprof-pc, gprof-pc-hi
        and sample-gprof pins.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:09:33 +0000 (21:09 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * arm7f.h (get_pc): New member of arm7f_cpu.
        * hw-cpu-arm7t.txt: Regenerated.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:09:07 +0000 (21:09 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * m32rbf.h (get_pc): New member of m32rbf_cpu.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:08:46 +0000 (21:08 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * mt.h (get_pc): New member of mt_cpu.

18 years agoRemove duplicate entry.
brolley [Mon, 26 Jun 2006 21:08:24 +0000 (21:08 +0000)]
Remove duplicate entry.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:06:41 +0000 (21:06 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * xstormy16.h (get_pc): New member of xstormy16_cpu.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:05:38 +0000 (21:05 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * gprof.cxx (target_attribute): Removed from gprof_component.
        (pc_pin,pc_hi_pin): Added to gprof_component.
        (bucket_size_set): Use local reference for this->stats[current_stats].
        (accumulate_call): Likewise.
        (accumulate): Likewise. Use pc_pin and pc_hi_pin instead of
        target_attribute to get the pc.
        (gprof_component): Add pc and pc-hi pins. Don't add value-attribute
        attribute. Initialize the driven value of pc_hi_pin with 0.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:04:00 +0000 (21:04 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * commonCfg.cxx (GprofCfg): Connect the cpu's gprof-pc and gprof-pc-hi
        pins to our pc and p-hi pins respectively.

18 years ago2006-06-26 Dave Brolley <brolley@redhat.com>
brolley [Mon, 26 Jun 2006 21:03:00 +0000 (21:03 +0000)]
2006-06-26  Dave Brolley  <brolley@redhat.com>

        * commonCfg.cxx (GprofCfg): Connect the cpu's gprof-pc and gprof-pc-hi
        pins to our pc and p-hi pins respectively.

18 years ago * library/srcwin.itb (_build_win): Add invisible frame to workaround
kseitz [Mon, 26 Jun 2006 20:44:57 +0000 (20:44 +0000)]
    * library/srcwin.itb (_build_win): Add invisible frame to workaround
        the missing frame problem.

18 years ago* r8c.opc (decode_r8c): Don't bother reading the destination
dj [Mon, 26 Jun 2006 20:31:43 +0000 (20:31 +0000)]
* r8c.opc (decode_r8c): Don't bother reading the destination
before moving a constant into it.  Fix borrow comparison for SUB.

18 years ago Revert patches from 2005-10-22 and 2006-06-14 to use event driven
corinna [Mon, 26 Jun 2006 12:12:11 +0000 (12:12 +0000)]
Revert patches from 2005-10-22 and 2006-06-14 to use event driven
accept and connect back to using select:
* fhandler.h (class fhandler_socket): Remove accept_mtx.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop
initializing accept_mtx.
(fhandler_socket::accept): Drop event handling.
(fhandler_socket.cc (fhandler_socket::connect): Ditto.
(fhandler_socket::dup): Drop accept_mtx handling.
(fhandler_socket::listen): Ditto.
(fhandler_socket::prepare): Ditto.
(fhandler_socket::release): Ditto.
(fhandler_socket::close): Ditto.
* net.cc (cygwin_accept): Revert to calling cygwin_select to
implement interuptible accept.
(cygwin_connect): Ditto for connect.

18 years ago2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Mon, 26 Jun 2006 01:41:48 +0000 (01:41 +0000)]
2006-06-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Include/_mingw.h: Increment version to 3.10.
        * Makefile.in: Ditto.

18 years ago * mingwex/math/tgamma.c (SQTPI): Add braces.
dannysmith [Mon, 26 Jun 2006 00:56:40 +0000 (00:56 +0000)]
* mingwex/math/tgamma.c (SQTPI): Add braces.

18 years ago * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
dannysmith [Mon, 26 Jun 2006 00:53:33 +0000 (00:53 +0000)]
* mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
* mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
(LS2PI): Likewise.
        * mingwex/math/sf_erf.c (erff): Initialize z.
        (erfcf): Likewise.
* mingwex/math/tgamma.c (SQTPI): Avoid type punning.

18 years agodaily update
amodra [Mon, 26 Jun 2006 00:00:36 +0000 (00:00 +0000)]
daily update

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

18 years agoChangelog formatting
dannysmith [Sun, 25 Jun 2006 21:19:46 +0000 (21:19 +0000)]
Changelog formatting

18 years agodaily update
amodra [Sun, 25 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

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

18 years ago2006-06-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 24 Jun 2006 18:25:10 +0000 (18:25 +0000)]
2006-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* doc/as.texinfo (Org): Remove space.
(P2align): Add "@var{abs-expr},".

18 years agodefs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
eliz [Sat, 24 Jun 2006 13:48:53 +0000 (13:48 +0000)]
defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.

18 years agobinutils/testsuite/
rsandifo [Sat, 24 Jun 2006 09:10:04 +0000 (09:10 +0000)]
binutils/testsuite/
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.

18 years ago*** empty log message ***
gdbadmin [Sat, 24 Jun 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 24 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agogas/
hjl [Fri, 23 Jun 2006 21:47:36 +0000 (21:47 +0000)]
gas/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch_tune_set): New.
(cpu_arch_isa): Likewise.
(i386_align_code): Use xchg %ax,%ax for 2 byte nop. Optimize
nops with short or long nop sequences based on -march=/.arch
and -mtune=.
(set_cpu_arch): Set cpu_arch_isa.  If cpu_arch_tune_set is 0,
set cpu_arch_tune and cpu_arch_tune_flags.
(md_parse_option): For -march=, set cpu_arch_isa and set
cpu_arch_tune and cpu_arch_tune_flags if cpu_arch_tune_set is
0.  Set cpu_arch_tune_set to 1 for -mtune=.
(i386_target_format): Don't set cpu_arch_tune.

gas/testsuite/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops-1, nops-1-i386, nops-1-i686,
nops-1-merom, nops-2, nops-2-i386, nops-2-merom, x86-64-nops-1,
x86-64-nops-1-k8, x86-64-nops-1-nocona and x86-64-nops-1-merom.

* gas/i386/nops-1.s: New file.
* gas/i386/nops-2.s: Likewise.
* gas/i386/nops-1-i386.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-1-merom.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-1.s: Likewise.
* gas/i386/x86-64-nops-1-k8.d: Likewise.
* gas/i386/x86-64-nops-1-merom.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.

* gas/i386/sse2.d: Updated to expect xchg %ax,%ax as 2 byte
nop.

18 years ago * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
ths [Fri, 23 Jun 2006 18:31:17 +0000 (18:31 +0000)]
* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.

18 years ago * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
drow [Fri, 23 Jun 2006 18:11:47 +0000 (18:11 +0000)]
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
targ_extra_libpath.

18 years ago2006-06-23 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Fri, 23 Jun 2006 16:27:34 +0000 (16:27 +0000)]
2006-06-23  Shaun Jackman  <sjackman@gmail.com>

        * arm/elf-linux.specs: New file.

18 years ago * config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
ths [Fri, 23 Jun 2006 16:26:13 +0000 (16:26 +0000)]
* config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
label_list.
* config/tc-mips.c (label_list): Define per-segment label_list.
(mips_clear_insn_labels, mips_move_labels, mips16_mark_labels,
append_insn, s_align, s_cons, s_float_cons, s_gpword, s_gpdword,
mips_from_file_after_relocs, mips_define_label): Use per-segment
label_list.

18 years agobinutils/
rsandifo [Fri, 23 Jun 2006 16:23:09 +0000 (16:23 +0000)]
binutils/
* objcopy.c (localize_hidden): New variable.
(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
(copy_options): Add --localize-hidden.
(copy_usage): Mention --localize-hidden.
(is_hidden_symbol): New function.
(filter_symbols): Handle localize_hidden.
(copy_object): Call filter_symbols if localize_hidden.
(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
* doc/binutils.texi (--localize-hidden): Document new option.

binutils/testsuite/
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.

18 years ago * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
drow [Fri, 23 Jun 2006 14:30:59 +0000 (14:30 +0000)]
* Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
(dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
* Makefile.in: Regenerate.

18 years ago * arm-tdep.c (arm_register_type): Use unsigned types for registers.
drow [Fri, 23 Jun 2006 13:01:04 +0000 (13:01 +0000)]
* arm-tdep.c (arm_register_type): Use unsigned types for registers.
Add special types for sp and pc.
* Makefile.in (arm-tdep.o): Update.

18 years ago* pe-dll.c (pe_details_type): Add new pointer for symbols list autofilter.
nickc [Fri, 23 Jun 2006 11:20:15 +0000 (11:20 +0000)]
* pe-dll.c (pe_details_type): Add new pointer for symbols list autofilter.
  (autofilter_symbollist): Split into autofilter_symbollist_generic and
    autofilter_symbollist_i386.
  (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
    autofilter_symbollist_generic for all the others.
  (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
    cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3,
    environ, into autofilter_symbollist_i386.
  (auto_export): Get autofilter_symbollist from pe_details.

18 years ago2006-06-23 Thiemo Seufer <ths@mips.com>
fche [Fri, 23 Jun 2006 11:17:57 +0000 (11:17 +0000)]
2006-06-23  Thiemo Seufer  <ths@mips.com>

* tracedis.cxx (bfd_getb16, bfd_getl16, bfd_getb32, bfd_getl32):
Remove invalid use of register specifier.

18 years ago * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
amodra [Fri, 23 Jun 2006 06:04:37 +0000 (06:04 +0000)]
* Makefile.am (*_DEPENDENCIES): Add missing dependencies.
* Makefile.in: Regenerate.

18 years ago PR ld/2754
amodra [Fri, 23 Jun 2006 02:58:00 +0000 (02:58 +0000)]
PR ld/2754
* elf.c (bfd_elf_mkobject): Don't alloc if already done.  Set
program_header_size to -1.
(_bfd_elf_map_sections_to_segments): Adjust program_header_size check.
(assign_file_positions_for_load_sections ): Likewise.
(_bfd_elf_sizeof_headers): Use saved program_header_size if
available.
* elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't
alloc if already done.
* elf32-i386.c (elf_i386_mkobject): Likewise.
* elf32-ppc.c (ppc_elf_mkobject): Likewise.
* elf32-s390.c (elf_s390_mkobject): Likewise.
* elf32-sh.c (sh_elf_mkobject): Likewise.
* elf64-alpha.c (elf64_alpha_mkobject): Likewise.
* elf64-ppc.c (ppc64_elf_mkobject): Likewise.
* elf64-s390.c (elf_s390_mkobject): Likewise.
* elf64-x86-64.c (elf64_x86_64_mkobject): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.

18 years ago* fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab a
cgf [Fri, 23 Jun 2006 00:19:39 +0000 (00:19 +0000)]
* fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab a
system-wide mutex to prevent a deadlock and a race.
* sync.h (lock_process): Make fhandler_fifo a friend.
* smallprint.c (__small_vsprintf): Cosmetic change.

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

18 years agodaily update
amodra [Fri, 23 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * include/sys/time.h (struct timezone): Define.
dannysmith [Thu, 22 Jun 2006 21:57:44 +0000 (21:57 +0000)]
* include/sys/time.h (struct timezone): Define.
* include/time.h (_timezone): Correct comment.

18 years agoTypo fix.
drow [Thu, 22 Jun 2006 20:31:12 +0000 (20:31 +0000)]
Typo fix.

18 years ago * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
drow [Thu, 22 Jun 2006 19:57:02 +0000 (19:57 +0000)]
* gdb.base/store.exp: Don't use gdb_suppress_entire_file.

18 years ago * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
drow [Thu, 22 Jun 2006 19:53:46 +0000 (19:53 +0000)]
* gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
native.

18 years ago * gdb.stabs/exclfwd.exp: Skip the test if configure did not
drow [Thu, 22 Jun 2006 19:50:57 +0000 (19:50 +0000)]
* gdb.stabs/exclfwd.exp: Skip the test if configure did not
enable stabs testing.

18 years ago * auxv.exp: Intercept undefined command messages before
drow [Thu, 22 Jun 2006 19:32:40 +0000 (19:32 +0000)]
* auxv.exp: Intercept undefined command messages before
gdb_test_multiple does.

18 years agoAdd changelog entry for unintended earlier commit:
drow [Thu, 22 Jun 2006 19:17:49 +0000 (19:17 +0000)]
Add changelog entry for unintended earlier commit:
* Makefile.in (host_alias): Remove.
(target_alias): Use @target_noncanonical@.
(site.exp): Don't set host_alias.
* aclocal.m4: Remove contents.  Include acx.m4.
* configure: Regenerated.
* configure.ac: Use ACX_NONCANONICAL_TARGET.

18 years agoRevert accidental commit.
drow [Thu, 22 Jun 2006 19:17:09 +0000 (19:17 +0000)]
Revert accidental commit.

18 years ago2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 22 Jun 2006 17:59:52 +0000 (17:59 +0000)]
2006-06-22  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/Makefile.am: Add new gdtoa routines.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/gd_qnan.h: New file.
        * libc/stdlib/gdtoa-gethex.c: Ditto.
        * libc/stdlib/gdtoa-hexnan.c: Ditto.
        * libc/stdlib/gdtoa.h: Ditto.
        * libc/stdlib/mprec.c: Add new helper routines needed by
        the new gdtoa code.
        * libc/stdlib/mprec.h: Integrate some defines and prototypes
        used by gdtoa routines here.
        * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
        which adds C99 support such as nan, inf, and hexadecimal input
        format.

18 years agoPR ld/2757
nickc [Thu, 22 Jun 2006 16:25:36 +0000 (16:25 +0000)]
PR ld/2757
* emultempl/pe.em (gld_$_after_open): When reporting non PE format output
  files mention the file name and the fact that it is an output file.

18 years ago * remote-utils.c (remote_escape_output, remote_unescape_input): New.
drow [Thu, 22 Jun 2006 15:20:47 +0000 (15:20 +0000)]
* remote-utils.c (remote_escape_output, remote_unescape_input): New.
(putpkt_binary): Renamed from putpkt and adjusted for binary
data.
(putpkt): New wrapper for putpkt_binary.
(readchar): Don't mask off the high bit.
(decode_X_packet): New function.
* server.c (main): Call putpkt_binary if a handler sets the packet
length.  Save the length of the incoming packet.  Handle 'X'.
* server.h (gdb_byte, remote_escape_output, decode_X_packet): New.

18 years ago * config/tc-mips.c (ISA_SUPPORTS_MIPS16E): New macro.
ths [Thu, 22 Jun 2006 14:09:40 +0000 (14:09 +0000)]
* config/tc-mips.c (ISA_SUPPORTS_MIPS16E): New macro.
(append_insn): Use it.
(md_apply_fix): Whitespace formatting.
(md_begin, append_insn, macro, macro2, mips16_immed, mips_align,
mips16_extended_frag): Remove register specifier.
(md_convert_frag): Likewise. Use TRUE ans FALSE instead of numeric
constants.

18 years ago * remote.c (remote_escape_output): New function.
drow [Thu, 22 Jun 2006 14:06:37 +0000 (14:06 +0000)]
* remote.c (remote_escape_output): New function.
(remote_write_bytes): Use remote_escape_output.

18 years agoCorrect comment.
nickc [Thu, 22 Jun 2006 13:48:30 +0000 (13:48 +0000)]
Correct comment.

18 years ago* emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): Restructure.
nickc [Thu, 22 Jun 2006 13:43:04 +0000 (13:43 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): Restructure.
  Add native "%s.lib" format to search list
* ld.texinfo (node WIN32): Update documentation on dynamic lib search order.
   Add another reason for using import libs.

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

18 years agodaily update
amodra [Thu, 22 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agoCorrected typo in date.
shinwell [Wed, 21 Jun 2006 15:24:40 +0000 (15:24 +0000)]
Corrected typo in date.

18 years agogas/
shinwell [Wed, 21 Jun 2006 14:20:21 +0000 (14:20 +0000)]
gas/
* config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New.  Parse
a directive saving VFP registers for ARMv6 or later.
(s_arm_unwind_save): Add parameter arch_v6 and call
s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
appropriate.
(md_pseudo_table): Add entry for new "vsave" directive.
* doc/c-arm.texi: Correct error in example for "save"
directive (fstmdf -> fstmdx).  Also document "vsave" directive.

18 years agogdb/
drow [Wed, 21 Jun 2006 13:57:21 +0000 (13:57 +0000)]
gdb/
* NEWS: Mention qSupported.
* remote.c (struct remote_state): Add explicit_packet_size.
(get_remote_packet_size): Check explicit_packet_size.
(get_memory_packet_size): Likewise.
(PACKET_qSupported): New enum value.
(struct protocol_feature, remote_supported_packet)
(remote_packet_size, remote_protocol_features)
(remote_query_supported): New.
(remote_open_1): Reset explicit_packet_size.  Call
remote_query_supported.
(_initialize_remote): Register qSupported.
gdb/doc/
* gdb.texinfo (Remote configuration): Document set / show
remote supported-packets.
(General Query Packets): Document qSupported packet.
gdb/gdbserver/
* server.c (handle_query): Handle qSupported.

18 years agoFix for segmentation fault.
shinwell [Wed, 21 Jun 2006 13:25:53 +0000 (13:25 +0000)]
Fix for segmentation fault.

* ldlang.c (lang_insert_orphan): Correctly handle the case where
the section is to end up after the section currently at the end
of the list in output_bfd.

18 years ago2006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
ams [Wed, 21 Jun 2006 10:49:16 +0000 (10:49 +0000)]
2006-06-21  Andrew Stubbs  <andrew.stubbs@st.com>

        * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.

18 years ago * GDB 6.5 released from GDB 6.5 branch.
brobecke [Wed, 21 Jun 2006 07:23:04 +0000 (07:23 +0000)]
    * GDB 6.5 released from GDB 6.5 branch.

18 years ago * ld-elf/tls_common.exp: Match 32-bit output.
amodra [Wed, 21 Jun 2006 05:36:17 +0000 (05:36 +0000)]
* ld-elf/tls_common.exp: Match 32-bit output.

18 years ago * emultempl/mmo.em: Improve comments. Explain why there's
hp [Wed, 21 Jun 2006 02:53:40 +0000 (02:53 +0000)]
* emultempl/mmo.em: Improve comments.  Explain why there's
ELF-stuff here.

18 years ago*** empty log message ***
gdbadmin [Wed, 21 Jun 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 21 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-20 Dave Brolley <brolley@redhat.com>
brolley [Tue, 20 Jun 2006 19:51:09 +0000 (19:51 +0000)]
2006-06-20  Dave Brolley  <brolley@redhat.com>

        * sid.scm (gen-attr-type): Removed.

18 years agoFix typo in comment.
brolley [Tue, 20 Jun 2006 18:40:36 +0000 (18:40 +0000)]
Fix typo in comment.

18 years ago2006-06-20 Dave Brolley <brolley@redhat.com>
brolley [Tue, 20 Jun 2006 18:40:20 +0000 (18:40 +0000)]
2006-06-20  Dave Brolley  <brolley@redhat.com>

        * commonCfg.cxx (BoardCfg::write_config): If there is a loader, then
        relate it to the cpu and connect the cpu's disassembly-symbol-address
        pin to the loader's function? pin.

18 years ago2006-06-20 Dave Brolley <brolley@redhat.com>
brolley [Tue, 20 Jun 2006 18:31:51 +0000 (18:31 +0000)]
2006-06-20  Dave Brolley  <brolley@redhat.com>

        * compCGEN.cxx (cgen_bi_endian_cpu): Initialize loader. Add "loader"
        relation and "disassembly-symbol-address" pin.
        (cgen_print_address): Call cgen_symbol_at_address and print the
        symbol name.
        (cgen_symbol_at_address): Implemented.
        * cgen-cpu.h (class cgen_bi_endian_cpu): Add symbol_at_address,
        loader and disassembly_symbol_address_pin.

18 years ago2006-06-20 Dave Brolley <brolley@redhat.com>
brolley [Tue, 20 Jun 2006 18:13:45 +0000 (18:13 +0000)]
2006-06-20  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (basic_cpu): Remove gprof_prev_latency. Add
        gprof_prev_cycle, gprof_unconfigured_p.
        (sample_gprof): Now takes bool argument. Compute number of samples
        based on total_insn_count + current_step_insn_count + total_latency.
        (unconfigure_gprof): Set gprof_unconfigured_p.
        (configure_gprof): Only reset gprof_pref_cycle if gprof_unconfigured_p
        is true.
        (configure): When configuring --insn-count reset gprof_prev_cycle.

18 years ago * gas/mips/mips.exp: Explicitly specify o32 ABI.
ths [Tue, 20 Jun 2006 17:09:29 +0000 (17:09 +0000)]
* gas/mips/mips.exp: Explicitly specify o32 ABI.
* gas/mips/mips64-dsp.d: Dump o32 register names.
* gas/mips/smartmips.d: Explicitly specify o32 ABI.

18 years ago * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
amodra [Tue, 20 Jun 2006 16:37:29 +0000 (16:37 +0000)]
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
loop to ten iterations.  Throw away any previous linker generated
segment map.
* ldlang.c (lang_phdr_list): Make global.
* ldlang.h (lang_phdr_list): Declare.
* Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
* Makefile.in: Regenerate.

18 years ago * elflink.c (elf_link_add_object_symbols): Don't create .tcommon
jakub [Tue, 20 Jun 2006 16:36:17 +0000 (16:36 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't create .tcommon
section for relocatable link.

* ld-elf/tls_common.exp: New test.
* ld-elf/tls_common.s: New file.

18 years ago * elf-bfd.h (struct elf_backend_data): Add
amodra [Tue, 20 Jun 2006 14:34:08 +0000 (14:34 +0000)]
* elf-bfd.h (struct elf_backend_data): Add
elf_backend_modify_program_headers.
* elfxx-target.h (elf_backend_modify_program_headers): Define.
(elfNN_bed): Init new field.
* elf.c (elf_modify_segment_map): Remove comment.
(assign_file_positions_for_load_sections): Only call
elf_modify_segment_map for objcopy/strip.
(assign_file_positions_except_relocs): Call
elf_backend_modify_program_headers.
* elf32-frv.c (elf32_frvfdpic_always_size_sections): Don't make
.stack section.
(elf32_frvfdpic_modify_segment_map): Delete.
(elf32_frvfdpic_modify_program_headers): New.
(elf_backend_modify_segment_map): Don't define.
(elf_backend_modify_program_headers): Define.
* elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Don't make
.stack section.
(elf32_bfinfdpic_modify_segment_map): Delete.
(elf32_bfinfdpic_modify_program_headers): New.
(elf_backend_modify_segment_map): Don't define.
(elf_backend_modify_program_headers): Define.
* elfxx-ia64.c (elfNN_ia64_modify_program_headers): New function.
Split out from..
(elfNN_ia64_modify_segment_map): ..here.
(elf_backend_modify_program_headers): Define.

18 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
pbrook [Tue, 20 Jun 2006 13:55:08 +0000 (13:55 +0000)]
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

18 years ago * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
jakub [Tue, 20 Jun 2006 09:58:36 +0000 (09:58 +0000)]
* bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.

18 years ago2006-06-20 David Ayers <d.ayers@inode.at>
ayers [Tue, 20 Jun 2006 08:45:35 +0000 (08:45 +0000)]
2006-06-20  David Ayers  <d.ayers@inode.at>

PR bootstrap/28072
* configure.in: Add target-boehm-gc to noconfigdirs depending on
whether target-libjava is being configured instead of whether the
java front end is enabled.
* configure: Regenerate.

18 years agobfd/
amodra [Tue, 20 Jun 2006 02:22:13 +0000 (02:22 +0000)]
bfd/
* elf-bfd.h: Formatting.
(_bfd_elf_map_sections_to_segments): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't
clear program_header_size.
* elf.c (get_program_header_size): Move.  Don't use or set saved
program_header_size here.
(elf_modify_segment_map): New function.  Split out from..
(assign_file_positions_for_load_sections): ..here.  Assert
header size is correct.  Remove dead code.
(_bfd_elf_map_sections_to_segments): Rename from
map_sections_to_segments.  Make global.  Use get_program_header_size
when we need estimate of header size.  Call elf_modify_segment_map.
Set program_header_size.
(print_segment_map): Delete.
(_bfd_elf_sizeof_headers): If segment_map available, get the
actual size.
* elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe
for calling more than once.
* elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise.
* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elf32-i370.c (elf_backend_add_symbol_hook): Delete.
(elf_backend_additional_program_headers): Delete.
(elf_backend_modify_segment_map): Delete.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties.
ld/
* Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
many ELF emul file deps that incorrectly said they needed elf32.em
instead of generic.em.  Add genelf.em as required.
* Makefile.in: Regenerate.
* ldlang.c (lang_process): Call ldemul_finish before
lang_check_section_addresses.
* emulparams/arcelf.sh: Generic elf target needs genelf.
* emulparams/d30v_e.sh: Likewise.
* emulparams/d30v_o.sh: Likewise.
* emulparams/d30velf.sh: Likewise.
* emulparams/elf32_dlx.sh: Likewise.
* emulparams/elf32_i860.sh: Likewise.
* emulparams/elf32fr30.sh: Likewise.
* emulparams/elf32frv.sh: Likewise.
* emulparams/elf32iq10.sh: Likewise.
* emulparams/elf32iq2000.sh: Likewise.
* emulparams/elf32mt.sh: Likewise.
* emulparams/mn10200.sh: Likewise.
* emulparams/or32.sh: Likewise.
* emulparams/or32elf.sh: Likewise.
* emulparams/pjelf.sh: Likewise.
* emulparams/msp430all.sh: Likewise.  Extract common entries.
* emulparams/pjlelf.sh: Include pjelf.sh.
* emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
* emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
* emultempl/elf-generic.em: New file.
* emultempl/genelf.em: New file.
* emultempl/elf32.em: Include elf-generic.em.
(gld${EMULATION_NAME}_layout_sections_again): Delete.
(gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
(gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
gld${EMULATION_NAME}_map_segments.
(LDEMUL_FINISH): Update.
* emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
source elf-generic.em.
(mmo_finish): Call gld${EMULATION_NAME}_map_segments.
* emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
(gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
gld${EMULATION_NAME}_map_segments.
(LDEMUL_FINISH): Update.
ld/testsuite/
* ld-elf/eh1.d: Update for fewer program headers.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.

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

18 years agodaily update
amodra [Tue, 20 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-19 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 19 Jun 2006 18:50:09 +0000 (18:50 +0000)]
2006-06-19  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
decide how many registers it takes to pass a floating point
argument, what matters is the size of a floating point register
(not the size of a general purpose register).
(mips_o32_push_dummy_call): Ditto.

18 years ago * config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
denisc [Mon, 19 Jun 2006 16:58:28 +0000 (16:58 +0000)]
* config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
and atmega644p devices. Rename atmega164/atmega324 devices to
atmega164p/atmega324p.
* doc/c-avr.texi: Document new mcu and arch options.

18 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
pbrook [Mon, 19 Jun 2006 14:22:27 +0000 (14:22 +0000)]
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

18 years agobfd/
amodra [Mon, 19 Jun 2006 13:17:43 +0000 (13:17 +0000)]
bfd/
* elf-bfd.h (struct elf_backend_data): Add bfd_link_info pointer
parameter.
(_bfd_elf_sizeof_headers): Replace bfd_boolean param with
bfd_link_info pointer.
* targets.c (struct bfd_target <_bfd_sizeof_headers>): Likewise.
* bfd.c (bfd_sizeof_headers): Tweak param name.
* aout-adobe.c (aout_adobe_sizeof_headers): Adjust.
* aoutx.h (NAME (aout, sizeof_headers)): Adjust.
* binary.c (binary_sizeof_headers): Adjust.
* bout.c (b_out_sizeof_headers): Adjust.
* coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust.
* coff64-rs6000.c (xcoff64_sizeof_headers): Adjust.
* coffgen.c (coff_sizeof_headers): Adjust.
* ecoff.c (_bfd_ecoff_sizeof_headers): Adjust.
(ecoff_compute_section_file_positions): Adjust.
(_bfd_ecoff_write_object_contents): Adjust.
* elf.c (get_program_header_size, _bfd_elf_sizeof_headers): Adjust.
* elf32-arm.c (elf32_arm_additional_program_headers): Adjust.
* elf32-i370.c (elf_backend_additional_program_headers): Adjust.
* elf32-ppc.c (ppc_elf_additional_program_headers): Adjust.
* elf64-hppa.c (elf64_hppa_additional_program_headers): Adjust.
* elf64-x86-64.c (elf64_x86_64_additional_program_headers): Adjust.
* elfxx-ia64.c (elfNN_ia64_additional_program_headers): Adjust.
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Adjust.
* elfxx-mips.h (_bfd_mips_elf_additional_program_headers): Adjust.
* i386msdos.c: Convert to ISO C.
(msdos_sizeof_headers): Adjust.
* i386os9k.c: Convert to ISO C.
(os9k_sizeof_headers): Adjust.
* ieee.c (ieee_sizeof_headers): Adjust.
* ihex.c (ihex_sizeof_headers): Adjust.
* libaout.h (NAME (aout, sizeof_headers)): Adjust.
* libbfd-in.h (_bfd_nolink_sizeof_headers): Adjust.
* libcoff-in.h (coff_sizeof_headers): Adjust.
* libecoff.h (_bfd_ecoff_sizeof_headers): Adjust.
* mach-o.c (bfd_mach_o_sizeof_headers): Adjust.
* mmo.c (mmo_sizeof_headers): Adjust.
* oasys.c (oasys_sizeof_headers): Adjust.
* pdp11.c (NAME (aout, sizeof_headers)): Adjust.
* pef.c (bfd_pef_sizeof_headers): Adjust.
* ppcboot.c (ppcboot_sizeof_headers): Adjust.
* som.c (som_sizeof_headers): Adjust.
* srec.c (srec_sizeof_headers): Adjust.
* tekhex.c (tekhex_sizeof_headers): Adjust.
* versados.c (versados_sizeof_headers): Adjust.
* vms.c (vms_sizeof_headers): Adjust.
* xcoff-target.h (_bfd_xcoff_sizeof_headers): Adjust.
* xsym.c (bfd_sym_sizeof_headers): Adjust.
* xsym.h (bfd_sym_sizeof_headers): Adjust.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
ld/
* ldexp.c (fold_name): Adjust bfd_sizeof_headers call.

18 years ago2006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
ksakamot [Mon, 19 Jun 2006 01:23:25 +0000 (01:23 +0000)]
2006-06-19  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* configure.tgt: Add gdbserver support for m32r-linux.

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

18 years agodaily update
amodra [Mon, 19 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * configure.in (AC_CONFIG_AUX_DIR): Remove.
dannysmith [Sun, 18 Jun 2006 23:06:56 +0000 (23:06 +0000)]
* configure.in (AC_CONFIG_AUX_DIR): Remove.
* configure: Regenerate.

18 years ago2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
ironhead [Sun, 18 Jun 2006 13:35:01 +0000 (13:35 +0000)]
2006-06-18  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * configure: add srcdir as a possible location for install-sh.

18 years agoSkip for non-ELF targets.
nickc [Sun, 18 Jun 2006 10:05:26 +0000 (10:05 +0000)]
Skip for non-ELF targets.

18 years ago * mingwex/dirent.c (_tGetFileAttributes): New helper function.
dannysmith [Sun, 18 Jun 2006 08:43:34 +0000 (08:43 +0000)]
* mingwex/dirent.c (_tGetFileAttributes): New helper function.
(_topendir): Use it.

18 years ago * include/sys/time.h: Add header guard. Add extern "C" bracketing
dannysmith [Sun, 18 Jun 2006 08:16:54 +0000 (08:16 +0000)]
* include/sys/time.h: Add header guard.  Add extern "C" bracketing
for __cplusplus.
(gettimeofday): Add prototype.
* mingwex/gettimeofday.c: New file.
* mingwex/makefile.in: Add gettimeofday source and object.

18 years ago* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
kettenis [Sun, 18 Jun 2006 05:53:51 +0000 (05:53 +0000)]
* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.