OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago2009-08-26 Michael Snyder <msnyder@vmware.com>
msnyder [Thu, 27 Aug 2009 00:05:08 +0000 (00:05 +0000)]
2009-08-26  Michael Snyder  <msnyder@vmware.com>

* gdb.base/i386-reverse.c: New file.
* gdb.base/i386-reverse.exp: New file.
* gdb.base/Makefile.in: Add new files to be removed.

14 years ago*** empty log message ***
gdbadmin [Thu, 27 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 27 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-22 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 26 Aug 2009 23:59:18 +0000 (23:59 +0000)]
2009-08-22  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c (i386_process_record): Break out of prefix loop
if not amd64.  Otherwise inc/dec instructions are lost.

14 years ago* config/tc-mep.c (md_pcrel_from_section): Handle any other
dj [Wed, 26 Aug 2009 23:28:12 +0000 (23:28 +0000)]
* config/tc-mep.c (md_pcrel_from_section): Handle any other
forced-relocation cases.

14 years ago * path.h (INTERIX_SYMLINK_COOKIE): Define.
corinna [Wed, 26 Aug 2009 20:32:35 +0000 (20:32 +0000)]
* path.h (INTERIX_SYMLINK_COOKIE): Define.
* path.cc (symlink_info::check_sysfile): Read Interix symlinks as well.

14 years ago * fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
corinna [Wed, 26 Aug 2009 19:37:33 +0000 (19:37 +0000)]
* fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
are not used.

14 years ago * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
jsm28 [Wed, 26 Aug 2009 19:12:17 +0000 (19:12 +0000)]
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.

14 years agomoxie fixes in gas.
rwild [Wed, 26 Aug 2009 18:27:35 +0000 (18:27 +0000)]
moxie fixes in gas.

gas/:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
* config/tc-moxie.c (md_assemble): Fix typos in strings.  Fix
syntax error.
* Makefile.in: Regenerate.
* po/POTFILES.in: Likewise.
* po/gas.pot: Likewise.

