deliverable/binutils-gdb.git
14 years agomerge from gcc
DJ Delorie [Wed, 9 Sep 2009 17:08:23 +0000 (17:08 +0000)] 
merge from gcc

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 17:05:46 +0000 (17:05 +0000)] 
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.

bfd:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regnerate.

14 years ago PR 10478:
Nick Clifton [Wed, 9 Sep 2009 15:03:54 +0000 (15:03 +0000)] 
    PR 10478:
        * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
        section headers containing sh_link values of SHN_BEFORE or
        SHN_AFTER.
        * elfcode.h (elf_object_p): Likewise.

        readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
        SHF_ORDERED.
        (process_section_headers): Warn about out of range sh_link
        values.  When displaying detailed section header information
        annote the SHN_BEFORE and SHN_AFTER values.

14 years ago2009-09-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Sep 2009 14:58:12 +0000 (14:58 +0000)] 
2009-09-09  Tristan Gingold  <gingold@adacore.com>

Handle DYLD_INFO introduced by Darwin10.
* mach-o.h (bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_dyld_info_command): New type.
(bfd_mach_o_load_command): Add dyld_info field.
* mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
(bfd_mach_o_scan_read_dyld_info): New function.
(bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.
(bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_print_dyld_info): New function.

14 years ago * config/obj-coff.h (USE_UNIQUE): Don't define.
Alan Modra [Wed, 9 Sep 2009 13:19:51 +0000 (13:19 +0000)] 
* config/obj-coff.h (USE_UNIQUE): Don't define.
* config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
* symbols.c (an_external_name): Define when TE_PE.
(S_SET_EXTERNAL): Assign an_external_name when TE_PE.
* tc.h (an_external_name): Declare when TE_PE.

14 years ago * ld-elf/sec64k.exp: For frv-linux use "aw" sections.
Alan Modra [Wed, 9 Sep 2009 12:13:42 +0000 (12:13 +0000)] 
* ld-elf/sec64k.exp: For frv-linux use "aw" sections.
* ld-elf/seg.d: Cater for GNU_STACK segment.
* ld-elf/symbol1ref.s: Use data section.
* ld-elf/symbol2ref.s: Likewise.
* ld-scripts/empty-address-1.d: Don't run on frv-linux.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a.d: Likewise.
* ld-scripts/sort_b_a_a-1.d: Likewise.
* ld-scripts/sort_b_a_a-2.d: Likewise.
* ld-scripts/sort_b_a_a-3.d: Likewise.
* ld-scripts/sort_b_a_n-1.d: Likewise.
* ld-scripts/sort_b_a_n-2.d: Likewise.
* ld-scripts/sort_b_a_n-3.d: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n.d: Likewise.
* ld-scripts/sort_b_n_a-1.d: Likewise.
* ld-scripts/sort_b_n_a-2.d: Likewise.
* ld-scripts/sort_b_n_a-3.d: Likewise.
* ld-scripts/sort_b_n_n-1.d: Likewise.
* ld-scripts/sort_b_n_n-2.d: Likewise.
* ld-scripts/sort_b_n_n-3.d: Likewise.
* ld-scripts/sort_no-1.d: Likewise.
* ld-scripts/sort_no-2.d: Likewise.

14 years agoOnly provide ENTRY on final link.
Alan Modra [Wed, 9 Sep 2009 11:59:14 +0000 (11:59 +0000)] 
Only provide ENTRY on final link.

14 years ago * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
Alan Modra [Wed, 9 Sep 2009 09:31:16 +0000 (09:31 +0000)] 
* config/tc-i386.c (i386_target_format): Avoid duplicate case label.

14 years ago2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Wed, 9 Sep 2009 04:49:09 +0000 (04:49 +0000)] 
2009-09-09  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
       linkonce or linker script discarded section.

14 years ago * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
Alan Modra [Wed, 9 Sep 2009 01:38:40 +0000 (01:38 +0000)] 
* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.

14 years agodaily update
Alan Modra [Wed, 9 Sep 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Wed, 9 Sep 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago * target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.
Doug Evans [Tue, 8 Sep 2009 23:52:45 +0000 (23:52 +0000)] 
* target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.

14 years ago* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
DJ Delorie [Tue, 8 Sep 2009 23:51:11 +0000 (23:51 +0000)] 
* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
preprocessor macro, not an enum.

14 years ago2009-09-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Sep 2009 22:50:59 +0000 (22:50 +0000)] 
2009-09-08  Michael Snyder  <msnyder@vmware.com>

