OSDN Git Service
kevinb [Fri, 18 Mar 2005 21:03:38 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.
kevinb [Fri, 18 Mar 2005 21:03:27 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.
kettenis [Fri, 18 Mar 2005 20:46:32 +0000 (20:46 +0000)]
* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell. Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise. Adjust for changed calling convention of
decimal2str and octal2str.
kevinb [Fri, 18 Mar 2005 20:23:28 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.
kevinb [Fri, 18 Mar 2005 20:23:16 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.
kettenis [Fri, 18 Mar 2005 18:59:11 +0000 (18:59 +0000)]
From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.
nickc [Fri, 18 Mar 2005 17:20:22 +0000 (17:20 +0000)]
Add support for generating PLT lookups for the ColdFire.
jjohnstn [Fri, 18 Mar 2005 17:18:58 +0000 (17:18 +0000)]
2005-03-18 Hans-Peter Nilsson <hp@axis.com>
Corinna Vinschen <corinna@vinschen.de>
* libc/include/ctype.h: Remove invalid +1 offset from
ctype macro references to __ctype_ptr.
(_ctype_): Move declaration outside #ifndef __cplusplus.
mmitchel [Fri, 18 Mar 2005 17:06:12 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.
* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.
* arm.h (PT_ARM_EXIDX): Define.
mmitchel [Fri, 18 Mar 2005 17:06:02 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.
* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.
* arm.h (PT_ARM_EXIDX): Define.
jules [Fri, 18 Mar 2005 16:55:42 +0000 (16:55 +0000)]
* ld/scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
.rel.fini_array.
(.rela.dyn): Add .rela.init_array, .rela.fini_array.
(SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
pbrook [Fri, 18 Mar 2005 16:28:10 +0000 (16:28 +0000)]
2005-03-18 Paul Brook <paul@codesourcery.com>
* objdump.c (objdump_print_addr): Avoid uninitialized warning.
nickc [Fri, 18 Mar 2005 16:12:35 +0000 (16:12 +0000)]
Change wording of error message to "percent-operand" from "%operand" as the
latter confuses xgettext into thinking that it is a C printf formating directive,
which prevents proper translation.
hjl [Fri, 18 Mar 2005 15:56:25 +0000 (15:56 +0000)]
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
bfd_section when removing unused empty output sections for
non-relocatable link.
hjl [Fri, 18 Mar 2005 15:46:21 +0000 (15:46 +0000)]
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): Check bfd_is_const_section
for special sections.
amodra [Fri, 18 Mar 2005 13:56:25 +0000 (13:56 +0000)]
* ldlang.c (lang_insert_orphan): Use old section_tail rather than
traversing the bfd section list to find pointer to new section.
amodra [Fri, 18 Mar 2005 13:21:06 +0000 (13:21 +0000)]
* elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
section_sym_count param, and return number of section symbols.
(bfd_elf_size_dynamic_sections): Clear section symbol area of
.dynsym contents. Don't bother calling swap_symbol_out on the
first all-zero dynsym.
(elf_mark_used_section): Formatting. Avoid twiddling flags in
special sections like bfd_abs_section.
(bfd_elf_gc_sections): Spelling fix.
corinna [Fri, 18 Mar 2005 09:46:26 +0000 (09:46 +0000)]
* libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
evaluate first parameter only once.
(siglongjmp): Ditto.
gdbadmin [Fri, 18 Mar 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
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.
kettenis [Thu, 17 Mar 2005 22:11:07 +0000 (22:11 +0000)]
* defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.
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.
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.
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.
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.
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.
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.
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.
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.
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.
dnovillo [Thu, 17 Mar 2005 13:21:31 +0000 (13:21 +0000)]
* MAINTAINERS: Remove self as maintainer of x86 intel
mode.
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.
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.
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.
nickc [Thu, 17 Mar 2005 08:38:14 +0000 (08:38 +0000)]
Updated Vietnamese translation.
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.
hp [Thu, 17 Mar 2005 02:31:57 +0000 (02:31 +0000)]
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
-DCOMPACT_CTYPE.
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.
gdbadmin [Thu, 17 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 16 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
cgf [Wed, 16 Mar 2005 22:08:33 +0000 (22:08 +0000)]
complete a sentenc
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.
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.
cgf [Wed, 16 Mar 2005 21:50:13 +0000 (21:50 +0000)]
* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.
cgf [Wed, 16 Mar 2005 21:21:18 +0000 (21:21 +0000)]
missing file from previous checkin.
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.
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.
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.
dj [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc
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".
nickc [Wed, 16 Mar 2005 17:26:21 +0000 (17:26 +0000)]
Fix typo introduced by previous delta
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.
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.
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.
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.
nickc [Wed, 16 Mar 2005 16:16:56 +0000 (16:16 +0000)]
Enable -Werror by default
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.
nickc [Wed, 16 Mar 2005 14:56:55 +0000 (14:56 +0000)]
Convert to ISO C90 formatting
nickc [Wed, 16 Mar 2005 14:37:11 +0000 (14:37 +0000)]
Convert to ISO C90 formatting.
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.
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.
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.
cgf [Wed, 16 Mar 2005 01:00:04 +0000 (01:00 +0000)]
* errno.cc (errmap): Correct typo in previous change.
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>
gdbadmin [Wed, 16 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
amodra [Tue, 15 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
nickc [Tue, 15 Mar 2005 17:49:12 +0000 (17:49 +0000)]
Add cutoff for changes in 2.16 release
nickc [Tue, 15 Mar 2005 17:45:17 +0000 (17:45 +0000)]
Add new switch --globalize-symbol to convert local symbols into globals.
nickc [Tue, 15 Mar 2005 16:20:41 +0000 (16:20 +0000)]
Step through the sorted array of basic blocks.
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 ~.
nickc [Tue, 15 Mar 2005 14:13:59 +0000 (14:13 +0000)]
Add support for an x86_64-elf target
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.
amodra [Tue, 15 Mar 2005 05:25:14 +0000 (05:25 +0000)]
Commit new Spanish translation.
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.
gdbadmin [Tue, 15 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 14 Mar 2005 23:39:07 +0000 (23:39 +0000)]
Commit new French translation.
amodra [Mon, 14 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
amodra [Mon, 14 Mar 2005 12:32:02 +0000 (12:32 +0000)]
* gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
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.
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 ... >"
amodra [Mon, 14 Mar 2005 03:40:41 +0000 (03:40 +0000)]
Commit new Turkish translation.
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.
gdbadmin [Mon, 14 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 13 Mar 2005 23:42:46 +0000 (23:42 +0000)]
* po/tr.po: Commit new Turkish translation.
amodra [Sun, 13 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
jimb [Sun, 13 Mar 2005 05:37:46 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.
gdbadmin [Sun, 13 Mar 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 12 Mar 2005 23:00:07 +0000 (23:00 +0000)]
daily update
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.
zack [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops
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.
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.