14 years ago * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
nickc [Wed, 26 Aug 2009 13:42:27 +0000 (13:42 +0000)]
    * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
        relocations.  Rewrite output of dynamic TLS relocations.
        (DTP_OFFSET, TP_OFFSET): New constants.
        (dtpoff_base): Update.
        (tpoff): Rename to tpoff_base, update.
        (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared):
        New functions.  Move code from elf_m68k_relocate_section here.
        (elf_m68k_relocate_section): Update.
        (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.

14 years ago * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
nickc [Wed, 26 Aug 2009 13:35:36 +0000 (13:35 +0000)]
    * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
        value.
        (elf_m68k_check_relocs): Handle dynamic TLS relocations.
        Handle non_got_ref field.
        (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field.

        * tls-def-1.s, tls-def-1.d, tls-gd-1.d2, tls-gd-1.d3, tls-main-1.s,
        * tls-main-1.d: New files.
        * m68k.exp: Run new TLS tests.

14 years ago * m68k-dis.c (print_insn_arg): Add movecr register names for
nickc [Wed, 26 Aug 2009 13:16:27 +0000 (13:16 +0000)]
    * m68k-dis.c (print_insn_arg): Add movecr register names for
        coldfire v4e families.

14 years ago PR ld/10555
nickc [Wed, 26 Aug 2009 13:08:06 +0000 (13:08 +0000)]
    PR ld/10555
        * emultempl/elf32.em (_after_open): Do not create a
        .note.gnu-build-id section if there are no input files.

14 years ago * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
nickc [Wed, 26 Aug 2009 08:26:52 +0000 (08:26 +0000)]
    * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
        seh_ctx_root being NULL.

14 years ago * new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
corinna [Wed, 26 Aug 2009 08:15:49 +0000 (08:15 +0000)]
* new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
charsets.

14 years ago PR ld/10515
amodra [Wed, 26 Aug 2009 04:33:41 +0000 (04:33 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Revert warning.

14 years agoFix confusing sentence about autoconf in gdbint.texinfo.
rwild [Wed, 26 Aug 2009 04:16:38 +0000 (04:16 +0000)]
Fix confusing sentence about autoconf in gdbint.texinfo.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Fix confusing sentence
about autoconf.

14 years ago PR ld/10515
amodra [Wed, 26 Aug 2009 01:21:55 +0000 (01:21 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Override a "*" match by any
other wildcard match.  Warn on multiple wildcard matches.

14 years agodaily update
amodra [Wed, 26 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

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

14 years ago2009-08-25 Andy Koppe <andy.koppe@gmail.com>
jjohnstn [Tue, 25 Aug 2009 18:47:24 +0000 (18:47 +0000)]
2009-08-25  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
        numbers.
        * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
        charsets.
        * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.

14 years ago * c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3
kseitz [Tue, 25 Aug 2009 18:40:43 +0000 (18:40 +0000)]
* c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3
searches.
(tokentab3): Add cxx_only for DOT_STAR.

14 years ago * sim-model.scm (-gen-mach-defns): Use @PREFIX@_INSN__MAX instead of
devans [Tue, 25 Aug 2009 16:30:06 +0000 (16:30 +0000)]
* sim-model.scm (-gen-mach-defns): Use @PREFIX@_INSN__MAX instead of
@CPU@_INSN__MAX.  Use @prefix@ instead of @cpu@ for engine_run
routines.

14 years agotweak previous change for consistency
devans [Tue, 25 Aug 2009 16:19:48 +0000 (16:19 +0000)]
tweak previous change for consistency

14 years ago * doc/pmacros.texi (pmacro default argument values): Add text.
devans [Tue, 25 Aug 2009 16:13:34 +0000 (16:13 +0000)]
* doc/pmacros.texi (pmacro default argument values): Add text.

14 years ago gdb/
palves [Tue, 25 Aug 2009 15:24:10 +0000 (15:24 +0000)]
gdb/
* inferior.c (print_inferior): Align columns left.  Remove header
for the the "current" column.  Rename column "Id" to "Num".
Rename column "PID" to "Description".  Print if there's no selected
inferior.

gdb/doc/
* gdb.texinfo (Debugging Multiple Inferiors): Add "info inferiors"
small example, and describe its columns.  Replace "inferior-id" by
"infno" throughout.

14 years agogdb/
jkratoch [Tue, 25 Aug 2009 14:06:44 +0000 (14:06 +0000)]
gdb/
Fix ia64 start crash when GDB built with -lmcheck.
* ia64-tdep.c (ia64_gdbarch_init): Allocate TDEP as cleared.  Remove
specific clearing of TDEP SIGCONTEXT_REGISTER_ADDRESS and
PC_IN_SIGTRAMP.

14 years ago * mount.cc (fs_info::update): Add comment.
corinna [Tue, 25 Aug 2009 11:27:02 +0000 (11:27 +0000)]
* mount.cc (fs_info::update): Add comment.
* path.cc (symlink_info::check_reparse_point): Return -1 for volume
mount points.  Explain why.
(symlink_info::check): Call fs.update again for volume mount points.
Explain why.

14 years agoBuild cleanups in opcodes: cross-compilation and generators.
rwild [Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)]
Build cleanups in opcodes: cross-compilation and generators.

opcodes/:
* Makefile.am (SUBDIRS): Build '.' before 'po'.
(COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
(MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
(i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
(i386-gen.o): New rule.
($(srcdir)/i386-init.h): Adjust.
(i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
(ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
(ia64-gen.o): New rule.
(ia64_asmtab_deps): New variable.
($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
(ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
(s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
likewise.
(s390-opc.tab): Adjust.
(z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
rules.
(z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
* Makefile.in: Regenerate.
* z8kgen.c (gas): Avoid '/*' in comment.
* z8k-opc.h (func): Regenerate.

14 years ago * options.h (Command_line::Pre_options): New class.
ccoutant [Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)]
* options.h (Command_line::Pre_options): New class.
(Command_line::pre_options): New member.
* options.cc (gold::options::ready_to_register): New variable.
(One_option::register_option): Do nothing if not registering options.
Assert if same short option registered twice.
(General_options::General_options): Turn off option registration when
done constructing.
(Command_line::Pre_options::Pre_options): New constructor.

14 years ago * c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.
kseitz [Tue, 25 Aug 2009 00:23:06 +0000 (00:23 +0000)]
* c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.
(tokentab2): Add new token, DOT_STAR. Changed all users.

14 years agodaily update
amodra [Tue, 25 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 25 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoFixed typo in ChangeLog.
ccoutant [Mon, 24 Aug 2009 23:33:33 +0000 (23:33 +0000)]
Fixed typo in ChangeLog.

14 years ago (General_options::no_keep_memory): Remove incorrect short option.
ccoutant [Mon, 24 Aug 2009 23:31:45 +0000 (23:31 +0000)]
(General_options::no_keep_memory): Remove incorrect short option.

14 years ago2009-08-24 Corinna Vinschen <corinna@vinschen.de>
jjohnstn [Mon, 24 Aug 2009 22:11:09 +0000 (22:11 +0000)]
2009-08-24  Corinna Vinschen  <corinna@vinschen.de>

        * libc/locale/locale.c: Update documentation.
        (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.

2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
        and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
        * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.

14 years ago * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
kseitz [Mon, 24 Aug 2009 22:01:30 +0000 (22:01 +0000)]
* gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
Add two new C++ completer tests which limit the output to a
given class.

14 years ago * symtab.c (default_make_symbol_completion_list): Keep
kseitz [Mon, 24 Aug 2009 22:00:55 +0000 (22:00 +0000)]
* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces
and classes.

14 years ago * symtab.c (default_make_symbol_completion_list): Keep
kseitz [Mon, 24 Aug 2009 22:00:43 +0000 (22:00 +0000)]
* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces
and classes.

14 years ago2009-08-24 Michael Snyder <msnyder@vmware.com>
msnyder [Mon, 24 Aug 2009 20:27:16 +0000 (20:27 +0000)]
2009-08-24  Michael Snyder  <msnyder@vmware.com>

* gdb.base/del.exp: Fix typo in comment.
* gdb.base/step-bt.exp: Fix cut and paste error in comment.

14 years agoSync from GCC: Update AC_PREREQ entries to 2.64.
rwild [Mon, 24 Aug 2009 19:12:54 +0000 (19:12 +0000)]
Sync from GCC: Update AC_PREREQ entries to 2.64.

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

14 years agoMore build fixes in opcodes
rwild [Mon, 24 Aug 2009 19:05:01 +0000 (19:05 +0000)]
More build fixes in opcodes

opcodes/:
* Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
msp430-dis.c added.
(LIBOPCODES_CFILES): New variable, adding to
TARGET_LIBOPCODES_CFILES also non-target library sources.
(CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
files.
(ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
(EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

14 years ago * python/python-value.c (valpy_richcompare): Don't return from
tromey [Mon, 24 Aug 2009 18:55:21 +0000 (18:55 +0000)]
* python/python-value.c (valpy_richcompare): Don't return from
inside a TRY_CATCH.

14 years ago * objdump.c (find_symbol_for_address): Avoid costly call to
ccoutant [Mon, 24 Aug 2009 18:43:50 +0000 (18:43 +0000)]
* objdump.c (find_symbol_for_address): Avoid costly call to
bfd_octets_per_byte.

14 years ago2009-08-24 Andy Koppe <andy.koppe@gmail.com>
jjohnstn [Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)]
2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
        space" (U+00A0).
        * libc/ctype/iswblank.c (iswblank): Likewise.

14 years ago * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
nickc [Mon, 24 Aug 2009 15:22:58 +0000 (15:22 +0000)]
    * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
        .gnu.lto_ prefix.
        * scripttempl/armbpabi.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf64hppa.sc: Likewise.
        * scripttempl/mep.sc: Likewise.

14 years ago * globals.cc (ro_u_volume): New R/O unicode string.
corinna [Mon, 24 Aug 2009 11:14:29 +0000 (11:14 +0000)]
* globals.cc (ro_u_volume): New R/O unicode string.
* path.cc (symlink_info::check_reparse_point): Fix check for volume
mount points to work on Vista and later as well.

14 years ago * hardware.scm (<keyword>): Rename member print-name -> enum-prefix.
devans [Mon, 24 Aug 2009 06:46:16 +0000 (06:46 +0000)]
* hardware.scm (<keyword>): Rename member print-name -> enum-prefix.
Rename member prefix -> name-prefix.
(<keyword> getters): Update.
(-keyword-parse): Update.  Default enum-prefix to NAME-.
(-keyword-read): Update.  Don't compute default value for
enum-prefix here.
(define-keyword): Update.
(-hw-parse-keyword): Pass "UNUSED" for enum-prefix to -keyword-parse.
* read.scm (cgen-rtl-version): New function.
(-supported-rtl-versions): Add (0 8).
* desc-cpu.scm (-gen-hw-decl): Remove cruft.
* desc.scm (<keyword> gen-defn): prefix -> name-prefix.
* gas-test.scm (<keyword> test-data): prefix -> name-prefix.
* cpu/arm.cpu (gr-names, shift-type): Call define-rtl-version.
Update, print-name -> enum-prefix, make uppercase.
Remove unnecessary name-prefix spec.
* cpu/fr30.cpu (gr-names, cr-names, dr-names): Ditto.
* cpu/ip2k.cpu (register-names): Ditto.
* cpu/m68k.cpu (dr-names, ar-names): Ditto.
* cpu/sparc.cpu (gr-names): Ditto.
* cpu/xc16x.cpu (gr-names, ext-names,psw-names): Ditto.
(grb-names, conditioncode-names, extconditioncode-names): Ditto.
(grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
(reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
* cpu/ia32.cpu (gr8-names, gr16-names, gr-names): Call
define-rtl-version.  Update, print-name -> enum-prefix, make uppercase,
prefix -> name-prefix.
* cpu/sh64-compact.cpu (frc-names): Call define-rtl-version.
Update, print-name -> enum-prefix, make uppercase.
(drc-names, xf-names): Ditto.
* cpu/xstormy16.cpu (gr-names, gr-Rb-names): Ditto.
* doc/rtl.texi (Keywords): New section.
(hardware indices): Update text.
(rtl versions): Add 0.8.

14 years agodependency tracking fixes in ld
rwild [Mon, 24 Aug 2009 05:57:44 +0000 (05:57 +0000)]
dependency tracking fixes in ld

ld/:
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
rules.
(eelf32_spu.o): Add dependency tracking.
* Makefile.in: Regenerate.

14 years agoFix yacc and lex reruns with maintainer-mode off.
rwild [Mon, 24 Aug 2009 05:55:53 +0000 (05:55 +0000)]
Fix yacc and lex reruns with maintainer-mode off.

gas/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

ld/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

gold/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Mon, 24 Aug 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 24 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 23 Aug 2009 19:03:58 +0000 (19:03 +0000)]
2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>

 PR ld/10536
 * Makefile.in (install-html-recursive): Removed.

14 years ago Add define-rtl-version.
devans [Sun, 23 Aug 2009 16:15:52 +0000 (16:15 +0000)]
Add define-rtl-version.
* read.scm (-CGEN-RTL-VERSION): Renamed from -CGEN-LANG-VERSION.
(cgen-rtl-major, cgen-rtl-minor): Similarly renamed.
(cgen-lang-fixlevel): Delete.
(-supported-rtl-versions): New variable.
(-cmd-define-rtl-version): New function.
(init-reader!): New command define-rtl-version.
(-cgen): Add rtl version to --version output.
* doc/rtl.texi: Document rtl version support.
* cpu/play.cpu: Add define-rtl-version.

14 years ago* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
schwab [Sun, 23 Aug 2009 14:38:31 +0000 (14:38 +0000)]
* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
tests from ppc64elftest to ppcelftest and pass -a32 to assembler.

14 years agoMinor dependency fix for syslex.o in binutils.
rwild [Sun, 23 Aug 2009 10:28:49 +0000 (10:28 +0000)]
Minor dependency fix for syslex.o in binutils.

binutils/:
* Makefile.am (syslex.o): Depend on sysinfo.h config.h.
* Makefile.in: Regenerate.

14 years ago* ld-powerpc/relax.d: Fix whitespace.
schwab [Sun, 23 Aug 2009 09:43:35 +0000 (09:43 +0000)]
* ld-powerpc/relax.d: Fix whitespace.
* ld-powerpc/relaxr.d: Likewise.

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

14 years agodaily update
amodra [Sun, 23 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoremove old comment, ifields can specify the size of the word they live in
devans [Sat, 22 Aug 2009 23:56:48 +0000 (23:56 +0000)]
remove old comment, ifields can specify the size of the word they live in

14 years ago * Makefile.am (OPTIONS): Define.
devans [Sat, 22 Aug 2009 23:41:05 +0000 (23:41 +0000)]
* Makefile.am (OPTIONS): Define.
(desc): Just generate <arch>-desc.[ch] files.
* Makefile.in: Regenerate.
* desc-cpu.scm (cgen-desc.h): Skip call to gen-extra-cpu.h if there's
no .opc file.
(cgen-desc.c): Similarly.
* gen-all-desc: New file.
* opcodes.scm (opc-file-provided?): New function.

14 years ago * mach.scm (current-*-add!): Update calls to parse-error.
devans [Sat, 22 Aug 2009 23:16:01 +0000 (23:16 +0000)]
* mach.scm (current-*-add!): Update calls to parse-error.
* operand.scm (op:new-mode): Update call to parse-error.
* utils-cgen.scm (make-obj-context): New function.

14 years agoCleanups in binutils makefiles.
rwild [Sat, 22 Aug 2009 19:02:55 +0000 (19:02 +0000)]
Cleanups in binutils makefiles.

ld/:
* Makefile.am (bin_PROGRAMS): Renamed from ...
(noinst_PROGRAMS): ... this.
(transform): Override, including the renaming of ld-new to ld.
(install-exec-local): Installation of ld in $(bindir) not needed
here any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(MAINTAINERCLEANFILES): Add ld.1.
* Makefile.in: Regenerate.

gold/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
(AM_CPPFLAGS): Renamed from ...
(INCLUDE): ... this.
* Makefile.in, testsuite/Makefile.in: Regenerate.

bfd/:
* Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
appending.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
only in this condition.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
to build but not install libbfd.la in this condition.
(install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
(install_libbfd, install_libbfd): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
(installcheck-local): Renamed from ...
(installcheck): ... this.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (YFLAGS): Remove, not needed any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

gprof/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
[INSTALL_LIBBFD] (bfdinclude_DATA): New.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
[!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
is built shared even if it is not to be installed.
(install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
(install_libopcodes, uninstall_libopcodes): Remove.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

14 years agodependency tracking in opcodes
rwild [Sat, 22 Aug 2009 18:44:57 +0000 (18:44 +0000)]
dependency tracking in opcodes

opcodes/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
1.11, foreign, no-dist.
(MKDEP, m32c_opc_h): Remove variables.
(disassemble.lo): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
(i386-gen.o, ia64-gen.o): Remove dependency statements.
(EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
ensure all dependency fragments are included in the Makefile.
(s390-opc.lo): Depend on s390-opc.tab.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

14 years agodependency tracking in gprof
rwild [Sat, 22 Aug 2009 18:37:50 +0000 (18:37 +0000)]
dependency tracking in gprof

gprof/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11,
foreign, no-dist, no-texinfo.tex.
(TEXINFO_TEX): New variable.
(MKDEP, CLEANFILES): Remove:
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(install-data-local): Remove now-unneeded dependency on
install-info.
(mkdep section): Remove.
* Makefile.in: Regenerate.

14 years agodependency tracking in gas
rwild [Sat, 22 Aug 2009 18:30:27 +0000 (18:30 +0000)]
dependency tracking in gas

gas/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
foreign and no-dist.
(all): Remove now-unneeded dependency upon info.
(DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
(DEP_FILE_DEPS): Remove variables.
(OBJ_FORMAT_CFILES): Add config/obj-multi.c.
(OBJ_FORMAT_HFILES): Add config/obj-multi.h.
($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
(obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
(e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
(e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
now-unneeded rules.
(EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
$(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
$(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
are picked up in the Makefile.
(itbl-lex.c, itbl-ops.o): Remove manual dependencies.
(m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
(itbl-test.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
Remove.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* gas/po/POTFILES.in, gas/po/gas.pot: Regenerate.

14 years agodependency tracking in binutils
rwild [Sat, 22 Aug 2009 18:18:42 +0000 (18:18 +0000)]
dependency tracking in binutils

binutils/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
foreign.
(MKDEP, CLEANFILES): Remove now-unneeded variables.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
(EXTRA_ar_SOURCES): New, list $(CFILES).
(syslex.o): Depend on syslex.c.
(sysinfo.o): Depend on sysinfo.c.
(arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
Remove dependencies, now tracked by automake.
(srconv.o): Depend on sysroff.c.
(objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
(nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
(rescoff.o, nlmconv.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
* Makefile.in: Regenerate.

14 years agodependency tracking in bfd
rwild [Sat, 22 Aug 2009 18:14:27 +0000 (18:14 +0000)]
dependency tracking in bfd

bfd/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use
no-dist and foreign.
(EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow
dependency tracking to work for them.
(targets.lo, archures.lo, dwarf.lo): Rewrite to
use automake dependency tracking mechanism.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New, list $(BUILD_HFILES).
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in, po/bfd.pot: Regenerate.

14 years ago2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Sat, 22 Aug 2009 18:00:28 +0000 (18:00 +0000)]
2009-08-21  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.

14 years agodependency tracking in ld
rwild [Sat, 22 Aug 2009 17:59:33 +0000 (17:59 +0000)]
dependency tracking in ld

ld/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
no-texinfo.tex, no-dist, foreign.
(TEXINFO_TEX): New variable.
(install-data-local): Removed, not needed any more.
(all): Dependencies upon info and ld.1 not needed any more.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
(mkdep generated section): Removed.
(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
use automake dependency tracking mechanism.
(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
dependencies are tracked too.
(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
are built early.
* configure.in: Use AM_MAINTAINER_MODE.
* configure, Makefile.in: Regenerate.

14 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
rwild [Sat, 22 Aug 2009 17:08:05 +0000 (17:08 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com.  Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.

bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.

14 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
rwild [Sat, 22 Aug 2009 16:56:36 +0000 (16:56 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

/:
* configure: Regenerate.

etc/:
* configure: Regenerate.

sim/common/:
* config.in: Regenerate.
* configure: Likewise.

sim/iq2000/:
* config.in: Regenerate.
* configure: Likewise.

sim/d10v/:
* config.in: Regenerate.
* configure: Likewise.

sim/igen/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32r/:
* config.in: Regenerate.
* configure: Likewise.

sim/frv/:
* config.in: Regenerate.
* configure: Likewise.

sim/:
* avr/config.in: Regenerate.
* avr/configure: Likewise.
* configure: Likewise.
* cris/config.in: Likewise.
* cris/configure: Likewise.

sim/h8300/:
* config.in: Regenerate.
* configure: Likewise.

sim/mn10300/:
* config.in: Regenerate.
* configure: Likewise.

sim/ppc/:
* config.in: Regenerate.
* configure: Likewise.

sim/erc32/:
* config.in: Regenerate.
* configure: Likewise.

sim/arm/:
* config.in: Regenerate.
* configure: Likewise.

sim/m68hc11/:
* config.in: Regenerate.
* configure: Likewise.

sim/lm32/:
* config.in: Regenerate.
* configure: Likewise.

sim/sh64/:
* config.in: Regenerate.
* configure: Likewise.

sim/v850/:
* config.in: Regenerate.
* configure: Likewise.

sim/cr16/:
* config.in: Regenerate.
* configure: Likewise.

sim/moxie/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32c/:
* config.in: Regenerate.
* configure: Likewise.

sim/mips/:
* config.in: Regenerate.
* configure: Likewise.

sim/mcore/:
* config.in: Regenerate.
* configure: Likewise.

sim/testsuite/d10v-elf/:
* configure: Regenerate.

sim/testsuite/:
* configure: Regenerate.

sim/testsuite/frv-elf/:
* configure: Regenerate.

sim/testsuite/m32r-elf/:
* configure: Regenerate.

sim/testsuite/mips64el-elf/:
* configure: Regenerate.

sim/sh/:
* config.in: Regenerate.
* configure: Likewise.

gold/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.

gprof/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* gconfig.in: Likewise.

opcodes/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gas/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

ld/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gdb/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
* gnulib/Makefile.in: Likewise.

gdb/doc/:
* configure: Regenerate.

gdb/gdbserver/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.

gdb/testsuite/:
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.

binutils/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

bfd/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

bfd/doc/:
* Makefile.in: Regenerate.

readline/:
* configure: Regenerate.

readline/examples/rlfe/:
* configure: Regenerate.

14 years ago * NEWS: Copy over entries from 1.1 branch.
devans [Sat, 22 Aug 2009 16:15:45 +0000 (16:15 +0000)]
* NEWS: Copy over entries from 1.1 branch.

14 years agoMinor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.
rwild [Sat, 22 Aug 2009 15:59:20 +0000 (15:59 +0000)]
Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.

gold/:
* Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

gdb/:
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of
AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX.

sim/common/:
* aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
definition of AC_CHECK_MEMBER.

14 years ago* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
cgf [Sat, 22 Aug 2009 15:01:00 +0000 (15:01 +0000)]
* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
(KOI8-R) and 21866 (KOI8-U).

* doc/setup2.sgml (setup-locale-charsetlist): Add KOI8-R and KOI8-U to list of
supported charsets.

14 years agomerge from gcc
dj [Sat, 22 Aug 2009 14:31:02 +0000 (14:31 +0000)]
merge from gcc

14 years agoUpdate automake-provided files in the toplevel.
rwild [Sat, 22 Aug 2009 11:48:33 +0000 (11:48 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

14 years agoFixup readline and sim including of override.m4
rwild [Sat, 22 Aug 2009 11:36:29 +0000 (11:36 +0000)]
Fixup readline and sim including of override.m4

readline/examples/rlfe/:
* configure.in: m4_include toplevel config/override.m4.
* configure: Regenerate.

readline/ChangeLog.gdb:
* configure.in: m4_include toplevel config/override.m4.
* configure: Regenerate.

sim/:
* configure.ac: m4_include toplevel config/override.m4.
* configure: Regenerate.
* avr/configure: Regenerate.
* cris/configure: Regenerate.

sim/common/:
* aclocal.m4: m4_include toplevel config/override.m4.
* configure: Regenerate.

sim/iq2000/:
* configure: Regenerate.

sim/d10v/:
* configure: Regenerate.

sim/igen/:
* configure: Regenerate.

sim/m32r/:
* configure: Regenerate.

sim/frv/:
* configure: Regenerate.

sim/h8300/:
* configure: Regenerate.

sim/mn10300/:
* configure: Regenerate.

sim/ppc/:
* configure: Regenerate.

sim/erc32/:
* configure: Regenerate.

sim/arm/:
* configure: Regenerate.

sim/m68hc11/:
* configure: Regenerate.

sim/lm32/:
* configure: Regenerate.

sim/sh64/:
* configure: Regenerate.

sim/v850/:
* configure: Regenerate.

sim/cr16/:
* configure: Regenerate.

sim/moxie/:
* configure: Regenerate.

sim/m32c/:
* configure: Regenerate.

sim/mips/:
* configure: Regenerate.

sim/mcore/:
* configure: Regenerate.

sim/sh/:
* configure: Regenerate.

14 years ago * setup2.sgml (setup-locale-charsetlist): Add description of
corinna [Sat, 22 Aug 2009 08:44:04 +0000 (08:44 +0000)]
* setup2.sgml (setup-locale-charsetlist): Add description of
case-insensitivity of charsets.  Fix a typo.  Add "UTF8" to the list.

14 years ago*** empty log message ***
gdbadmin [Sat, 22 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 22 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2S09-08-21 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Fri, 21 Aug 2009 23:38:06 +0000 (23:38 +0000)]
2S09-08-21  Daniel Gutson  <dgutson@codesourcery.com>

ld/
        * ld-arm/callweak.d: Opcodes updated.
        * ld-arm/callweak.s: Architecture specified.
        * ld-arm/callweak-2.d: New test case.
        * ld-arm/callweak-2.s: New file.

bfd/
* elf32-arm.c (arch_has_thumb2_nop): New function.
(arch_has_arm_nop): New function.
(elf32_arm_final_link_relocate): NOP opcodes changed.

SVS: ----------------------------------------------------------------------

14 years ago* dll_init.h (has_dtors): New flag.
cgf [Fri, 21 Aug 2009 21:32:05 +0000 (21:32 +0000)]
* dll_init.h (has_dtors): New flag.
(run_dtors): New wrapper function which avoids calling dtors more than once.
* dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper.
(dll_list::detach): Ditto.
(dll_list::alloc): Set has_dtors flag.

14 years ago* fcntl.cc (fcntl64): Detect negative fd as error.
cgf [Fri, 21 Aug 2009 21:19:45 +0000 (21:19 +0000)]
* fcntl.cc (fcntl64): Detect negative fd as error.

14 years ago * libc/locale/locale.c (loadlocale): Throughout check charset string
corinna [Fri, 21 Aug 2009 20:56:13 +0000 (20:56 +0000)]
* libc/locale/locale.c (loadlocale): Throughout check charset string
case insensitive and store internal charset string uppercased.  Allow
"UTF8" additionally to "UTF-8".  Add this change to documentation.

14 years agoiconv: match SUSv3 prototype
ericb [Fri, 21 Aug 2009 20:27:09 +0000 (20:27 +0000)]
iconv: match SUSv3 prototype

* libc/include/iconv.h (iconv): Match POSIX prototype.
* libc/iconv/lib/iconv.c (iconv): Likewise.

14 years ago2009-08-21 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Fri, 21 Aug 2009 20:25:27 +0000 (20:25 +0000)]
2009-08-21  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
        * libc/stdio/mktemp.c:  Add #include <stdlib.h> for function prototypes.

14 years ago2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
sterling [Fri, 21 Aug 2009 19:35:35 +0000 (19:35 +0000)]
2009-08-21  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* config/tc-xtensa.c (config_max_slots): New global variable.
(md_begin): Set config_max_slots.
(total_frag_text_expansion): Use config_max_slots instead of
MAX_SLOTS.
(xg_init_vinsn): Likewise.
(xg_clear_vinsn): Likewise.
(xg_free_vinsn): Likewise.

14 years ago * jit.c (jit_event_handler): Use paddress to print target addresses.
devans [Fri, 21 Aug 2009 19:07:00 +0000 (19:07 +0000)]
* jit.c (jit_event_handler): Use paddress to print target addresses.
Wrap printf string in _().

14 years ago * jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
devans [Fri, 21 Aug 2009 18:54:44 +0000 (18:54 +0000)]
* jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
(jit_read_code_entry, jit_register_code): Ditto.
(jit_event_handler): Ditto.
(jit_inferior_init): Renamed from previous jit_inferior_created_hook.
(jit_inferior_created_hook, jit_breakpoint_re_set): New functions.
(jit_inferior_created_observer): Renamed from
jit_inferior_created_hook1, all callers updated.
* jit.h (jit_breakpoint_re_set): Declare.
(jit_event_handler): Update prototype.
* breakpoint.c (breakpoint_re_set): Call jit_breakpoint_re_set instead
of jit_inferior_created_hook.

14 years ago2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Fri, 21 Aug 2009 17:57:17 +0000 (17:57 +0000)]
2009-08-21  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.

14 years ago * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
nickc [Fri, 21 Aug 2009 10:38:13 +0000 (10:38 +0000)]
    * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.

14 years ago * mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete
corinna [Fri, 21 Aug 2009 08:47:58 +0000 (08:47 +0000)]
* mmap.cc (mmap64): Allocate fh_disk_file on cygheap.  Delete
explicitely before returning.

14 years ago2009-08-21 Hui Zhu <teawater@gmail.com>
teawater [Fri, 21 Aug 2009 06:16:49 +0000 (06:16 +0000)]
2009-08-21  Hui Zhu  <teawater@gmail.com>

* record.c (record_wait): Change the argument of
record_beneath_to_wait to options.

14 years agodaily update
amodra [Fri, 21 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

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

14 years ago* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.
devans [Thu, 20 Aug 2009 23:30:15 +0000 (23:30 +0000)]
* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.

14 years ago Replace dcache with splay tree.
devans [Thu, 20 Aug 2009 22:30:11 +0000 (22:30 +0000)]
Replace dcache with splay tree.
Remove partially implemented writeback support.
* dcache.c: Include splay-tree.h.
(LINE_SIZE_POWER): Change from 5 to 6.
(DCACHE_SIZE): Change from 64 to 4096.
(ENTRY_INVALID, ENTRY_VALID, ENTRY_DIRTY): Delete.
(state_chars): Delete.
(struct dcache_block): Clean up; remove state and anydirty fields.
(struct dcache_struct): Redefine as a splay tree and linked list.
(last_cache): Make static.
(dcache_invalidate, dcache_hit): Rewrite for new cache structure.
(dcache_read_line, dcache_alloc): Rewrite for new cache structure.
(dcache_write_line): Delete.
(dcache_writeback): Delete.
(dcache_peek_byte): Clean up; remove "invalid" state check.
(dcache_poke_byte): Rewrite for new cache structure; clarify comment.
(dcache_splay_tree_compare): New function.
(dcache_init, dcache_free): Rewrite for new cache structure.
(dcache_xfer_memory): Rewrite for new write-through cache structure.
(dcache_print_line): New function.
(dcache_info): Rewrite for new cache structure.
(_initialize_dcache): Update "info dcache" help text.
* dcache.h (dcache_xfer_memory): Update declaration.
* target.c (memory_xfer_partial): Update calls to dcache_xfer_memory.

14 years agohppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
skrll [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.

14 years ago2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
sterling [Thu, 20 Aug 2009 18:12:20 +0000 (18:12 +0000)]
2009-08-20  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* config/tc-xtensa.c (xg_copy_vinsn): New function.
(finish_vinsn): Call xg_copy_vinsn.