* amd64-linux-tdep.h (enum amd64_syscall): New enum consts,
to replace literal consts used in amd64-linux-tdep.c
* linux-record.h (enum gdb_syscall): New enum consts, to replace
literal consts used in amd64-linux-tdep.c and linux-record.c.
* amd64-linux-tdep.c (amd64_canonicalize_syscall): New function,
translate from native amd64 Linux syscall id to internal gdb id.
(amd64_linux_syscall_record): Switch statement abstracted out
and replaced with a call to amd64_canonicalize_syscall.
* linux-record.c (record_linux_system_call): Replace literal
consts with enum consts.
* i386-linux-tdep.c (i386_canonicalize_syscall): New function,
trivially translate from native i386 Linux syscalls to gdb syscalls.
(i386_linux_intx80_sysenter_record):

14 years ago * output.cc (Output_file::open): Add execute permission to empty file.
Cary Coutant [Tue, 8 Sep 2009 22:32:51 +0000 (22:32 +0000)] 
* output.cc (Output_file::open): Add execute permission to empty file.
* testsuite/Makefile.am (permission_test): New test.
* testsuite/Makefile.in: Regenerate.

14 years agoFix parallel check//% rule in gdb for non-VPATH build.
Ralf Wildenhues [Tue, 8 Sep 2009 18:50:40 +0000 (18:50 +0000)] 
Fix parallel check//% rule in gdb for non-VPATH build.

