OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago*** empty log message ***
gdbadmin [Fri, 18 Mar 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 17 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
amodra [Thu, 17 Mar 2005 22:51:07 +0000 (22:51 +0000)]
* scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
input sections into .sdata and .sbss output respectively.

19 years ago* defs.h (xsnprintf): New prototype.
kettenis [Thu, 17 Mar 2005 22:11:07 +0000 (22:11 +0000)]
* defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.

19 years ago* corelow.c (get_core_register_section): Replace usage of sprintf
kettenis [Thu, 17 Mar 2005 22:07:42 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.

19 years ago* corelow.c (get_core_register_section): Replace usage of sprintf
kettenis [Thu, 17 Mar 2005 22:07:33 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.

19 years ago * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
bwilson [Thu, 17 Mar 2005 21:49:45 +0000 (21:49 +0000)]
    * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
        xg_apply_fix_value and return a value to indicate success.
        (md_pcrel_from): Skip check of fx_done.  Return 0 if not PC-relative.
        (xtensa_force_relocation): Remove checks for VTABLE relocs.
        (xtensa_validate_fix_sub): New.
        (xtensa_fix_adjustable): Remove check for external or weak symbols.
        (tc_gen_reloc): Move code to handle difference of symbols and code to
        apply tentative fix values to ...
        (md_apply_fix3): ...here.  Enable standard overflow checks for simple
        8, 16, and 32 bit relocations.  Apply fixes for slot-specific
        relocations when linkrelax flag is not set.
        * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
        (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.

19 years ago2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 17 Mar 2005 20:11:16 +0000 (20:11 +0000)]
2005-03-17  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Add new check to see if compiler supports
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
        aliasing the _ctype_ array to _ctype_b.
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
        _ctype_ as deprecated.

19 years ago* mips-tdep.c (mips_single_step_through_delay): Put back check for
kettenis [Thu, 17 Mar 2005 18:07:40 +0000 (18:07 +0000)]
* mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.

19 years ago2005-03-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 Mar 2005 17:44:14 +0000 (17:44 +0000)]
2005-03-17  Paul Brook  <paul@codesourcery.com>

* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.

19 years ago2005-03-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 Mar 2005 17:43:59 +0000 (17:43 +0000)]
2005-03-17  Paul Brook  <paul@codesourcery.com>

* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.

19 years agold/ChangeLog:
bwilson [Thu, 17 Mar 2005 16:20:35 +0000 (16:20 +0000)]
ld/ChangeLog:
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
ld/testsuite/ChangeLog:
        * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp,
        ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.

19 years agold/ChangeLog:
bwilson [Thu, 17 Mar 2005 16:20:16 +0000 (16:20 +0000)]
ld/ChangeLog:
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
ld/testsuite/ChangeLog:
        * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp,
        ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.

19 years ago * MAINTAINERS: Remove self as maintainer of x86 intel
dnovillo [Thu, 17 Mar 2005 13:21:31 +0000 (13:21 +0000)]
* MAINTAINERS: Remove self as maintainer of x86 intel
mode.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle opening
corinna [Thu, 17 Mar 2005 12:53:43 +0000 (12:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle opening
directories under 9x gracefully.

19 years agogas/
jbeulich [Thu, 17 Mar 2005 12:05:20 +0000 (12:05 +0000)]
gas/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (i386_scale): Beautify error message.
(Intel syntax comments): Update.
(struct intel_parser_s): Add fields in_offset, in_bracket, and
next_operand.
(intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
Remove declarations.
(intel_bracket_expr): Declare.
(i386_intel_operand): Initialize new intel_parser fields. Wrap most
of the function body in a loop allowing to split an operand into two.
Replace calls to malloc and checks of it returning non-NULL with
calls to xmalloc/xstrdup.
(intel_expr): SHORT no longer handled here. Add comment indicating
comparison ops need implementation.
(intel_e04, intel_e04_1): Combine, replace recursion with loop.
Check right operand of - does not specify a register when parsing
the address of a memory reference.
(intel_e05, intel_e05_1): Combine, replace recursion with loop.
Check operands do not specify a register when parsing the address of
a memory reference.
(intel_e06, intel_e06_1): Likewise.
(intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
handle SHORT as well as unary + and -. Don't accept : except for
segment overrides or in direct far jump/call insns.
(intel_brack_expr): New.
(intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
intel_brack_expr.
(intel_e11): Replace chain of if/else-if by switch, alloing fall-
through in certain cases. Use intel_brack_expr. Add new diagnostics.
Allow symbolic constants as register scale value.
(intel_get_token): Replace call to malloc and check of return value
with call to xmalloc. Change handling for FLAT to match MASM's.
(intel_putback_token): Don't try to back up/free current token if
that is T_NIL.

gas/testsuite/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.d: Add stderr directive.
* gas/i386/intel.e: New.
* gas/i386/intel16.d: Add stderr directive. Adjust for changed
source.
* gas/i386/intel16.e: New.
* gas/i386/intel16.s: Add instances of addressing forms with base
and index specified in reverse order.
* gas/i386/intelbad.l: Adjust for changed source.
* gas/i386/intelbad.s: Add more operand forms to check.
* gas/i386/intelok.d: Remove -r from objdump options. Add stderr
directive. Adjust for changed source.
* gas/i386/intelok.e: New.
* gas/i386/intelok.s: Define MASM constants byte, word, etc. Add
more operand forms to check.
* gas/i386/x86_64.d: Add stderr directive.
* gas/i386/x86_64.e: New.
* gas/i386/x86_64.s: Adjust for parser changes.

19 years ago * fhandler_socket.cc (fhandler_socket::connect): Always set sun_path
corinna [Thu, 17 Mar 2005 11:56:27 +0000 (11:56 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Always set sun_path
in case of a successful or pending connect.
(fhandler_socket::accept): Don't run secret event and eid credential
transactions if OS accept returned WSAEWOULDBLOCK.

19 years agoUpdated Vietnamese translation.
nickc [Thu, 17 Mar 2005 08:38:14 +0000 (08:38 +0000)]
Updated Vietnamese translation.

19 years ago(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
nickc [Thu, 17 Mar 2005 08:24:21 +0000 (08:24 +0000)]
(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
not dwarf_abbrev_buffer.

19 years ago * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
hp [Thu, 17 Mar 2005 02:31:57 +0000 (02:31 +0000)]
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
-DCOMPACT_CTYPE.

19 years ago2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 17 Mar 2005 02:21:48 +0000 (02:21 +0000)]
2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/hiddef1.d: Updated for empty section removal.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.

19 years ago*** empty log message ***
gdbadmin [Thu, 17 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 16 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agocomplete a sentenc
cgf [Wed, 16 Mar 2005 22:08:33 +0000 (22:08 +0000)]
complete a sentenc

19 years agobfd/
hjl [Wed, 16 Mar 2005 21:52:37 +0000 (21:52 +0000)]
bfd/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): New.
(bfd_elf_gc_sections): Call elf_gc_mark_section for
non-relocatable link if we don't do GC.

include/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add gc_sections.

ld/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
unused empty output sections for non-relocatable link.

* ld.h (args_type): Remove gc_sections.

* ldlang.c (lang_mark_used_section): New.
(lang_gc_sections): Use link_info.gc_sections instead of
command_line.gc_sections.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.
* ldlang.c (lang_process): Call lang_mark_used_section.

* ldmain.c (main): Initialize link_info.gc_sections to FALSE.

ld/testsuite/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-alpha/tlsbin.rd: Updated for empty section removal.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.

19 years ago* fhandler_tape.cc (get_ll): This is a generally useful function so move it
cgf [Wed, 16 Mar 2005 21:51:59 +0000 (21:51 +0000)]
* fhandler_tape.cc (get_ll): This is a generally useful function so move it
* winsup.h (get_ll): to here
* security.cc (get_token_group_sidlist): Use get_ll to figure out the long long
version of the luid since QuadPart is not part of the standard Windows API.

19 years ago* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.
cgf [Wed, 16 Mar 2005 21:50:13 +0000 (21:50 +0000)]
* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.

19 years agomissing file from previous checkin.
cgf [Wed, 16 Mar 2005 21:21:18 +0000 (21:21 +0000)]
missing file from previous checkin.

19 years ago* dir.cc: Rename opendir_* to dirent_* throughout.
cgf [Wed, 16 Mar 2005 21:20:55 +0000 (21:20 +0000)]
* dir.cc: Rename opendir_* to dirent_* throughout.
(opendir_states): Move and rename.
* fhandler.h (dirent_states): to here.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Use raw readdir when
skipping through entries since it is keeping track of "." and "..".
(fhandler_cygdrive::seekdir): Use fhandler_disk_file::readdir to do everything.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set flag indicating that we
provide .  and ..
(fhandler_virtual::seekdir): Ditto.
(fhandler_virtual::rewinddir): Ditto.
* fhandler_registry.cc (fhandler_registry::rewinddir): Ditto.

19 years ago(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in case
nickc [Wed, 16 Mar 2005 18:09:01 +0000 (18:09 +0000)]
(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in case
it is clobbered by the setjmp.

19 years ago* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
dj [Wed, 16 Mar 2005 17:46:18 +0000 (17:46 +0000)]
* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
* Makefile.in: Regenerate.

19 years agomerge from gcc
dj [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc

19 years ago * configure.tgt: Set emulation for arm-*-eabi*.
drow [Wed, 16 Mar 2005 17:27:14 +0000 (17:27 +0000)]
* configure.tgt: Set emulation for arm-*-eabi*.
* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
* config/te-armeabi.h: New file.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
* config/te-symbian.h: Include "te-armeabi.h".

19 years agoFix typo introduced by previous delta
nickc [Wed, 16 Mar 2005 17:26:21 +0000 (17:26 +0000)]
Fix typo introduced by previous delta

19 years agoRename switch to enable/disable -Werror to --enable-werror/--disable-werror
nickc [Wed, 16 Mar 2005 17:18:14 +0000 (17:18 +0000)]
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
for compatibility with gcc.

19 years ago* cygtls.cc (free_local): New macro.
cgf [Wed, 16 Mar 2005 17:07:31 +0000 (17:07 +0000)]
* cygtls.cc (free_local): New macro.
(_cygtls::remove): Use free_local to free known-malloced local variables.
* cygtls.h: Mark some variables as "malloced".
* net.cc (enum struct_type): Rename from is_* to t_* for clarity.
(dump_protoent): Delete.
(dup_ent): New macro.
(__dup_ent): Renamed from dup_ent.  Change arguments for convenience.  Replace
first argument with newly alloced value.  Allocate a rounded number of bytes in
an attempt to try to reuse space.  Subsume "dump_protent".
(cygwin_getprotobyname): Simplify using new dup_ent functionality.
(cygwin_getprotobynumber): Ditto.
(cygwin_getservbyname): Ditto.
(cygwin_getservbyport): Ditto.
(cygwin_gethostname): Ditto.
(cygwin_gethostbyname): Ditto.
* tlsoffsets.h: Regenerate.
* syslog.cc (openlog): Use NULL rather than 0, for consistency with the rest of
cygwin.
(pass_handler::initialize): Use unbuffered I/O in pass one.

19 years ago * event-top.c (handle_sigquit): Do not define for systems without
mmitchel [Wed, 16 Mar 2005 17:07:17 +0000 (17:07 +0000)]
* event-top.c (handle_sigquit): Do not define for systems without
SIGQUIT.
(sigquit_token): Likewise.
(async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.

19 years ago * event-top.c (async_init_signals): Allow for systems that do not
mmitchel [Wed, 16 Mar 2005 17:05:28 +0000 (17:05 +0000)]
* event-top.c (async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.

19 years agoEnable -Werror by default
nickc [Wed, 16 Mar 2005 16:16:56 +0000 (16:16 +0000)]
Enable -Werror by default

19 years ago * utils.c (internal_vproblem): Guard call to fork with
mmitchel [Wed, 16 Mar 2005 15:58:36 +0000 (15:58 +0000)]
* utils.c (internal_vproblem): Guard call to fork with
HAVE_WORKING_FORK.
* cli/cli-cmds.c (shell_escape): Guard call to vfork with
HAVE_WORKING_VFORK and HAVE_WORKING_FORK.

* remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
S_IRGRP and related macros.
(remote_fileio_mode_to_target): Likewise.

19 years agoConvert to ISO C90 formatting
nickc [Wed, 16 Mar 2005 14:56:55 +0000 (14:56 +0000)]
Convert to ISO C90 formatting

19 years agoConvert to ISO C90 formatting.
nickc [Wed, 16 Mar 2005 14:37:11 +0000 (14:37 +0000)]
Convert to ISO C90 formatting.

19 years ago * elf32-ppc.c: Divide file into general and linker specific
amodra [Wed, 16 Mar 2005 06:11:50 +0000 (06:11 +0000)]
* elf32-ppc.c: Divide file into general and linker specific
functions.  Sort linker functions into roughly the order in which
they are called by the ELF linker code.

19 years agobfd/
amodra [Wed, 16 Mar 2005 02:41:24 +0000 (02:41 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED
on section.  Correct comment, and add FIXME.
(ppc_elf_additional_program_headers): Don't bump header count for
interp.  Test SEC_ALLOC, not SEC_LOAD, and don't test size.
(ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but
do allocate memory if they need it.
ld/
* emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
(OTHER_RELRO_SECTIONS): Set this instead.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsexe32.g: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexe32.t: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.
* ld-powerpc/tlsso32.t: Update.

19 years ago * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
amodra [Wed, 16 Mar 2005 02:38:39 +0000 (02:38 +0000)]
* ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
BOOKE.

19 years ago* errno.cc (errmap): Correct typo in previous change.
cgf [Wed, 16 Mar 2005 01:00:04 +0000 (01:00 +0000)]
* errno.cc (errmap): Correct typo in previous change.

19 years ago * include/winnt.h (_LUID): Add structure. Correct LUID typedef.
dannysmith [Wed, 16 Mar 2005 00:46:17 +0000 (00:46 +0000)]
* include/winnt.h (_LUID): Add structure. Correct LUID typedef.
Thanks to:
Paul-Christiaan Spruijtenburg <wakarimasu at users dot sf dot net>

19 years ago*** empty log message ***
gdbadmin [Wed, 16 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agosim/common/ChangeLog:
jimb [Tue, 15 Mar 2005 23:25:58 +0000 (23:25 +0000)]
sim/common/ChangeLog:
2005-02-28  Jim Blandy  <jimb@redhat.com>

* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-Wuninitialized in the default list of build warnings if CFLAGS is
set, and doesn't include -O.  (Using -Wuninitialized without
optimization produces a warning, which interferes with compilation
with -Werror.)

sim/ChangeLog:
2005-02-28  Jim Blandy  <jimb@redhat.com>

* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
Regenerated, after change to common/aclocal.m4.

19 years agodaily update
amodra [Tue, 15 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* cygtls.cc (_cygtls::remove): Free process_ident, if it exists.
cgf [Tue, 15 Mar 2005 21:58:43 +0000 (21:58 +0000)]
* cygtls.cc (_cygtls::remove): Free process_ident, if it exists.
* errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO.

19 years ago * config/tc-arm.c (do_mla): Rename to do_mlas, take second
zack [Tue, 15 Mar 2005 20:37:58 +0000 (20:37 +0000)]
* config/tc-arm.c (do_mla): Rename to do_mlas, take second
is_mls parameter; do not diagnose Rm==Rd when is_mls.
(do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
(do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
(insns): Add ARMv6T2 instructions:
bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
(arm_archs): Add V6T2 variants.
testsuite:
* gas/arm/archv6t2.d, gas/arm/archv6t2.s: New dump test.
* gas/arm/archv6t2-bad.l, gas/arm/archv6t2-bad.l: New errors test.
* gas/arm/arm.exp: Run them.

19 years agoAdd cutoff for changes in 2.16 release
nickc [Tue, 15 Mar 2005 17:49:12 +0000 (17:49 +0000)]
Add cutoff for changes in 2.16 release

19 years agoAdd new switch --globalize-symbol to convert local symbols into globals.
nickc [Tue, 15 Mar 2005 17:45:17 +0000 (17:45 +0000)]
Add new switch --globalize-symbol to convert local symbols into globals.

19 years agoStep through the sorted array of basic blocks.
nickc [Tue, 15 Mar 2005 16:20:41 +0000 (16:20 +0000)]
Step through the sorted array of basic blocks.

19 years agogas/
jbeulich [Tue, 15 Mar 2005 15:41:28 +0000 (15:41 +0000)]
gas/
2005-03-15  Jan Beulich  <jbeulich@novell.com>

* expr.c (operand): Merge handling of unary + into that for unary
-, !, and ~.

19 years agoAdd support for an x86_64-elf target
nickc [Tue, 15 Mar 2005 14:13:59 +0000 (14:13 +0000)]
Add support for an x86_64-elf target

19 years ago==> ChangeLog <==
echristo [Tue, 15 Mar 2005 05:28:12 +0000 (05:28 +0000)]
==> ChangeLog <==
2005-03-14  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c: Include dw2gencfi.h.
        (mips_cfi_frame_initial_instructions): New.
        * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
        (tc_cfi_frame_initial_instructions): Ditto.
        (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
        (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
        * Makefile.am: Update dependencies.
        * Makefile.in: Regenerate.

==> testsuite/ChangeLog <==
2005-03-14  Eric Christopher  <echristo@redhat.com>

        * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test.
        * gas/cfi/cfi.exp: Run it.
        * gas/cfi/cfi-common-1.d: Update.
        * gas/cfi/cfi-common-2.d: Ditto.
        * gas/cfi/cfi-common-3.d: Ditto.
        * gas/cfi/cfi-common-4.d: Ditto.

19 years agoCommit new Spanish translation.
amodra [Tue, 15 Mar 2005 05:25:14 +0000 (05:25 +0000)]
Commit new Spanish translation.

19 years ago2005-03-15 Hans Leidekker <hans@it.vu.nl>
dannysmith [Tue, 15 Mar 2005 03:10:00 +0000 (03:10 +0000)]
2005-03-15  Hans Leidekker  <hans@it.vu.nl>

* include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.

19 years ago*** empty log message ***
gdbadmin [Tue, 15 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoCommit new French translation.
amodra [Mon, 14 Mar 2005 23:39:07 +0000 (23:39 +0000)]
Commit new French translation.

19 years agodaily update
amodra [Mon, 14 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 14 Mar 2005 18:55:42 +0000 (18:55 +0000)]
2005-03-14  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
for global symbol when reporting overflow.

19 years ago2005-03-14 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 14 Mar 2005 15:42:51 +0000 (15:42 +0000)]
2005-03-14  Paul Brook  <paul@codesourcery.com>

* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.

19 years ago * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
amodra [Mon, 14 Mar 2005 12:32:02 +0000 (12:32 +0000)]
* gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.

19 years ago * ldexp.c (exp_fold_tree): Ensure return value is initialized.
amodra [Mon, 14 Mar 2005 12:29:11 +0000 (12:29 +0000)]
* ldexp.c (exp_fold_tree): Ensure return value is initialized.
Tidy etree_assert case.

19 years agoUse ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"
nickc [Mon, 14 Mar 2005 09:35:26 +0000 (09:35 +0000)]
Use ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"

19 years agoCommit new Turkish translation.
amodra [Mon, 14 Mar 2005 03:40:41 +0000 (03:40 +0000)]
Commit new Turkish translation.

19 years ago * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
bje [Mon, 14 Mar 2005 03:09:39 +0000 (03:09 +0000)]
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.

19 years ago*** empty log message ***
gdbadmin [Mon, 14 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * po/tr.po: Commit new Turkish translation.
amodra [Sun, 13 Mar 2005 23:42:46 +0000 (23:42 +0000)]
* po/tr.po: Commit new Turkish translation.

19 years agodaily update
amodra [Sun, 13 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
kettenis [Sun, 13 Mar 2005 22:06:05 +0000 (22:06 +0000)]
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread".  Use ptid_get_pid instead of
GETPID.

19 years ago* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
kettenis [Sun, 13 Mar 2005 19:55:37 +0000 (19:55 +0000)]
* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.

19 years ago* configure.ac: Use '=', not '=='; the latter is a GNU extension.
jimb [Sun, 13 Mar 2005 05:37:46 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.

19 years ago*** empty log message ***
gdbadmin [Sun, 13 Mar 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 12 Mar 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agogas:
zack [Sat, 12 Mar 2005 18:25:45 +0000 (18:25 +0000)]
gas:
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
wfi, yield.
opcodes:
* arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev,
wfe, wfi, yield.
gas/testsuite:
* gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test.
* gas/arm/arm.exp: Run it.

19 years agoRevert accidental commit of V6K ops
zack [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops

19 years agoinclude:
zack [Sat, 12 Mar 2005 18:14:04 +0000 (18:14 +0000)]
include:
* opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
and ARM_ARCH_V6ZKT2.
opcodes:
* arm-dis.c (arm_opcodes): Document %E and %V.
Add entries for v6T2 ARM instructions:
bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx.
(print_insn_arm): Add support for %E and %V.

19 years ago* path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK.
cgf [Sat, 12 Mar 2005 02:32:58 +0000 (02:32 +0000)]
* path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK.
(path_types): Define PATH_NO_ACCESS_CHECK == PC_NO_ACCESS_CHECK.
* path.cc (symlink_info::check_sysfile): Move to symlink_info class and
eliminate arguments that are part of class.  Use set_error.
(symlink_info::check_shortcut): Ditto.
(symlink_info::set_error): New function.
(path_conv::check): Pass PC_NO_ACCESS_CHECK to symlink_info::check.
(symlink_info::check): Preserve PC_NO_ACCESS_CHECK in pflags.  Use set_error.

19 years ago*** empty log message ***
gdbadmin [Sat, 12 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-11 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 11 Mar 2005 23:16:41 +0000 (23:16 +0000)]
2005-03-11  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
stub fn with real implementatin mn10300_unwind_dummy_id.
(mn10300_push_dummy_call): Implement.  Bare bones version,
does not handle structs or floats.

19 years agodaily update
amodra [Fri, 11 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* linux-target.c (linux_get_reg) [GETREGS_SETREGS_REGINFO]: In the
jimb [Fri, 11 Mar 2005 21:10:28 +0000 (21:10 +0000)]
* linux-target.c (linux_get_reg) [GETREGS_SETREGS_REGINFO]: In the
NOREGS case, check that reginfo doesn't specify an offset outside
our zeroed buffer.

19 years agoAvoid warnings due to the use of -Wuninitialized without -O.
jimb [Fri, 11 Mar 2005 21:01:55 +0000 (21:01 +0000)]
Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.

19 years ago* mips-tdep.c (show_mips_abi): Change calling conventions to match
jimb [Fri, 11 Mar 2005 20:27:50 +0000 (20:27 +0000)]
* mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd.  Use 'file' argument as
appropriate.

19 years ago * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
drow [Fri, 11 Mar 2005 19:55:36 +0000 (19:55 +0000)]
* Makefile.am: Remove references to em68klynx.o and esparclynx.o.
* Makefile.in: Regenerated.
* emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.

19 years ago * config-gas.com: Mark vax-vms as obsolete.
drow [Fri, 11 Mar 2005 19:52:49 +0000 (19:52 +0000)]
* config-gas.com: Mark vax-vms as obsolete.
* configure.in: Remove fmt=vms support.
* config.in: Regenerate.
* configure: Regenerate.
* config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.

19 years ago * libbfd-in.h (_bfd_ar_spacepad): New prototype.
jakub [Fri, 11 Mar 2005 16:37:16 +0000 (16:37 +0000)]
* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise.  Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.

19 years agoUpdated French translation
nickc [Fri, 11 Mar 2005 08:36:24 +0000 (08:36 +0000)]
Updated French translation

19 years ago * Makefile.in (SFILES): Add cp-names.y.
drow [Fri, 11 Mar 2005 02:24:15 +0000 (02:24 +0000)]
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.

19 years ago * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
bwilson [Fri, 11 Mar 2005 00:14:11 +0000 (00:14 +0000)]
    * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
        when checking if xg_resolve_literals needs to be called.
        * config/tc-xtensa.h: Fix spelling typo in a comment.

19 years ago*** empty log message ***
gdbadmin [Fri, 11 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoCompile with no warnings.
jimb [Thu, 10 Mar 2005 23:50:47 +0000 (23:50 +0000)]
Compile with no warnings.
* Makefile.am (AM_CFLAGS): Compile with -Wall.
* Makefile.in: Regenerated.
* gdbserv-thread-db.h (stop_lwp, handle_waitstatus, ps_pdread,
ps_pdwrite): Add declarations for these functions to
gdbserv-thread-db.h.
* linux-target.c: #include <string.h>, <sys/types.h>, and
<sys/wait.h> to get declarations for system functions used in this
file.
(linux_get_reg): When register REGNO doesn't exist, provide zeros
for its value; don't use an uninitialized pointer.
(linux_set_reg): Delete unused variables.
(decr_pc_after_break): Fix printf format directive to match
arguments.
* ptrace-target.c (ptrace_read_user, ptrace_check_child_state,
ptrace_attach): Delete unused variables.
(ptrace_singlestep_program, ptrace_continue_program): Fix printf
format directive to match arguments.
* server.c (invalid_speed): Same.
(main): Initialize infd, outfd, and speed.
(tty_raw): Use proper name for speed_t "zero baud" value.
* thread-db.c: #include <string.h> and "gdbserv-utils.h", to get
declarations for functions used in this file.
(thread_db_open, wait_all_threads)
(thread_db_check_child_state, thread_db_get_thread_reg)
(thread_db_set_thread_reg): Fix printf format directive to match
arguments.
(continue_thread, thread_db_get_thread_reg, continue_all_threads,
thread_db_attach): Delete unused variables.

19 years ago* Makefile.in, aclocal.m4: Regenerated with automake 1.9.4.
jimb [Thu, 10 Mar 2005 23:15:35 +0000 (23:15 +0000)]
* Makefile.in, aclocal.m4: Regenerated with automake 1.9.4.

19 years agodaily update
amodra [Thu, 10 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoMake config.in generated automatically again.
jimb [Thu, 10 Mar 2005 22:52:55 +0000 (22:52 +0000)]
Make config.in generated automatically again.
* configure.in: Provide descriptions for all the preprocessor
symbols we define.
* configure: Regenerated.
* config.in: Regenerated using autoheader.

19 years ago* linux-target.c (frv_fdpic_loadmap_addresses): Use '%lx' for
jimb [Thu, 10 Mar 2005 22:00:16 +0000 (22:00 +0000)]
* linux-target.c (frv_fdpic_loadmap_addresses): Use '%lx' for
unsigned long argument.