OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago * mingwex/fegetenv.c (fegetenv): Restore exception masks.
dannysmith [Sat, 8 Oct 2005 02:14:44 +0000 (02:14 +0000)]
* mingwex/fegetenv.c (fegetenv): Restore exception masks.
* mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
to non-stop. Use "fnclex" to clear exception flags.

18 years agodaily update
amodra [Sat, 8 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 8 Oct 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-10-07 Bob Wilson <bob.wilson@acm.org>
jjohnstn [Fri, 7 Oct 2005 18:07:26 +0000 (18:07 +0000)]
2005-10-07  Bob Wilson  <bob.wilson@acm.org>

        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
        to ENOMEM on failure.

18 years ago * at-file.texi: Fix typo.
mmitchel [Fri, 7 Oct 2005 14:20:47 +0000 (14:20 +0000)]
* at-file.texi: Fix typo.

18 years ago*** empty log message ***
gdbadmin [Fri, 7 Oct 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 7 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Thu, 6 Oct 2005 19:46:21 +0000 (19:46 +0000)]
2005-10-06  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Add [u]int_fast<N>_t types.

18 years agobfd/
drow [Thu, 6 Oct 2005 19:21:13 +0000 (19:21 +0000)]
bfd/
* elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from
GCC.
(elf32_arm_size_dynamic_sections): Likewise.
* ecofflink.c (bfd_ecoff_debug_one_external): Likewise.
* elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count)
(ppc64_elf_size_dynamic_sections): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_size_dynamic_sections): Likewise.
* ieee.c (ieee_slurp_section_data): Likewise.
* oasys.c (oasys_slurp_section_data): Likewise.
opcodes/
* ppc-dis.c (struct dis_private): Remove.
(powerpc_dialect): Avoid aliasing warnings.
(print_insn_big_powerpc, print_insn_little_powerpc): Likewise.

18 years ago * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
drow [Thu, 6 Oct 2005 15:24:36 +0000 (15:24 +0000)]
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP.
(OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET)
(USUAL_OBJDUMP_FOR_TARGET): New.
(EXTRA_TARGET_FLAGS): Add OBJDUMP.
* configure.in: Check for $OBJDUMP_FOR_TARGET.
* configure, Makefile: Regenerated.

18 years ago* config/tc-sh.c (allow_dollar_register_prefix): New variable.
nickc [Thu, 6 Oct 2005 11:44:04 +0000 (11:44 +0000)]
* config/tc-sh.c (allow_dollar_register_prefix): New variable.
  (parse_reg_without_prefix): New function.
  (parse_reg): Check for '$' register prefix if --allow-reg-prefix is set.
  (option md_longopts): Add allow-reg-prefix option.
* doc/c-sh.texi: Document --allow-reg-prefix option.
* NEWS: Mention the new switch.

* gas/sh/basic.exp:  Run reg-prefix test.
* gas/sh/reg-prefix.s: New
* gas/sh/reg-prefix.d: New

18 years ago PR 1659
amodra [Thu, 6 Oct 2005 00:22:56 +0000 (00:22 +0000)]
PR 1659
* rs6000-tdep.c (rs6000_push_dummy_call): Correct size of
backchain write.
(rs6000_convert_from_func_ptr_addr): Correct comment.

18 years ago*** empty log message ***
gdbadmin [Thu, 6 Oct 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 6 Oct 2005 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago * archive.c: Add missing SUBSECTION for documentation.
bwilson [Wed, 5 Oct 2005 21:24:23 +0000 (21:24 +0000)]
    * archive.c: Add missing SUBSECTION for documentation.
        * bfd.c: Likewise.
        * cache.c: Likewise.
        * corefile.c: Likewise.
        * format.c: Likewise.
        * init.c: Likewise.
        * libbfd.c: Likewise.
        * opncls.c: Likewise.
        * elf.c: Remove blank line after SECTION heading.
        * reloc.c: Change "howto manager" SECTION to a SUBSECTION.

18 years ago2005-10-05 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 5 Oct 2005 16:12:17 +0000 (16:12 +0000)]
2005-10-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1396
* ldcref.c (check_refs): Accept bfd_boolean.
(check_local_sym_xref): Pass FALSE to check_refs.
(check_nocrossref): Pass TRUE to check_refs.
(check_refs_info): Add bfd_boolean.
(check_refs): Add bfd_boolean to check_refs_info.
(check_reloc_refs): Match relocations with proper symbols.