gdb/:
* gdb/Makefile.in (check//%): Parse 'config.status --version'
output to recreate the configuration from the testsuite directory,
rather than running 'config.status --recheck' from a different
build directory.  Let configure do the recursion rather than
doing it manually.

14 years agogdb/
Jan Kratochvil [Tue, 8 Sep 2009 18:07:23 +0000 (18:07 +0000)] 
gdb/
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups
before a return.

14 years agoFix toplevel config.status for HP-UX sed.
Ralf Wildenhues [Tue, 8 Sep 2009 17:55:50 +0000 (17:55 +0000)] 
Fix toplevel config.status for HP-UX sed.

/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.

14 years agogdb/
Jan Kratochvil [Tue, 8 Sep 2009 17:52:27 +0000 (17:52 +0000)] 
gdb/
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Return immediately if any of memory
reads fail.  Do not combine the VAL values.

14 years agogdb/
Jan Kratochvil [Tue, 8 Sep 2009 17:39:22 +0000 (17:39 +0000)] 
gdb/
Fix ia64 shadowing of breakpoints in multiple slots of a single bundle.
* ia64-tdep.c (ia64_memory_insert_breakpoint): New call
of make_show_memory_breakpoints_cleanup with parameter 0.  Move the
reading of SHADOW_CONTENTS to this memory state point of code.  Update
comment for the memory re-read.

gdb/testsuite/
* gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
$bpt2address.
(Second breakpoint address is valid on ia64)
(Third breakpoint on ia64 in the Second breakpoint's bundle): New.

14 years ago * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
Kaz Kojima [Tue, 8 Sep 2009 12:31:32 +0000 (12:31 +0000)] 
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.

14 years ago * gas/d30v/serial2.l: Adjust position of page break.
Alan Modra [Tue, 8 Sep 2009 10:37:59 +0000 (10:37 +0000)] 
* gas/d30v/serial2.l: Adjust position of page break.
* gas/lns/lns-common-1-alt.d: Match 2009-04-24 change.
* gas/mt/ms1-16-003.d: Correct reloc name.
* gas/mt/relocs.d: Elide incorrect file format strings.

14 years ago * read.c (emit_expr_fix): Handle size 3.
Alan Modra [Tue, 8 Sep 2009 10:36:39 +0000 (10:36 +0000)] 
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
* config/tc-d30v.c (write_long, write_1_short,
write_2_short, md_assemble): Likewise.
* config/tc-dlx.c (md_assemble): Likewise.
* config/tc-i860.c (md_assemble): Likewise.
* config/tc-mn10200.c (md_assemble): Likewise.
* config/tc-pj.c (md_assemble): Likewise.
* config/tc-vax.c (md_assemble): Likewise.

14 years ago * binutils-all/objdump.exp (cpus_expected): Add ms1.
Alan Modra [Tue, 8 Sep 2009 10:35:07 +0000 (10:35 +0000)] 
* binutils-all/objdump.exp (cpus_expected): Add ms1.

14 years ago * dwarf.c (byte_get_little_endian): Handle size of 3.
Alan Modra [Tue, 8 Sep 2009 10:34:27 +0000 (10:34 +0000)] 
* dwarf.c (byte_get_little_endian): Handle size of 3.
(byte_get_big_endian): Likewise.
* readelf.c (byte_put_little_endian): Likewise.
(byte_put_big_endian): Likewise.
(is_24bit_abs_reloc): New function.
(is_none_reloc): Formatting.
(apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
reloc peculiarity.

14 years ago2009-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Tue, 8 Sep 2009 10:05:04 +0000 (10:05 +0000)] 
2009-09-08  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

        * ld-elf/merge.d: xfail cr16-*-*.

14 years ago* z8kgen.c (struct op): Replace unused flavor with id.
Andreas Schwab [Tue, 8 Sep 2009 09:47:52 +0000 (09:47 +0000)] 
* z8kgen.c (struct op): Replace unused flavor with id.
(opt): Remove extra xorb entry.
(func): Use id field as fallback.
(sub): Return new string, caller changed.
(internal): Allocate end marker.  Assign unique id before sorting.
(gas): Likewise.  Fix loop end condition.
* z8k-opc.h: Regenerate.

14 years ago * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
Alan Modra [Tue, 8 Sep 2009 09:00:47 +0000 (09:00 +0000)] 
* ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.

14 years ago * gas/all/gas.exp (do_comment): Don't run on m32c.
Alan Modra [Tue, 8 Sep 2009 02:54:56 +0000 (02:54 +0000)] 
* gas/all/gas.exp (do_comment): Don't run on m32c.
* gas/all/align.d: Likewise.
* gas/all/incbin.d: Likewise.
* gas/macros/semi.d: Likewise.
* gas/elf/ifunc-1.d: Don't run on alpha.

14 years ago * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding.
Alan Modra [Tue, 8 Sep 2009 01:15:50 +0000 (01:15 +0000)] 
* ld-elf/eh5.d: Don't run on hppa64.  Allow non-pcrel encoding.
Skip extra CIEs emitted on embedded targets and adjust FDE
matches to suit.

14 years ago2009-09-07 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Sep 2009 00:50:42 +0000 (00:50 +0000)] 
2009-09-07  Michael Snyder  <msnyder@vmware.com>

* record.c: Minor comment and white space fix-ups.

14 years agodaily update
Alan Modra [Tue, 8 Sep 2009 00:00:08 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 8 Sep 2009 00:00:04 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agobinutils/
Jan Kratochvil [Mon, 7 Sep 2009 18:08:52 +0000 (18:08 +0000)] 
binutils/
* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
New.

14 years agobinutils/
Jan Kratochvil [Mon, 7 Sep 2009 18:07:02 +0000 (18:07 +0000)] 
binutils/
* dwarf.c (process_debug_info): Support section padding abbrev codes.

binutils/testsuite/
* binutils-all/testranges.s (.debug_info): Pad the only CU.

14 years agobinutils/testsuite/
Jan Kratochvil [Mon, 7 Sep 2009 18:02:59 +0000 (18:02 +0000)] 
binutils/testsuite/
* binutils-all/testranges.s: Replace all .long by .4byte.

14 years agogdb/
Jan Kratochvil [Mon, 7 Sep 2009 17:52:41 +0000 (17:52 +0000)] 
gdb/
* m68k-tdep.c (m68k_gdbarch_init): Allocate TDEP as cleared.
* sparc-tdep.c (sparc32_gdbarch_init): Allocate TDEP as cleared.
Remove explicit clearing of TDEP fields.

14 years ago9-09-07 Daniel Gutson <dgutson@codesourcery.com>
Daniel Gutson [Mon, 7 Sep 2009 16:34:39 +0000 (16:34 +0000)] 
9-09-07  Daniel Gutson  <dgutson@codesourcery.com>

        * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
        * doc/c-arm.texi: cortex-r4f CPU added.

14 years ago* elf32-m68k.c (rtype_to_howto): If the reloc index is out of
Andreas Schwab [Mon, 7 Sep 2009 16:29:34 +0000 (16:29 +0000)] 
* elf32-m68k.c (rtype_to_howto): If the reloc index is out of
range call the bfd error hander and use R_68K_NONE instead.

14 years ago * z8kgen.c (func): Fix thinko last patch.
Alan Modra [Mon, 7 Sep 2009 13:01:35 +0000 (13:01 +0000)] 
* z8kgen.c (func): Fix thinko last patch.

14 years ago * z8kgen.c (func): Stabilize qsort of identically named entries.
Alan Modra [Mon, 7 Sep 2009 12:11:20 +0000 (12:11 +0000)] 
* z8kgen.c (func): Stabilize qsort of identically named entries.
* z8k-opc.h: Regenerate.

14 years agobfd
Tristan Gingold [Mon, 7 Sep 2009 11:29:56 +0000 (11:29 +0000)] 
bfd
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.

binutils
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/binutils.pot: Regenerate.

gas
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/POTFILES.in: Regenerate.
* po/gas.pot: Regenerate.

gprof
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/gprof.pot: Regenerate.

ld
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/ld.pot: Regenerate.

opcodes
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/opcodes.pot: Regenerate.

14 years ago2009-09-06 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 7 Sep 2009 11:09:33 +0000 (11:09 +0000)] 
2009-09-06  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_record_check_override): Deleted.
(i386_record_lea_modrm): Ditto.
(i386_process_record): Ditto.