* ldmisc.c (vfinfo): Don't add extra ":\n".

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 5 Oct 2005 15:59:52 +0000 (15:59 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
before other host packages.

18 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
dannysmith [Wed, 5 Oct 2005 08:07:51 +0000 (08:07 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
default entry symbol to ENTRY here.
* scripttempl/pe.sc: Not here.

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 5 Oct 2005 07:30:22 +0000 (07:30 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/22340

* configure.in (default_target): Remove.
* Makefile.tpl (all): Do not use prerequisites as subroutines
(all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet.
(do-[+make_target+], check, install, [+bootstrap_target+]): Do not
use prerequisites as subroutines.
(check-host, check-target): New.
(bootstrap configure & all targets): Do not use stage*-start
if the directory layout is already ok.
(non-bootstrap configure & all targets): Prepend a $(unstage).
(stage[+id+]-bubble): Do that here.  Do not use NOTPARALLEL.
(NOTPARALLEL): Remove.
(unstage, stage variables): New variables.
(unstage, stage targets): Simply expand to those variables.

* configure: Regenerate.
* Makefile.in: Regenerate.

18 years agoFix mips-elf --enable-libmudflap make -j2 failure.
wilson [Wed, 5 Oct 2005 01:19:36 +0000 (01:19 +0000)]
Fix mips-elf --enable-libmudflap make -j2 failure.
* Makefile.def (lang_env_dependencies): Add libmudflap.
* Makefile.in: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Wed, 5 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 5 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Tue, 4 Oct 2005 21:02:59 +0000 (21:02 +0000)]
2005-10-04  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Move magic to set __have_long* to the
        beginning.  Use #if __have* instead of #if defined(__have*).
        Minor typo fixes.

18 years ago2005-10-04 James E Wilson <wilson@specifix.com>
jjohnstn [Tue, 4 Oct 2005 20:47:39 +0000 (20:47 +0000)]
2005-10-04  James E Wilson  <wilson@specifix.com>

* libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
#error.

18 years ago2005-10-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 4 Oct 2005 19:54:08 +0000 (19:54 +0000)]
2005-10-04  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1396
* ld-scripts/cross3.t: New file.
* ld-scripts/cross4.c: Likewise.

* ld-scripts/crossref.exp: Add a new test for "ld -r".

18 years ago* cxxfilt.c: Treat mangled names specified on the command line in the same way
nickc [Tue, 4 Oct 2005 11:03:38 +0000 (11:03 +0000)]
* cxxfilt.c: Treat mangled names specified on the command line in the same way
  as mangled names read from stdin.
  Add -i switch to disable the display of implementation details.
  Add -t switch to disable the demangling of types.
* NEWS: Mention the new switches.
* doc/binutils.texi (cxxfilt): Document the -i and -t switches.

18 years ago* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
nickc [Tue, 4 Oct 2005 07:23:50 +0000 (07:23 +0000)]
* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
that the typical case of scanning for the previous section to last one can be
handled quickly.

18 years ago * at-file.texi: New file.
mmitchel [Tue, 4 Oct 2005 05:34:17 +0000 (05:34 +0000)]
* at-file.texi: New file.

18 years ago * MAINTAINERS: Add section for release management.
brobecke [Tue, 4 Oct 2005 00:56:30 +0000 (00:56 +0000)]
    * MAINTAINERS: Add section for release management.

18 years ago * NEWS: Add entry for new "set print array-indexes" command.
brobecke [Tue, 4 Oct 2005 00:16:07 +0000 (00:16 +0000)]
    * NEWS: Add entry for new "set print array-indexes" command.

18 years agodaily update
amodra [Tue, 4 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 4 Oct 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * gdb.texinfo (Print Settings): Add documentation for set/show
brobecke [Mon, 3 Oct 2005 22:26:54 +0000 (22:26 +0000)]
    * gdb.texinfo (Print Settings): Add documentation for set/show
        print array-indexes.

18 years ago * elf32-xtensa.c (relocations_reach): Skip range check for
bwilson [Mon, 3 Oct 2005 21:49:17 +0000 (21:49 +0000)]
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.

18 years agoAdd Sterling Augustine's name to my change on 2005-09-30.
bwilson [Mon, 3 Oct 2005 21:42:23 +0000 (21:42 +0000)]
Add Sterling Augustine's name to my change on 2005-09-30.

18 years ago * gdb.base/arrayidx.c: New file.
brobecke [Mon, 3 Oct 2005 21:28:04 +0000 (21:28 +0000)]
    * gdb.base/arrayidx.c: New file.
        * gdb.base/arrayidx.exp: New testcase.

18 years ago2005-10-03 Joel Brobecker <brobecker@adacore.com>
brobecke [Mon, 3 Oct 2005 21:21:20 +0000 (21:21 +0000)]
2005-10-03  Joel Brobecker  <brobecker@adacore.com>

        * language.h (language_defn): New field la_print_array_index.
        (LA_PRINT_ARRAY_INDEX): New macro.
        (default_print_array_index): Add declaration.
        * language.c (default_print_array_index): new function.
        (unknown_language): Add value for new field.
        (auto_language): Likewise.
        (local_language): Likewise.
        * ada-lang.c (ada_print_array_index): New function.
        (ada_language_defn): Add value for new field.
        * c-lang.c (c_language_defn): Likewise.
        (cpluc_language_defn): Likewise.
        (asm_language_defn): Likewise.
        (minimal_language_defn): Likewise.
        * f-lang.c (f_language_defn): Likewise.
        * jv-lang.c (java_language_defn): Likewise.
        * m2-lang.c (m2_language_defn): Likewise.
        * objc-lang.c (objc_language_defn): Likewise.
        * p-lang.c (pascal_language_defn): Likewise.
        * scm-lang.c (scm_language_defn): Likewise.
        * valprint.h (print_array_indexes_p): Add declaration.
        (get_array_low_bound): Add declaration.
        (maybe_print_array_index): Add declaration.
        * valprint.c (print_array_indexes): New static variable.
        (show_print_array_indexes): New function.
        (print_array_indexes_p): New function.
        (get_array_low_bound): New function.
        (maybe_print_array_index): New function.
        (val_print_array_elements): Print the index of each element if
        requested by the user.
        (_initialize_valprint): Add new array-indexes "set/show print" command.
        * ada-valprint.c (print_optional_low_bound): Replace extracted code
        by call to ada_get_array_low_bound_and_type(). Stop printing the low
        bound if indexes will be printed for all elements of the array.
        (val_print_packed_array_elements): Print the index of each element
        of the array if necessary.

18 years ago * hppa-tdep.c (read_unwind_info): Fix typo in comment.
brobecke [Mon, 3 Oct 2005 20:53:00 +0000 (20:53 +0000)]
    * hppa-tdep.c (read_unwind_info): Fix typo in comment.

18 years ago * addr2line.c (usage): Document @file.
mmitchel [Mon, 3 Oct 2005 19:37:44 +0000 (19:37 +0000)]
* addr2line.c (usage): Document @file.
* ar.c (usage): Likewise.
* coffdump (usage): Likewise.
* cxxfilt.c (usage): Likewise.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c (usage): Likewise.
* size.c (usage): Likeise.
* srconv.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* doc/binutils.texi: Add section on common options.

18 years ago2005-10-03 James E Wilson <wilson@specifix.com>
jjohnstn [Mon, 3 Oct 2005 17:29:47 +0000 (17:29 +0000)]
2005-10-03  James E Wilson  <wilson@specifix.com>

        * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Add support for .bss.* sections.

18 years ago* cygheap.h (class process_lock): New class.
cgf [Mon, 3 Oct 2005 17:23:53 +0000 (17:23 +0000)]
* cygheap.h (class process_lock): New class.
* dtable.h (class dtable): Add class process_lock as a friend.
* dcrt0.cc (get_exit_lock): Delete.
(do_exit): Use process_lock class instead of get_exit_lock.
* exceptions.cc (signal_exit): Ditto.
* pinfo.cc (pinfo::exit): Ditto.
(_pinfo::commune_process): Set process lock around this whole function.
(_pinfo::commune_request): Use process_lock rather than myself.lock.
* pinfo.h (pinfo::_lock): Delete.
(pinfo::initialize_lock): Delete.
(pinfo::lock): Delete.
(pinfo::unlock): Delete.
* winsup.h (get_exit_lock): Delete declaration.

18 years ago2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 3 Oct 2005 17:22:38 +0000 (17:22 +0000)]
2005-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
        incorporate Ralf's change below.

18 years ago2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Mon, 3 Oct 2005 17:02:47 +0000 (17:02 +0000)]
2005-10-03  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h:
        Use __INTMAX_TYPE__ to derive intmax_t.
        Use __UINTMAX_TYPE__ to derive uintmax_t.
        Fix minor typo.

18 years agoadd other options
cgf [Mon, 3 Oct 2005 16:39:29 +0000 (16:39 +0000)]
add other options

18 years agoRegenerated with 2.13 version of autoconf.
clm [Mon, 3 Oct 2005 15:35:57 +0000 (15:35 +0000)]
Regenerated with 2.13 version of autoconf.

18 years ago * configure.in (bfin-*-*): Support bfin.
clm [Mon, 3 Oct 2005 15:11:13 +0000 (15:11 +0000)]
* configure.in (bfin-*-*): Support bfin.
* configure: Regenerated.

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

* NEWS: Mention -W/--dwarf.

* doc/binutils.texi: Document -W/--dwarf for objdump.

18 years agooops - delayed commit of addition of Irish translation
nickc [Mon, 3 Oct 2005 10:53:35 +0000 (10:53 +0000)]
oops - delayed commit of addition of Irish translation

18 years agooops - delayed commit for addtion of Irish translation for gprof and opcodes
nickc [Mon, 3 Oct 2005 10:52:38 +0000 (10:52 +0000)]
oops - delayed commit for addtion of Irish translation for gprof and opcodes

18 years ago(Infix Ops): '<' and '>' are not shift operators.
nickc [Mon, 3 Oct 2005 09:41:06 +0000 (09:41 +0000)]
(Infix Ops):  '<' and '>' are not shift operators.

18 years ago * uname.cc (uname): Disable use of GetNativeSystemInfo.
corinna [Mon, 3 Oct 2005 09:24:42 +0000 (09:24 +0000)]
* uname.cc (uname): Disable use of GetNativeSystemInfo.

18 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
amodra [Mon, 3 Oct 2005 03:41:56 +0000 (03:41 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
synthetic syms.

18 years agodaily update
amodra [Mon, 3 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 3 Oct 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * gdb_gcore.sh: Use a temporary file. Use gdb from $PATH.
drow [Sun, 2 Oct 2005 23:01:00 +0000 (23:01 +0000)]
* gdb_gcore.sh: Use a temporary file.  Use gdb from $PATH.

18 years ago2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
joshuadfranklin [Sun, 2 Oct 2005 20:56:53 +0000 (20:56 +0000)]
2005-10-02  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq-what.xml: Add 2003 and WOW64 to "supported" FAQ.
* faq-programming.xml: Fix cygexec FAQ, building link.

18 years ago*** empty log message ***
gdbadmin [Sun, 2 Oct 2005 03:00:02 +0000 (03:00 +0000)]
*** empty log message ***

18 years ago* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
cgf [Sun, 2 Oct 2005 00:13:40 +0000 (00:13 +0000)]
* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
* exceptions.cc (exit_lock): Delete.
(events_init): Don't init exit_lock.
* (_pinfo::commune_process): Add per-PICOM debugging.
* sigproc.cc (talktome): Add some temporary debugging statements.
* fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change.
(format_proc_partitions): Ditto.
* syscalls.cc (locked_append): Ditto.

18 years ago2005-10-01 Paul Brook <paul@codesourcery.com>
pbrook [Sat, 1 Oct 2005 02:25:15 +0000 (02:25 +0000)]
2005-10-01  Paul Brook  <paul@codesourcery.com>

* readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
(display_arm_attribute, process_arm_specific): New functions.
(process_arch_specific): Add EM_ARM.

18 years agodaily update
amodra [Sat, 1 Oct 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 1 Oct 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock()
cgf [Fri, 30 Sep 2005 23:52:12 +0000 (23:52 +0000)]
* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here.  Call get_exit_lock()
instead.
(get_exit_lock): New function.  Grabs the lock and sets initial exit_state.
* exceptions.cc (try_to_debug): Use low_priority_sleep.
(sigpacket::process): Avoid handler if this is an exec stub.
(signal_exit): Use get_exit_lock rather than manipulating the exit_lock
critical section directly.
* pinfo.cc (pinfo::exit): Ditto.
* winsup.h (get_exit_lock): Declare.
(exit_lock): Delete declaration.

18 years agoFix malformed error message.
wilson [Fri, 30 Sep 2005 22:10:53 +0000 (22:10 +0000)]
Fix malformed error message.
* ldlang.c (lang_startup): Add missing ": " to einfo call.

18 years ago * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
bwilson [Fri, 30 Sep 2005 21:58:28 +0000 (21:58 +0000)]
* config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.

18 years ago * dlltool.c (main): Fix typo.
mmitchel [Fri, 30 Sep 2005 20:04:20 +0000 (20:04 +0000)]
* dlltool.c (main): Fix typo.
* windres.c (main): Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:59:44 +0000 (18:59 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:55:20 +0000 (18:55 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:50:44 +0000 (18:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:48:16 +0000 (18:48 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* sysinfo.y (main): Undo last change.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:38:43 +0000 (18:38 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 18:05:57 +0000 (18:05 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.

18 years agold/
hjl [Fri, 30 Sep 2005 17:45:42 +0000 (17:45 +0000)]
ld/

2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (output_statement_hash_entry): New type.
(output_statement_table): New variable for hash table.
(output_statement_newfunc): New function.
(output_statement_table_init): Likewise.
(output_statement_table_free): Likewise.
(lang_init): Call output_statement_table_init.
(lang_finish): Renamed to ...
(lang_end): This.
(lang_process): Updated.
(lang_finish): New function.
(lang_output_section_find_1): Use hash table.
(lang_output_section_statement_lookup_1): Likewise.

* ldlang.h (lang_finish): New.

* ldmain.c (main): Call lang_finish.

ld/testsuite/

2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/sec64k.exp: Enabled for all ELF targets.

18 years ago * addr2line.c (main): Likewise.
mmitchel [Fri, 30 Sep 2005 16:37:30 +0000 (16:37 +0000)]
* addr2line.c (main): Likewise.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* cxxfilt.c (main): Likewise.
* dlltool.c (main): Likewise.
* dllwrap.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* readelf.c (main): Likewise.
* size.c (main): Likeiwse.
* srcconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* sysinfo.c (main): Likewise.
* windres.c (main): Likewise.

* ldmain.c (main): Use expandargv.

* gprof.c (main): Use expandargv.

* as.c (main): Use expandargv.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 16:03:44 +0000 (16:03 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years agogas/
jbeulich [Fri, 30 Sep 2005 15:48:24 +0000 (15:48 +0000)]
gas/
2005-09-30  Jan Beulich  <jbeulich@novell.com>

* config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
(removed) comma.

18 years agogas/
jbeulich [Fri, 30 Sep 2005 15:48:15 +0000 (15:48 +0000)]
gas/
2005-09-30  Jan Beulich  <jbeulich@novell.com>

* config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
(removed) comma.

18 years ago * Makefile.am: Bfin support.
clm [Fri, 30 Sep 2005 15:36:34 +0000 (15:36 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* archures.c (bfd_mach_bfin): New.
(bfd_arch_bfin): New.
bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New.
* bfd-in2.h: Regenerated.
* config.bfd: Bfin support.
* configure: Regenerated.
* configure.in: Bfin support.
* libbfd.h: Regenerated.
* reloc.c: Add BFD relocations for Bfin.
* targets.c (bfd_elf32_bfin_vec): New.
* cpu-bfin.c: New file.
* elf32-bfin.c: New file.

18 years ago * Makefile.am: Bfin support.
clm [Fri, 30 Sep 2005 15:28:47 +0000 (15:28 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* bfin-dis.c: New file.
* configure.in: Bfin support.
* configure: Regenerated.
* disassemble.c (ARCH_bfin): Define.
(disassembler): Add case for bfd_arch_bfin.

18 years ago * ld-elf/merge.d: Xfail bfin.
clm [Fri, 30 Sep 2005 15:24:18 +0000 (15:24 +0000)]
* ld-elf/merge.d: Xfail bfin.

18 years ago * Makefile.am: Bfin support.
clm [Fri, 30 Sep 2005 15:23:13 +0000 (15:23 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure.tgt: Bfin support.
* emulparams/bfin.sh: New file.
* emultempl/bfin.em: New file.

18 years ago * Makefile.am: Bfin support.
clm [Fri, 30 Sep 2005 15:19:52 +0000 (15:19 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* readelf.c (elf/bfin.h): Include.
(guess_is_rela): EM_BLACKFIN support.
(dump_relocations): Likewise.

18 years ago * dis-asm.h (print_insn_bfin): Declare.
clm [Fri, 30 Sep 2005 15:12:51 +0000 (15:12 +0000)]
* dis-asm.h (print_insn_bfin): Declare.
* elf/bfin.h: New file.
* elf/common.h (EM_BLACKFIN): Define.
* opcode/bfin.h: New file.

18 years ago * gas/bfin: New testsuite for bfin.
clm [Fri, 30 Sep 2005 15:10:11 +0000 (15:10 +0000)]
* gas/bfin: New testsuite for bfin.
* gas/all/gas.exp (bfin-*-*): Expected failure for alternate
macro syntax.

18 years ago * Makefile.am: Bfin support.
clm [Fri, 30 Sep 2005 15:04:54 +0000 (15:04 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.in: Bfin support.
* configure.tgt: Bfin support.
* config/bfin-aux.h: New file.
* config/bfin-defs.h: New file.
* config/bfin-lex.l: New file.
* config/bfin-parse.y: New file.
* config/tc-bfin.c: New file.
* config/tc-bfin.h: New file.
* doc/Makefile.am: Recognize c-bfin.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Bfin support.
* doc/as.texinfo: Likewise.
* doc/c-bfin.texi: Document bfin-specific syntax and
directives.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:57:50 +0000 (14:57 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (fetch_indirect_string): Adjust for section address.
(process_debug_info): Likewise.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.

* objdump.c (mach_o_dwarf_sections): New.
(generic_dwarf_sections): Likewise.
(check_mach_o_dwarf): Likewise.
(dump_dwarf): Call check_mach_o_dwarf.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:56:32 +0000 (14:56 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (objdump_SOURCES): Add dwarf.c.
* Makefile.in: Regenerated.

* objdump.c: Include "dwarf.h".
(usage): Add -W/--dwarf.
(long_options): Likewise.
(dump_dwarf_section_info): New.
(load_debug_section): Likewise.
(free_debug_section): Likewise.
(dump_dwarf_section): Likewise.
(dump_dwarf): Likewise.
(dump_bfd): Load symbol table and call dump_dwarf if
dump_dwarf_section_info isn't zero.
(main): Handle -W/--dwarf.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:55:04 +0000 (14:55 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CFILES): Add dwarf.c.
(readelf_SOURCES): Likewise.
* Makefile.in: Regenerated.

* dwarf.c: New file.
* dwarf.h. Likewise.

* readelf.c: Include "dwarf.h" instead of "bfd.h".
(do_debug_info): Remove the static definition.
(do_debug_abbrevs): Likewise.
(do_debug_lines): Likewise.
(do_debug_pubnames): Likewise.
(do_debug_aranges): Likewise.
(do_debug_ranges): Likewise.
(do_debug_frames): Likewise.
(do_debug_frames_interp): Likewise.
(do_debug_macinfo): Likewise.
(do_debug_str): Likewise.
(do_debug_loc): Likewise.
(is_relocatable): Likewise.
(have_frame_base): Likewise.
(need_base_address): Likewise.
(eh_addr_size): Likewise.
(error): Likewise.
(warn): Likewise.
(cmalloc): Likewise.
(xcmalloc): Likewise.
(xcrealloc): Likewise.
(dwarf_section): Removed.
(byte_get_little_endian): Likewise.
(byte_get_signed): Likewise.
(byte_get_big_endian): Likewise.
(read_leb128): Likewise.
(State_Machine_Registers): Likewise.
(state_machine_regs): Likewise.
(reset_state_machine): Likewise.
(process_extended_line_op): Likewise.
(debug_str_section): Likewise.
(fetch_indirect_string): Likewise.
(debug_abbrev_section): Likewise.
(abbrev_attr): Likewise.
(first_abbrev): Likewise.
(last_abbrev): Likewise.
(free_abbrevs): Likewise.
(add_abbrev_attr): Likewise.
(process_abbrev_section): Likewise.
(get_TAG_name): Likewise.
(get_FORM_name): Likewise.
(display_block): Likewise.
(decode_location_expression): Likewise.
(debug_info): Likewise.
(debug_information): Likewise.
(num_debug_info_entries): Likewise.
(last_pointer_size): Likewise.
(warned_about_missing_comp_units): Likewise.
(read_and_display_attr_value): Likewise.
(get_AT_name): Likewise.
(read_and_display_attr): Likewise.
(process_debug_info): Likewise.
(get_pointer_size_and_offset_of_comp_unit): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(Frame_Chunk): Likewise.
(DW_CFA_unreferenced): Likewise.
(frame_need_space): Likewise.
(frame_display_row): Likewise.
(size_of_encoded_value): Likewise.
(get_encoded_value): Likewise.
(GET): Likewise.
(LEB): Likewise.
(SLEB): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(load_debug_section): Updated.
(free_debug_section): Likewise.
(display_debug_section): Likewise.
(process_object): Call free_debug_memory to free debug memory.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:53:23 +0000 (14:53 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Reordered.
(is_relocatable): New.
(dwarf_section): New structure for DWARF section.
(load_debug_section): New.
(free_debug_section): Likewise.
(debug_str_section): Likewise.
(debug_abbrev_section): Likewise.
(debug_str_contents): Removed.
(debug_str_size): Likewise.
(debug_loc_contents): Likewise.
(debug_loc_size): Likewise.
(debug_range_contents): Likewise.
(debug_range_size): Likewise.
(load_debug_str): Likewise.
(free_debug_str): Likewise.
(load_debug_loc): Likewise.
(free_debug_loc): Likewise.
(load_debug_arange): Likewise.
(free_debug_arange): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(fetch_indirect_string): Updated.
(debug_apply_rela_addends): Likewise.
(process_debug_info): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_info): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(display_debug_section): Likewise.
(get_file_header): Set is_relocatable.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:52:17 +0000 (14:52 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_apply_rela_addends): Relocate the whole
section.
(process_debug_info): Don't call debug_apply_rela_addends.
(display_debug_frames): Likewise.
(get_debug_info): Call debug_apply_rela_addends.
(debug_displays): Add the "relocate" field.
(display_debug_section): Call debug_apply_rela_addends if
needed.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 30 Sep 2005 14:50:54 +0000 (14:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (*-*-darwin*): Build bfd, binutils and opcodes.
* configure: Regenerated.

18 years ago2005-09-30 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 30 Sep 2005 13:34:04 +0000 (13:34 +0000)]
2005-09-30  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
(opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
normal infix conditions.
(C3E): Include Thumb-2 definition.
(CL, cCL): Define.
(insns): Use them for legacy mnemonics.
gas/testsuite/
* gas/arm/fpa-mem.s: Remove incorrect comments.
* gas/arm/fpa-mem.d: Update expected results.

18 years agoasintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
nickc [Fri, 30 Sep 2005 11:42:00 +0000 (11:42 +0000)]
asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
  version of <locale.h> when ENABLE_NLS is not defined.
gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is
  defined.

18 years ago Fix typo.
corinna [Fri, 30 Sep 2005 11:03:35 +0000 (11:03 +0000)]
Fix typo.

18 years ago * fhandler_disk_file.cc: Change calls to pc.set_attributes into
corinna [Fri, 30 Sep 2005 11:02:46 +0000 (11:02 +0000)]
* fhandler_disk_file.cc: Change calls to pc.set_attributes into
calls to pc.file_attributes throughout.
* path.h (class path_conv): Remove superfluous set_attributes method.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
corinna [Fri, 30 Sep 2005 10:54:43 +0000 (10:54 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
fhandler method to access majoer device number.  Add comment to
explain floppy weirdness.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
corinna [Fri, 30 Sep 2005 10:27:11 +0000 (10:27 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
attributes stored in this->pc if call to GetFileInformationByHandle
failed.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
corinna [Fri, 30 Sep 2005 08:05:40 +0000 (08:05 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
attributes if call to GetFileInformationByHandle was successful.

18 years ago * elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
amodra [Fri, 30 Sep 2005 07:32:43 +0000 (07:32 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.

18 years ago* fork.cc (frok::parent): Simplify error messages. Don't issue an error when
cgf [Fri, 30 Sep 2005 00:18:27 +0000 (00:18 +0000)]
* fork.cc (frok::parent): Simplify error messages.  Don't issue an error when
child.remember fails.
(fork): When appropriate, build up an error message from grouped.error.

18 years ago*** empty log message ***
gdbadmin [Fri, 30 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***