14 years ago * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
Alan Modra [Mon, 7 Sep 2009 10:54:25 +0000 (10:54 +0000)] 
* configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
* configure: Regenerate.
* Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
(BUILD_LIBS, BUILD_LIB_DEPS): Define.  Use..
(i386-gen, ia64-gen, z8kgen): ..here.
* Makefile.in: Regenerate.

14 years agobfd/:
Tristan Gingold [Mon, 7 Sep 2009 09:15:31 +0000 (09:15 +0000)] 
bfd/:
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
* configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec to gas/configure.in
(bfd_elf64_ia64_vms_vec): Remove vmsutil.lo
* configure: Regenerate.
* config.in: Regenerate.
* vmsutil.c: Moved to gas/config/te-vms.c
* vmsutil.h: Removed.
* Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c
(BFD32_BACKENDS): Remove vmsutil.lo
* Makefile.in: Regenerate.

gas/:
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (TARG_ENV_CFILES): New variable.  Set to te-vms.c
(POTFILES): Add $(TARG_ENV_CFILES) in definition.
(EXTRA_as_new_SOURCES): Ditto.
* Makefile: Regenerate.
* acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
* configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec (from bfd/configure.in).  Check for time.h and
sys/stat.h headers.
Add te-vms.o in extra_objects if te_file is vms.
* configure: Regenerate.
* config.in: Regenerate.
* config/te-vms.c: New file, from bfd/vmsutil.c
(vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
(vms_dwarf2_file_name): New functions.
(vms_file_stats_name): Make it static, add a dirname parameter to
locally create the full pathname.
* config/te-vms.h: Add a copyright header.
Declare the above functions.
(DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
the above functions in the definition.
* makefile.vms (OBJS): Add te-vms.obj.
(te-vms.obj): Create a specific target.
* configure.com: Create targ-env.h using a per target value.
Compile te-vms.c for ia64.

14 years ago2009-09-07 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 7 Sep 2009 08:14:09 +0000 (08:14 +0000)] 
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* z8k-opc.h: Regenerate.

14 years agoChangeLog:
Alexandre Oliva [Mon, 7 Sep 2009 00:44:08 +0000 (00:44 +0000)] 
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.
config/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

14 years ago*** empty log message ***
gdbadmin [Mon, 7 Sep 2009 00:00:06 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 7 Sep 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years agodaily update
Alan Modra [Sun, 6 Sep 2009 00:00:35 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 6 Sep 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago * coffcode.h: Include libiberty.h.
Eli Zaretskii [Sat, 5 Sep 2009 16:38:48 +0000 (16:38 +0000)] 
* coffcode.h: Include libiberty.h.

14 years ago * config/djgpp/djconfig.sh: Fix for Autoconf 2.64.
Eli Zaretskii [Sat, 5 Sep 2009 15:43:31 +0000 (15:43 +0000)] 
* config/djgpp/djconfig.sh: Fix for Autoconf 2.64.
* config/djgpp/config.sed: Fix for Autoconf 2.64.

14 years ago2009-09-05 Hui Zhu <teawater@gmail.com>
Hui Zhu [Sat, 5 Sep 2009 15:37:02 +0000 (15:37 +0000)] 
2009-09-05  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_record_s): Add orig_addr.
(i386_record_check_override): New function.
(i386_record_lea_modrm): Call i386_record_check_override.
(i386_process_record): Ditto.

14 years ago gas/
Jie Zhang [Sat, 5 Sep 2009 15:00:09 +0000 (15:00 +0000)] 
gas/
* doc/as.texinfo: Document that Blackfin GAS does not
accept SYMBOL = VALUE.

ld/testsuite/
* ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.

14 years agobinutils/
Jan Kratochvil [Sat, 5 Sep 2009 11:09:35 +0000 (11:09 +0000)] 
binutils/
* Makefile.am (sysdump.o): Depend on sysroff.c.
* Makefile.in: Regenerate.

14 years ago * bfd/coff-arm.c (coff_arm_relocate_section)
Nick Clifton [Sat, 5 Sep 2009 07:56:26 +0000 (07:56 +0000)] 
    * bfd/coff-arm.c (coff_arm_relocate_section)
        (record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
        Change member name class to symbol_class.
        * bfd/coff-i960.c (coff_i960_relocate_section) Rename variable
        class to class_val. Change member name class to symbol_class.
        * bfd/coff-rs6000.c (_bfd_xcoff_swap_aux_in)
        (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
        * bfd/coff-stgo32.c (adjust_aux_in_post)
        (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
        to in_class.
        * bfd/coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
        (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
        * bfd/coffcode.h (coff_pointerize_aux_hook): Rename variable class
        to n_sclass.
        * bfd/coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
        variables named class to n_sclass. (coff_write_symbols): Rename
        variable class to sym_class. (bfd_coff_set_symbol_class): Rename
        argument class to symbol_class.
        * bfd/cofflink.c (_bfd_coff_link_hash_newfunc)
        (coff_link_add_symbols, _bfd_coff_link_input_bfd)
        (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
        Update code to use renamed members.
        * bfd/coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
        argument class to in_class.
        * bfd/libcoff-in.h (struct coff_link_hash_entry, struct
        coff_debug_merge_type) Renamed members class to symbol_class and
        type_class.
        * bfd/libcoff.h Regenerated.
        * bfd/peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
        Rename argument class to in_class.
        * bfd/pef.c (bfd_pef_parse_imported_symbol): Update code to use
        renamed members.
        * bfd/pef.h (struct bfd_pef_imported_symbol): Changed name of
        member class to symbol_class.
        * binutils/ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class)
        (ieee_read_reference): Rename variables named class to cxxclass.
        * gas/config/tc-arc.c (struct syntax_classes): Rename member class
        to s_class. (arc_extinst): Rename variable class to
        s_class. Update code to use renamed members.
        * gas/config/tc-mips.c (insn_uses_reg): Rename argument class to
        regclass.
        * gas/config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
        (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
        (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
        members.
        * gas/config/tc-ppc.h (struct ppc_tc_sy): Change name of member
        from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
        code to use renamed members.
        * gas/config/tc-score.c (s3_adjust_paritybit): Rename argument
        class to i_class.
        * gas/config/tc-score7.c (s7_adjust_paritybit): Rename argument
        class to i_class.
        * gprof/corefile.c (core_create_function_syms): Rename variable
        class to cxxclass.
        * include/coff/ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name
        of class variable to in_class to match changes in function that
        use this macro.
        * include/opcode/ia64.h (struct ia64_operand): Renamed member
        class to op_class
        * ld/emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols)
        (gld${EMULATION_NAME}_try_needed): Rename variable class to
        link_class
        * opcodes/ia64-dis.c (print_insn_ia64): Update code to use renamed
        member.
        * opcodes/m88k-dis.c (m88kdis): Rename variable class to in_class.
        * opcodes/tic80-opc.c (tic80_symbol_to_value)
        (tic80_value_to_symbol): Rename argument class to symbol_class.

14 years ago* binutils-all/objdump.exp: Add m16c and m32c to the list of
DJ Delorie [Sat, 5 Sep 2009 00:42:29 +0000 (00:42 +0000)] 
* binutils-all/objdump.exp: Add m16c and m32c to the list of
expected cpus.

14 years ago*** empty log message ***
gdbadmin [Sat, 5 Sep 2009 00:00:34 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 5 Sep 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago * dwarf2loc.c (struct piece_closure): New.
Nathan Froyd [Fri, 4 Sep 2009 20:05:25 +0000 (20:05 +0000)] 
* dwarf2loc.c (struct piece_closure): New.
(allocate_piece_closure): New function.
(read_pieced_value): New function.
(write_pieced_value): New function.
(copy_pieced_value_closure): New function.
(free_pieced_value_closure): New function.
(pieced_value_funcs): Define.
(dwarf2_evaluate_loc_desc): Return a computed value for a variable
described with pieces.

14 years ago2009-09-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 Sep 2009 14:42:35 +0000 (14:42 +0000)] 
2009-09-04  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

14 years ago2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
H.J. Lu [Fri, 4 Sep 2009 14:33:39 +0000 (14:33 +0000)] 
2009-09-04  Ozkan Sezer  <sezeroz@gmail.com>

PR target/39065
* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
* config.in: Regenerated.
* configure: Regenerated.

14 years ago2009-09-04 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 4 Sep 2009 09:53:18 +0000 (09:53 +0000)] 
2009-09-04  Tristan Gingold  <gingold@adacore.com>

* BRANCHES: Add binutils-2_20-branch.

14 years agobfd/
Tristan Gingold [Fri, 4 Sep 2009 08:48:19 +0000 (08:48 +0000)] 
bfd/
2009-09-04  Tristan Gingold  <gingold@adacore.com>

* configure.in: Bump version to 2.20.51
* configure: Regenerated.

14 years agobinutils/
Tristan Gingold [Fri, 4 Sep 2009 08:23:49 +0000 (08:23 +0000)] 
binutils/
2009-09-04  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.20.

gas/
2009-09-04  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.20.

ld/
2009-09-04  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add marker for 2.20.

14 years ago * elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic.
Alan Modra [Fri, 4 Sep 2009 06:54:12 +0000 (06:54 +0000)] 
* elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic.

14 years ago * scripttempl/elf.sc (.text): Add cold text sections.
Alan Modra [Fri, 4 Sep 2009 06:35:29 +0000 (06:35 +0000)] 
* scripttempl/elf.sc (.text): Add cold text sections.

14 years ago gas/
Jie Zhang [Fri, 4 Sep 2009 04:29:42 +0000 (04:29 +0000)] 
  gas/
* config/bfin-parse.y (asm_1): Implement HLT instruction.
Fix comments for DBGA, DBGAH and DBGAL.
* config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
to the new encoding of DBGA, DBGAH, and DBGAL.

include/
* opcode/bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
(PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
(PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
Adjust accordingly.
(init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
PseudoDbg_Assert_grp_mask.

opcodes/
* bfin-dis.c (decode_pseudodbg_assert_0): Change according
to the new encoding of DBGA, DBGAH, and DBGAL.
(_print_insn_bfin): Likewise.

14 years ago * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
Jie Zhang [Fri, 4 Sep 2009 04:07:58 +0000 (04:07 +0000)] 
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
and .l2.data.

14 years ago * elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always
Jie Zhang [Fri, 4 Sep 2009 03:35:32 +0000 (03:35 +0000)] 
* elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always
create .rela.bss.
(elf32_bfinfdpic_size_dynamic_sections): Set SEC_EXCLUDE flag
for empty .rela.bss and .rel.plt sections.

14 years ago * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
Jie Zhang [Fri, 4 Sep 2009 02:48:08 +0000 (02:48 +0000)] 
* gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
for (IU) option for multiply and multiply-accumulate to
data register instructon.

14 years ago * doc/all.texi: Replace BFIN with Blackfin.
Jie Zhang [Fri, 4 Sep 2009 02:31:44 +0000 (02:31 +0000)] 
* doc/all.texi: Replace BFIN with Blackfin.
* doc/as.texinfo: Likewise.
* doc/c-bfin.texi: Likewise.
* doc/asconfig.texi: Likewise.

* doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
bf516 and bf518.

14 years ago * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
Jie Zhang [Fri, 4 Sep 2009 02:13:36 +0000 (02:13 +0000)] 
* Makefile.am (bfin-parse.o): Remove bfin-parse.h from
the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
prerequisite.
(bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
(bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
(bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
to the prerequisite.
* Makefile.in: Regenerate.

14 years ago2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
Dave Korn [Fri, 4 Sep 2009 01:22:19 +0000 (01:22 +0000)] 
2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>

* dlltool.c (delayimp_name): Add new global variable
(usage, long_options, main): Add new option "-y" / "--output-delaylib"
(struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
how_dljtab_roff2, how_dljtab, trampoline.
(i386_dljtab): Add binary stub for x86 delay import.
(i386_trampoline): Add text assembly stub for x86 delay import.
(mtable): Add delay import data for M386 and MX86 only.
(make_delay_head): New function.
(make_one_lib_file): New arg delay creates delay-load import stub.
(gen_lib_file): New arg delay likewise.
(HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
(HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
(make_tail): Convert hard TABS embedded in strings to "\t" escapes.
* NEWS: Mention new feature.  Also fix whitespace.
* doc/binutils.texi: Updated dlltool documentation.

14 years agodaily update
Alan Modra [Fri, 4 Sep 2009 00:31:20 +0000 (00:31 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 4 Sep 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agoFix itbl-parse.h dependencies in gas.
Ralf Wildenhues [Thu, 3 Sep 2009 22:11:21 +0000 (22:11 +0000)] 
Fix itbl-parse.h dependencies in gas.

gas/:
* Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
(itbl-ops.o, itbl-tops.o): Likewise.
(itbl-parse.h): Use separate rule.
* Makefile.in: Regenerate.

14 years ago * gdb.base/ending-run.exp: Restrict regular expression matching
Joseph Myers [Thu, 3 Sep 2009 22:03:21 +0000 (22:03 +0000)] 
* gdb.base/ending-run.exp: Restrict regular expression matching
line number to require closing brace following.

14 years ago * gdb.base/store.exp (check_set): Fix typo in expected value message.
Doug Evans [Thu, 3 Sep 2009 21:44:49 +0000 (21:44 +0000)] 
* gdb.base/store.exp (check_set): Fix typo in expected value message.

14 years ago * arm-tdep.c (displaced_write_reg): Replace call to abort by call
Joel Brobecker [Thu, 3 Sep 2009 18:52:02 +0000 (18:52 +0000)] 
    * arm-tdep.c (displaced_write_reg): Replace call to abort by call
        to internal_error.

14 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate
Adam Nemet [Thu, 3 Sep 2009 18:31:00 +0000 (18:31 +0000)] 
* elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate
R_MIPS_JALR unless symbol resolves locally.

14 years ago * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
Adam Nemet [Thu, 3 Sep 2009 18:21:21 +0000 (18:21 +0000)] 
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
has_static_relocs for R_MIPS_JALR.

14 years agold/ChangeLog:
Dave Korn [Thu, 3 Sep 2009 18:04:35 +0000 (18:04 +0000)] 
ld/ChangeLog:

* scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
new GCC hot/cold/unlikely partitions.
* scripttempl/pep.sc: Likewise.
* scripttempl/epocpe.sc: Likewise.
* scripttempl/mcorepe.sc: Likewise.
* scripttempl/ppcpe.sc: Likewise.

ld/testsuite/ChangeLog:

* ld-pe/longsecn.d: Adjusted to match new .text section merging
in default PE linker scripts.
* ld-pe/longsecn-1.d: Likewise.
* ld-pe/longsecn-2.d: Likewise.

14 years ago * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
Jie Zhang [Thu, 3 Sep 2009 18:03:38 +0000 (18:03 +0000)] 
* config/tc-bfin.c (md_parse_option): Call as_fatal for bad
-mcpu= option.

14 years ago * config/bfin-lex.l: Remove V as STATUS_REG.
Jie Zhang [Thu, 3 Sep 2009 17:52:06 +0000 (17:52 +0000)] 
* config/bfin-lex.l: Remove V as STATUS_REG.

14 years ago gas/
Jie Zhang [Thu, 3 Sep 2009 17:42:53 +0000 (17:42 +0000)] 
gas/
* config/bfin-parse.y: Remove trailing whitespace.
(ccstat): Indent.
* config/tc-bfin.c (struct bfin_reg_entry): Remove.
(bfin_reg_info[]): Remove.

opcodes/
* bfin-dis.c (_print_insn_bfin): Don't declare.
(print_insn_bfin): Don't declare.
(dregs_pair): Remove.
(ignore_bits): Remove.
(ccstat): Remove.

14 years ago * config/bfin-defs.h (F_REG_ALL): Remove macro.
Jie Zhang [Thu, 3 Sep 2009 17:06:38 +0000 (17:06 +0000)] 
* config/bfin-defs.h (F_REG_ALL): Remove macro.
(F_REG_HIGH): Redefine.
(F_REG_NONE): New macro.
(F_REG_LOW): New macro.
(REG_CLASS): Enclose macro argument in parentheses when used.
(REG_EVEN): Likewise.
(IS_H): Use flags.
(IS_HCOMPL): Use flags.
* config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
(parse_reg): Set flags.
(parse_halfreg): Set flags.

14 years ago * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
Jie Zhang [Thu, 3 Sep 2009 16:50:39 +0000 (16:50 +0000)] 
* config/bfin-parse.y (gen_multi_instr_1): Check anomaly
05000074 only when both slot1 and slot2 are filled.

testsuite/
* gas/bfin/parallel5.s: New test.
* gas/bfin/error.exp: New test.

14 years ago2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
H.J. Lu [Thu, 3 Sep 2009 16:46:55 +0000 (16:46 +0000)] 
2009-09-03  Ozkan Sezer  <sezeroz@gmail.com>

PR target/39065
* configure.ac: Also check for intptr_t.
* config.h.in: Regenerated.
* configure: Regenerated.
* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
instead of of long.

14 years ago * config/tc-bfin.c (md_assemble): Bump line counters if there is
Jie Zhang [Thu, 3 Sep 2009 16:32:42 +0000 (16:32 +0000)] 
* config/tc-bfin.c (md_assemble): Bump line counters if there is
EOL in the instruction.

testsuite/
* gas/bfin/line_number.l, gas/bfin/line_number.s: New test.
* gas/bfin/bfin.exp: Add the new test.

14 years ago gas/
Jie Zhang [Thu, 3 Sep 2009 16:17:36 +0000 (16:17 +0000)] 
gas/
* config/bfin-defs.h (IS_GENREG): Define.
(IS_DAGREG): Define.
(IS_SYSREG): Define.
* config/bfin-parse.y (asm_1): Check illegal register move
instructions.

gas/testsuite/
* gas/bfin/expected_move_errors.s,
gas/bfin/expected_move_errors.l: Add "LC1 = I0;".
* gas/bfin/move.s, gas/bfin/move.d: Remove "CYCLES = A0.W".

opcodes/
* bfin-dis.c (IS_DREG): Define.
(IS_PREG): Define.
(IS_AREG): Define.
(IS_GENREG): Define.
(IS_DAGREG): Define.
(IS_SYSREG): Define.
(decode_REGMV_0): Check illegal register move instructions.

14 years ago * config/bfin-parse.y (asm_1): Fix a typo.
Jie Zhang [Thu, 3 Sep 2009 15:48:16 +0000 (15:48 +0000)] 
* config/bfin-parse.y (asm_1): Fix a typo.

testsuite/
* gas/bfin/expected_comparison_errors.l: Expect error on Line 13.

14 years ago * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
Jie Zhang [Thu, 3 Sep 2009 15:36:02 +0000 (15:36 +0000)] 
* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
* config/tc-bfin.c (bfin_start_line_hook): Remove.
(bfin_loop_beginend): New.
* config/tc-bfin.h (bfin_start_line_hook): Don't declare.
(md_start_line_hook): Don't define.
* config/bfin-aux.h (bfin_loop_beginend): Declare.

testsuite/
* gas/bfin/loop.s, gas/bfin/loop.d: New test.
* gas/bfin/loop2.s, gas/bfin/loop2.d: New test.
* gas/bfin/loop3.s, gas/bfin/loop3.d: New test.
* gas/bfin/bfin.exp: Add the new tests.

14 years ago * elf64-mips.c (mips_elf64_howto_table_rela): Add support for
Maciej W. Rozycki [Thu, 3 Sep 2009 15:21:09 +0000 (15:21 +0000)] 
* elf64-mips.c (mips_elf64_howto_table_rela): Add support for
R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the
respective stubs.

14 years ago2009-09-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Sep 2009 13:20:31 +0000 (13:20 +0000)] 
2009-09-03  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
Call xstrdup on the result and free the buffer after use.

14 years ago2009-09-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Sep 2009 12:54:21 +0000 (12:54 +0000)] 
2009-09-03  Tristan Gingold  <gingold@adacore.com>

* as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.

14 years ago * Makefile.am (BUILD_LIBINTL): New variable.
Dave Korn [Thu, 3 Sep 2009 04:47:46 +0000 (04:47 +0000)] 
* Makefile.am (BUILD_LIBINTL): New variable.
(i386-gen$(EXEEXT_FOR_BUILD)): Use it.
(ia64-gen$(EXEEXT_FOR_BUILD)): And here.
(z8kgen$(EXEEXT_FOR_BUILD)): And here.
* Makefile.in: Regenerate.

14 years agoupdate copyright dates
Alan Modra [Thu, 3 Sep 2009 02:02:48 +0000 (02:02 +0000)] 
update copyright dates

This page took 0.055682 seconds and 4 git commands to generate.