OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago * cref.cc: New file.
ian [Tue, 22 Jul 2008 22:08:43 +0000 (22:08 +0000)]
* cref.cc: New file.
* cref.h: New file.
* options.h (class General_options): Add --print-symbol-counts.
* main.cc (main): Issue defined symbol report if requested.
* archive.cc (Archive::interpret_header): Make into a const member
function.
(Archive::add_symbols): Call Input_objects::archive_start and
archive_stop.
(Archive::const_iterator): Define new class.
(Archive::begin, Archive::end): New functions.
(Archive::include_all_members): Rewrite to use iterator.
(Archive::count_members): New function.
* archive.h (class Archive): Update declarations.
(Archive::filename): New function.
* object.cc: Include "cref.h".
(Sized_relobj::Sized_relobj): Initialize defined_count_.
(Sized_relobj::do_get_global_symbol_counts): New function.
(Input_objects::add_object): Add object to cross-referencer.
(Input_objects::archive_start): New function.
(Input_objects::archive_stop): New function.
(Input_objects::print_symbol_counts): New function.
* object.h: Declare Cref and Archive.
(Object::get_global_symbol_counts): New function.
(Object::do_get_global_symbol_counts): New pure virtual function.
(class Sized_relobj): Add defined_count_ field.  Update
declarations.
(class Input_objects): Add cref_ field.  Update constructor.
Update declarations.
* dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize symbols_ and
defined_count_.
(Sized_dynobj::do_add_symbols): Allocate symbols_ if printing
symbol counts.
(Sized_dynobj::do_get_global_symbol_counts): New function.
* dynobj.h (class Sized_dynobj): Add fields symbols_ and
defined_count_.  Update declarations.  Define Symbols typedef.
* symtab.cc (Symbol_table::add_from_relobj): Add defined
parameter.  Change all callers.
(Symbol_table::add_from_dynobj): Add sympointers and defined
parameters.  Change all callers.
* symtab.h (class Symbol_table): Update declarations.
* Makefile.am (CCFILES): Add cref.cc.
(HFILES): Add cref.h.
* Makefile.in: Rebuild.

15 years ago2008-07-22 Simon Baldwin <simonb@google.com>
cgd [Tue, 22 Jul 2008 21:02:44 +0000 (21:02 +0000)]
2008-07-22  Simon Baldwin  <simonb@google.com>

        * symtab.cc (Symbol_table::sized_write_symbol): Set symbol size
        to zero when writing undefined symbols.

15 years ago * mkgroup.c (enum_groups): Create full qualified groupname using
corinna [Tue, 22 Jul 2008 20:47:14 +0000 (20:47 +0000)]
* mkgroup.c (enum_groups): Create full qualified groupname using
domain or servername, depending on printing domain or machine accounts.
* mkpasswd.c (enum_users): Ditto for users.

15 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:41:59 +0000 (20:41 +0000)]
Initial revision

15 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:41:46 +0000 (20:41 +0000)]
Initial revision

15 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:40:18 +0000 (20:40 +0000)]
Initial revision

15 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:39:58 +0000 (20:39 +0000)]
Initial revision

15 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:39:42 +0000 (20:39 +0000)]
Initial revision

15 years agotouch all sources for Itcl 3.3/Iwidgets 4.0.1 upgrade
kseitz [Tue, 22 Jul 2008 20:32:44 +0000 (20:32 +0000)]
touch all sources for Itcl 3.3/Iwidgets 4.0.1 upgrade

15 years ago * mkgroup.c (main): Remove special root group code. Only print
corinna [Tue, 22 Jul 2008 20:12:02 +0000 (20:12 +0000)]
* mkgroup.c (main): Remove special root group code.  Only print
SYSTEM group in case of printing local machine or local domain groups.

15 years ago * tcl.m4: New file.
kseitz [Tue, 22 Jul 2008 20:11:35 +0000 (20:11 +0000)]
    * tcl.m4: New file.
        * acinclude.m4: Include tcl.m4 instead of ../config/acinclude.m4
        * aclocal.m4: Regenerated.
        * configure.ac: Do not check for ITCL_SH.
        Use SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG, SC_LOAD_TCLCONFIG, and
        SC_LOAD_TKCONFIG to find Tcl and Tk.
        Add some logic for when using in-tree Tcl/Tk.
        Change substitutes for TCL_BUILD_LIB_SPEC, TK_BUILD_LIB_SPEC, and
        TCLHDIR to accommodate using system-supplied Tcl and Tk.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * library/Makefile.am: Replace ITCL_SH with TCLSH.
        Remove TCL_SHARED rules.
        (tclIndex): Update build rules.
        * library/Makefile.in: Regenerate.
        * library/balloon.tcl: Update for Itcl 3.2/3.3.
        * library/cframe.tcl: Likewise.
        * library/lframe.tcl: Likewise.
        * library/multibox.tcl: Likewise.
        * library/sendpr.tcl: Likewise.
        * library/ventry.tcl: Likewise.
        * library/wframe.tcl: Likewise.
        * src/Makefile.am (INCLUDES): Update.
        * src/Makefile.in: Regenerate.
        * src/paths.c (init_script): Accommodate builddir != srcdir.

15 years agoRemove erroneous ChangeLog entry.
corinna [Tue, 22 Jul 2008 17:31:35 +0000 (17:31 +0000)]
Remove erroneous ChangeLog entry.

15 years ago * spawn.cc (spawn_guts): Remove long path prefix from win32 path
corinna [Tue, 22 Jul 2008 16:59:58 +0000 (16:59 +0000)]
* spawn.cc (spawn_guts): Remove long path prefix from win32 path
before calling CreateProcess if path length is < MAX_PATH.

15 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
corinna [Tue, 22 Jul 2008 14:40:05 +0000 (14:40 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* bloda.cc: Use statically linked functions throughout.
* cygpath.cc: Drop 9x considerations.
* mkgroup.c: Revamp.  Redefine -l and -d options to take optional
machine and domain parameters.  Redefine -c to work always, using
token information.  Add -L, -D, -C to create unique groupnames in
domain\group syntax.  Add -S option to define domain\group separator
char.  Ignore -u and -s options.
* mkpasswd.c: Revamp.  Redefine -l and -d options to take optional
machine and domain parameters.  Redefine -c to work always, using
token information.  Add -L, -D, -C to create unique usernames in
domain\user syntax.  Add -S option to define domain\user separator
char.  Ignore -g and -s options.  Prefer to take homedir from $HOME
over $HOMEDRIVE/$HOMEPATH.
* path.cc (oopts): Add "acl", "noacl", "posix=0" and "posix=1" options.
(getmntent): Accomodate throughout.
* ps.cc: Fix copyright dates.
* utils.sgml: Fix text for mkgroup and mkpasswd.

15 years agoUpdate for elf_link_output_extsym change
amodra [Tue, 22 Jul 2008 14:15:32 +0000 (14:15 +0000)]
Update for elf_link_output_extsym change

15 years ago * elf.c (_bfd_elf_map_sections_to_segments): Allow sections in
nickc [Tue, 22 Jul 2008 11:19:01 +0000 (11:19 +0000)]
    * elf.c (_bfd_elf_map_sections_to_segments): Allow sections in
        adjoining pages to be included in the same segment.

15 years ago * config/tc-mips.c (mips_ip): Reset s to argsStart.
nickc [Tue, 22 Jul 2008 10:44:50 +0000 (10:44 +0000)]
    * config/tc-mips.c (mips_ip): Reset s to argsStart.
        * gas/mips/tls-ill.l: Update error message.
        * gas/mips/octeon-ill.l: Likewise.

15 years ago * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
corinna [Tue, 22 Jul 2008 10:38:18 +0000 (10:38 +0000)]
* include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.

15 years ago * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
jiez [Tue, 22 Jul 2008 08:34:16 +0000 (08:34 +0000)]
* config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.

15 years ago * output.cc (Output_section::add_input_section): Don't try to
ian [Tue, 22 Jul 2008 08:09:48 +0000 (08:09 +0000)]
* output.cc (Output_section::add_input_section): Don't try to
merge empty merge sections.

15 years ago2008-07-22 Simon Baldwin <simonb@google.com>
cgd [Tue, 22 Jul 2008 04:58:32 +0000 (04:58 +0000)]
2008-07-22  Simon Baldwin  <simonb@google.com>

        * elflink.c (elf_link_output_extsym): Set st_size to zero for
        symbols from dynamic libraries.

15 years ago Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.
shebs [Tue, 22 Jul 2008 02:10:13 +0000 (02:10 +0000)]
Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.
* gdbarch.sh: Adjust comment to refer to
in_solib_dynsym_resolve_code().
* gdbarch.h, gdbarch.c: Update.
* solib-osf.c: Ditto.
* infrun.c: Ditto.
(handle_inferior_event): Use in_solib_dynsym_resolve_code
unconditionally.
* config/mips/nm-irix5.h: Remove undef of
IN_SOLIB_DYNSYM_RESOLVE_CODE.

* gdbint.texinfo: Refer to target_so_ops.in_dynsym_resolve_code
instead of IN_SOLIB_DYNSYM_RESOLVE_CODE.

15 years agodaily update
amodra [Tue, 22 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 22 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2008-07-21 Craig Silverstein <csilvers@google.com>
csilvers [Mon, 21 Jul 2008 23:36:29 +0000 (23:36 +0000)]
2008-07-21  Craig Silverstein  <csilvers@google.com>

* symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
Include symbol version in error message.

15 years ago2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 21 Jul 2008 21:28:34 +0000 (21:28 +0000)]
2008-07-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
        less than the old __ctype_ptr.
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
        * libc/ctype/isalpha.c: Ditto.
        * libc/ctype/iscntrl.c: Ditto.
        * libc/ctype/isdigit.c: Ditto.
        * libc/ctype/islower.c: Ditto.
        * libc/ctype/isprint.c: Ditto.
        * libc/ctype/ispunct.c: Ditto.
        * libc/ctype/isspace.c: Ditto.
        * libc/ctype/isupper.c: Ditto.
        * libc/ctype/isxdigit.c: Ditto.
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
        from here even though they can still work.

15 years ago* config/tc-h8300.c (fix_operand_size): Use the default size
dj [Mon, 21 Jul 2008 17:50:54 +0000 (17:50 +0000)]
* config/tc-h8300.c (fix_operand_size): Use the default size
specified by the .lbranch/.sbranch pseudos.

15 years agogdb
tromey [Mon, 21 Jul 2008 16:47:10 +0000 (16:47 +0000)]
gdb
* symfile.c (reread_symbols): Don't pass argument to observer.
* exec.c (exec_file_attach): Don't pass argument to observer.
* ada-lang.c (ada_executable_changed_observer): Remove argument.
* symtab.c (symtab_observer_executable_changed): Remove argument.
* observer.sh: Handle functions with no arguments.
gdb/doc
* observer.texi (GDB Observers): Remove obsolete comment.
<executable_changed>: Remove argument.

15 years ago2008-07-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 21 Jul 2008 16:13:27 +0000 (16:13 +0000)]
2008-07-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4424
* elflink.c (_bfd_elf_merge_symbol): Call bed->relocs_compatible
to check if 2 inputs are compatible.

15 years ago * elf.c (assign_file_positions_for_load_sections): Print vma in
nickc [Mon, 21 Jul 2008 16:01:01 +0000 (16:01 +0000)]
    * elf.c (assign_file_positions_for_load_sections): Print vma in
        error message about overlapping section vmas.

15 years ago2008-07-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 21 Jul 2008 14:36:04 +0000 (14:36 +0000)]
2008-07-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/6747
* elf32-frv.c (elf32_frv_relocate_section): Revert the change
for PR ld/6446 checked in by accident on May 21, 2008.

15 years ago * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non
nickc [Mon, 21 Jul 2008 14:09:56 +0000 (14:09 +0000)]
    * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non
        COFF_WITH_PE based SH ports.
        * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype.
        * arm-wince-pe.c (bfd_pe_print_pdata): Use
        _bfd_pe_print_ce_compressed_pdata.
        (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move
        to...
        * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to
        _bfd_XX_print_ce_compressed_pdata.

15 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
corinna [Mon, 21 Jul 2008 13:44:42 +0000 (13:44 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* bloda.cc: link against ntdll functions statically.
* cygpath.cc (get_user_folder): Drop 9x code.
(print_version): Fix copyright.
* mkgroup.c: Remove 9x code.
* mkpasswd.c: Ditto.
* path.cc (oopts): Add new mount options.
* ps.cc: Fix copyright.

15 years ago * ld-scripts/include-sections.t: Discard all sections not
nickc [Mon, 21 Jul 2008 08:38:35 +0000 (08:38 +0000)]
    * ld-scripts/include-sections.t: Discard all sections not
        explicitly requested by the rest of the linker script.
        * ld-scripts/include-1.d: Expect test to fail for AIX ports.
        Do not assume that the .text section will be marked readonly.
        * ld-scripts/include.s: Replace .section directives with just
        .text or .data.

15 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Drop
amodra [Mon, 21 Jul 2008 07:49:58 +0000 (07:49 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Drop
unwanted zero terminators.

15 years ago * elf32-spu.c (spu_elf_relocate_section): Expand
amodra [Mon, 21 Jul 2008 07:36:25 +0000 (07:36 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Expand
RELOC_FOR_GLOBAL_SYMBOL.  Don't warn about undefined symbols for
R_SPU_PPU32 and R_SPU_PPU64 relocations.

15 years ago2008-07-20 Chris Demetriou <cgd@google.com>
cgd [Mon, 21 Jul 2008 05:55:27 +0000 (05:55 +0000)]
2008-07-20  Chris Demetriou  <cgd@google.com>

        * configure.ac (gold_cv_c_random_seed): New configured variable.
        (RANDOM_SEED_CFLAGS): New substituted variable.
        * Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Add $(RANDOM_SEED_CFLAGS).
        * configure: Rebuild.
        * Makefile.in: Likewise.
        * testsuite/Makefile.in: Likewise.

15 years ago * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
luisgpm [Mon, 21 Jul 2008 05:33:36 +0000 (05:33 +0000)]
* bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
* bfd/elf.c (elfcore_grok_ppc_vsx): New function.
(elfcore_write_ppc_vsx): New function
(elfcore_grok_note): Handle VSX notes.
(elfcore_write_register_note): Handle VSX notes.
* include/elf/common.h: Define NT_PPC_VSX.
* binutils/readelf.c (get_note_type): Handle VSX notes.

15 years ago2008-07-20 Sergei Poselenov <sposelenov@emcraft.com>
cgd [Mon, 21 Jul 2008 05:05:22 +0000 (05:05 +0000)]
2008-07-20  Sergei Poselenov  <sposelenov@emcraft.com>
            Chris Demetriou  <cgd@google.com>

        * elfread.c (elf_symfile_segments): Fix the check that each loadable
        section fits within an ELF segment to handle ELF segments that hit
        the end of the address space.

15 years agodaily update
amodra [Mon, 21 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 21 Jul 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2008-07-20 Chris Demetriou <cgd@google.com>
cgd [Sun, 20 Jul 2008 21:56:48 +0000 (21:56 +0000)]
2008-07-20  Chris Demetriou  <cgd@google.com>

        * MAINTAINERS (Write After Approval): Add self.

15 years agodaily update
amodra [Sun, 20 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 20 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * autoload.cc (WNetGetProviderNameA): Define.
corinna [Sat, 19 Jul 2008 12:26:09 +0000 (12:26 +0000)]
* autoload.cc (WNetGetProviderNameA): Define.
(WNetGetResourceParentA): Remove.
* fhandler_netdrive.cc (struct net_hdls): New structure to keep
WNet handles.  Stored in dir->__handle throughout.
(thread_netdrive): Rewrite to enumerate all servers in all accessible
domains and workgroups.
(fhandler_netdrive::readdir): Simplify toplevel code.  Lowercase all
server names in toplevel.
(fhandler_netdrive::rewinddir): Close all WNet handles and free
net_hdls structure.

15 years ago*** empty log message ***
gdbadmin [Sat, 19 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 19 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* config/tc-m32c.h (H_TICK_HEX): Define.
dj [Fri, 18 Jul 2008 22:25:07 +0000 (22:25 +0000)]
* config/tc-m32c.h (H_TICK_HEX): Define.
* config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
(md_longopts): Add support for it.
(md_parse_option): Likewise.
* doc/as.texinfo (Overview): Add new m32c options.
* doc/c-m32c.texi (M32C-Modifiers): Likewise

* as.h: (enable_h_tick_hex): New.
* app.c (enable_h_tick_hex): New.
(LEX_IS_H): New.
(do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
(do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
style hex constants and convert the input stream to 0x00 style.
(do_scrub_chars): If a 'X style character constant is found after
a symbol character (like you're or X'00), warn the user.

15 years agogdb
tromey [Fri, 18 Jul 2008 20:55:31 +0000 (20:55 +0000)]
gdb
PR gdb/855:
* NEWS: Add entry for macro commands.
* Makefile.in (macrocmd.o): Add gdb_string.h.
* macroscope.h (user_macro_scope): Declare.
(default_macro_scope): Update documentation.
(macro_user_macros): Declare.
* c-lang.c (c_preprocess_and_parse): Always attempt macro lookup.
Use user_macro_scope.
(null_macro_lookup): Remove.
* macrotab.h (macro_callback_fn): Declare.
(macro_for_each): Likewise.
(macro_allow_redefinitions): Likewise.
* macrotab.c (foreach_macro): New function
(macro_for_each): Likewise.
(struct macro_table) <redef_ok>: New field.
(macro_allow_redefinitions): New function.
(new_macro_table): Update.
(macro_define_function): Likewise.
(macro_define_object): Likewise.
* macroscope.c (user_macro_scope): New function.
(default_macro_scope): Use it.
(macro_user_macros): New global.
(standard_macro_lookup): Look in macro_user_macros.
(_initialize_macroscope): New function.
* macroexp.h (macro_is_whitespace, macro_is_digit,
macro_is_identifier_nondigit): Declare.
* macroexp.c (macro_is_whitespace): Rename.  No longer static.
(macro_is_digit): Likewise.
(macro_is_identifier_nondigit): Likewise.
(get_identifier): Update.
(get_pp_number): Likewise.
(get_token): Likewise.
* macrocmd.c (skip_ws): New function.
(extract_identifier): Likewise.
(free_macro_definition_ptr): Likewise.
(user_macros): Remove.
(macro_define_command): Implement.
(_initialize_macrocmd): Update.
(macro_undef_command): Implement.
(print_one_macro): New function.
(macro_list_command): Implement.
gdb/doc
* gdb.texinfo (Macros): Update.  Use @code rather than @command.
gdb/testsuite
* gdb.base/macscp.exp: Add macro tests.

15 years agobfd:
jsm28 [Fri, 18 Jul 2008 20:49:12 +0000 (20:49 +0000)]
bfd:
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter.
* bfd-in2.h: Regenerate.
* elf32-arm.c (struct elf_arm_obj_tdata): Add field
no_wchar_size_warning.
(bfd_elf32_arm_set_target_relocs): Add new parameter
no_wchar_warn.
(elf32_arm_merge_eabi_attributes): Give a warning, not an error,
for conflicting wchar_t attributes.  Do not warn if
--no-wchar-size-warning.  Make diagnostic text more specific.

ld:
* ld.texinfo (--no-wchar-size-warning): Document new ARM option.
* emultempl/armelf.em (no_wchar_size_warning): New.
(arm_elf_create_output_section_statements): Pass
no_wchar_size_warning to arm_elf_create_output_section_statements.
(OPTION_NO_WCHAR_SIZE_WARNING): New.
(PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
(PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
(PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.

ld/testsuite:
* ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s,
ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d,
ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d,
ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d,
ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d,
ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d,
ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d,
ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d,
ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d,
ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d,
ld-arm/attr-merge-wchar-44.d: New.
* ld-arm/arm-elf.exp: Run new tests.

15 years ago2008-07-18 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 18 Jul 2008 16:36:21 +0000 (16:36 +0000)]
2008-07-18  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Fix error in previous patch.

15 years ago * configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
jsm28 [Fri, 18 Jul 2008 13:38:11 +0000 (13:38 +0000)]
* configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
in BFD ELF check.
* configure: Regenerate.

15 years ago2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Jul 2008 12:45:33 +0000 (12:45 +0000)]
2008-07-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/6748
* elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
new fields added for ARM long call support.

15 years ago * fhandler.cc (fhandler_base::open): Rename x to fh. On Samba, always
corinna [Fri, 18 Jul 2008 12:21:21 +0000 (12:21 +0000)]
* fhandler.cc (fhandler_base::open): Rename x to fh.  On Samba, always
create file with NULL security descriptor and set the permissions
afterwards.  Explain why.

15 years ago * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
nickc [Fri, 18 Jul 2008 11:30:22 +0000 (11:30 +0000)]
    * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
        print compressed pdata structure as described on MSDN. This only
        applies to a limited set of architectures (ARM, SH4).
        (slurp_symtab, my_symbol_for_address): Define static helper
        functions for pe_print_compressed_pdata.
        * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field.
        (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define.
        * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on
        bfd_coff_backend_data, call the function if non-null.
        * pei-mcore.c: Add target dependent initialisation for
        bfd_coff_backend_data.
        * coff-sh.c: Likewise.
        * coff64-rs6000.c: Likewise.
        * coff-rs6000.c: Likewise.
        * libcoff-in.h: Likewise.
        * cf-i386lynx.c: Likewise.
        * coff-alpha.c: Likewise.
        * coff-apollo.c: Likewise.
        * coff-arm.c: Likewise.
        * coff-aux.c: Likewise.
        * coff-h8300.c: Likewise.
        * coff-h8500.c: Likewise.
        * coff-i386.c: Likewise.
        * coff-i860.c: Likewise.
        * coff-i960.c: Likewise.
        * coff-ia64.c: Likewise.
        * coff-m68k.c: Likewise.
        * coff-m88k.c: Likewise.
        * coff-maxq.c: Likewise.
        * coff-mips.c: Likewise.
        * coff-or32.c: Likewise.
        * coff-sparc.c: Likewise.
        * coff-tic30.c: Likewise.
        * coff-tic4x.c: Likewise.
        * coff-tic54x.c: Likewise.
        * coff-tic80.c: Likewise.
        * coff-w65.c: Likewise.
        * coff-we32k.c: Likewise.
        * coff-x86_64.c: Likewise.
        * coff-z80.c: Likewise.
        * coff-z8k.c: Likewise.
        * pe-mcore.c: Likewise.
        * pe-mips.c: Likewise.
        * pe-ppc.c: Likewise.
        * peXXigen.c: Likewise.
        * pei-ppc.c: Likewise.
        * libcoff.h: Regenerate.

15 years ago * cygwinenv.sgml: Move binmode option to list of removed options.
corinna [Fri, 18 Jul 2008 08:17:28 +0000 (08:17 +0000)]
* cygwinenv.sgml: Move binmode option to list of removed options.

15 years ago * environ.cc (known): Remove "binmode" option.
corinna [Fri, 18 Jul 2008 08:16:39 +0000 (08:16 +0000)]
* environ.cc (known): Remove "binmode" option.
* fhandler.cc (binmode): Remove.
(fhandler_base::set_flags): Accommodate binmode removal.
* path.h (path_conv::set_binary): Remove.
* pipe.cc (pipe): Create pipes always as binary pipes.
* winsup.h (binmode): Remove declaration.

15 years ago * symtab.cc (Symbol_table::add_from_object): Rewrite the case
ian [Fri, 18 Jul 2008 07:03:27 +0000 (07:03 +0000)]
* symtab.cc (Symbol_table::add_from_object): Rewrite the case
where we see NAME/NULL and NAME/VERSION  as separate symbols.
* testsuite/ver_test_main.cc (main): Call t4.
(t4, t4_2a): Define.
* testsuite/ver_test_2.cc (t4_2): Define.
* testsuite/ver_test_2.script: Put t4_2a in VER2.
* testsuite/ver_test_4.cc (t4_2a): Define.
* testsuite/ver_test_4.script: Put t4_2a in VER2.
* testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.

15 years ago * dynobj.cc (Versions::add_def): If we give an error about a
ian [Fri, 18 Jul 2008 06:58:04 +0000 (06:58 +0000)]
* dynobj.cc (Versions::add_def): If we give an error about a
missing version, go ahead and create the version anyhow.

15 years agodaily update
amodra [Fri, 18 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 18 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoFix for Linux/VDSO failure.
ppluzhnikov [Thu, 17 Jul 2008 20:57:26 +0000 (20:57 +0000)]
Fix for Linux/VDSO failure.

15 years ago2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 17 Jul 2008 20:56:51 +0000 (20:56 +0000)]
2008-07-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.

15 years agoFix for failing gdb.base/auxv.exp on Linux
ppluzhnikov [Thu, 17 Jul 2008 20:56:11 +0000 (20:56 +0000)]
Fix for failing gdb.base/auxv.exp on Linux

15 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Thu, 17 Jul 2008 19:04:26 +0000 (19:04 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/syscalls.c: Check and set the errno value.

15 years agoFix for gdb.base/corefile.exp failure on Linux
ppluzhnikov [Thu, 17 Jul 2008 19:01:44 +0000 (19:01 +0000)]
Fix for gdb.base/corefile.exp failure on Linux

15 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Thu, 17 Jul 2008 19:00:43 +0000 (19:00 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.

15 years ago * mount.cc (do_mount): Remove MOUNT_ENC code.
corinna [Thu, 17 Jul 2008 15:07:48 +0000 (15:07 +0000)]
* mount.cc (do_mount): Remove MOUNT_ENC code.
(oopts): Remove "managed" option.
(mount_commands): Drop "managed" handling.
* path.cc (oopts): Remove "managed" option.
(getmntent): Remove MOUNT_ENC code.

15 years ago * mount.cc (mount_info::from_fstab_line): Default to binary mount.
corinna [Thu, 17 Jul 2008 14:14:34 +0000 (14:14 +0000)]
* mount.cc (mount_info::from_fstab_line): Default to binary mount.

15 years ago * Revamp documentation for Cygwin 1.7, part 1.
corinna [Thu, 17 Jul 2008 11:49:45 +0000 (11:49 +0000)]
* Revamp documentation for Cygwin 1.7, part 1.

15 years ago * utils.sgml: Add id's to all examples.
corinna [Thu, 17 Jul 2008 10:32:03 +0000 (10:32 +0000)]
* utils.sgml: Add id's to all examples.

15 years ago * utils.sgml: Add id's to all examples.
corinna [Thu, 17 Jul 2008 10:31:51 +0000 (10:31 +0000)]
* utils.sgml: Add id's to all examples.

15 years agodaily update
amodra [Thu, 17 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 17 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * path.cc (allow_winsymlinks): Revert default to create system bit
corinna [Wed, 16 Jul 2008 21:08:22 +0000 (21:08 +0000)]
* path.cc (allow_winsymlinks): Revert default to create system bit
symlinks for speed.

15 years ago Add case-sensitivity.
corinna [Wed, 16 Jul 2008 20:20:44 +0000 (20:20 +0000)]
Add case-sensitivity.
Unconditionally handle mount points case-sensitive.
Unconditionally handle virtual paths case-sensitive.
Unconditionally handle registry paths case-insensitive.
Otherwise, accommodate case-sensitivity of given path throughout.
* cygheap.cc (cygheap_root::set): Get additional caseinsensitive
parameter and store it.
* cygheap.h (struct cygheap_root_mount_info): Add member
caseinsensitive.
* dlfcn.cc (get_full_path_of_dll): Drop PC_NOFULL parameter from call
to path_conv::check.
* environ.cc (pcheck_case): Remove.
(check_case_init): Remove.
(known): Drop "check_case" option.
* exceptions.cc (open_stackdumpfile): Add comment.
* fhandler.cc (fhandler_base::get_default_fmode): Call pathmatch
instead of strcasematch.
* fhandler_disk_file.cc: Accommodate case-sensitivity of given path
throughout.
(__DIR_mounts::check_mount): Unconditionally check virtual paths
case-sensitive.
(fhandler_disk_file::link): Drop case clash handling.
(fhandler_disk_file::open): Ditto.
(fhandler_disk_file::readdir_helper): Drop managed mount code.
* mount.cc: Remove managed mount code and datastructures.
(struct opt): Remove "managed" option.  Add "posix=0" and "posix=1"
options.
(fillout_mntent): Remove "managed" output.  Add "posix" output.
* path.cc (struct symlink_info): Remove case_clash member and
case_check method.
(pcheck_case): Remove.
(path_prefix_p): Take additional bool parameter "caseinsensitive".
(pathnmatch): Ditto.
(pathmatch): Ditto.
(mkrelpath): Ditto.
(fs_info::update): Set caseinsensitive flag according to file system
name and FILE_CASE_SENSITIVE_SEARCH flag.  Add comment.
(tfx_chars_managed): Remove.
(transform_chars): Drop "managed" parameter.  Always use tfx_chars.
(get_nt_native_path): Drop "managed" parameter.  Make sure drive letters
are always upper case.
(getfileattr): Change second parameter to denote caseinsensitivity.
(path_conv::check): Initialize caseinsensitive to OBJ_CASE_INSENSITIVE.
Set caseinsensitive according to global obcaseinsensitive flag, file
system case sensitivity and MOUNT_NOPOSIX mount flag.
Drop case_clash and all the related code.
(symlink_worker): Drop case clash handling.
(symlink_info::set): Drop setting case_clash.
(symlink_info::case_check): Remove.
(cwdstuff::set): Add comment.
(etc::init): Take path_conv instead of PUNICODE_STRING as parameter to
allow case sensitivity.
* path.h (enum pathconv_arg): Drop PC_SYM_IGNORE.
(enum case_checking): Remove.
(enum path_types): Drop PATH_ENC, add PATH_NOPOSIX flag.
(struct fs_info): Add caseinsensitive flag and accessor methods.
(class path_conv): Add caseinsensitive member and define
objcaseinsensitive method.  Drop case_clash member and isencoded method.
(pathmatch): Change prototype according to above change.
(pathnmatch): Ditto.
(path_prefix_p): Ditto.
(get_nt_native_path): Ditto.
(class etc): Ditto.
(fnunmunge): Remove prototype.
* shared.cc (shared_info::init_obcaseinsensitive): Initialize
obcaseinsensitive flag from obcaseinsensitive registry value.
(shared_info::initialize): Call init_obcaseinsensitive here by the
first process creating the shared memory.
* shared_info.h (mount_item::fnmunge): Remove.
(shared_info::obcaseinsensitive): Rename from obcaseinsensitivity.
(shared_info::init_obcaseinsensitive): Declare.
* syscalls.cc (try_to_bin): Add comment.
* include/sys/mount.h (MOUNT_ENC): Remove flag.
(MOUNT_NOPOSIX): Add flag.

15 years ago * cyglsa-config: Always create a /bin/cyglsa directory and copy the
corinna [Wed, 16 Jul 2008 19:33:54 +0000 (19:33 +0000)]
* cyglsa-config: Always create a /bin/cyglsa directory and copy the
LSA DLL there.  Register this copy in the registry.

15 years ago * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
bernds [Wed, 16 Jul 2008 15:27:05 +0000 (15:27 +0000)]
* elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook,
ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE,
struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code
separate from non-FD-PIC.

15 years agodaily update
amodra [Wed, 16 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 16 Jul 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoRevert frame_unwind_caller_pc / frame_unwind_caller_id.
drow [Tue, 15 Jul 2008 23:29:24 +0000 (23:29 +0000)]
Revert frame_unwind_caller_pc / frame_unwind_caller_id.

15 years ago* valops.c (value_cast_pointers): Follow typedefs when checking
schwab [Tue, 15 Jul 2008 22:13:42 +0000 (22:13 +0000)]
* valops.c (value_cast_pointers): Follow typedefs when checking
result of coercion.

15 years agoFix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf
ppluzhnikov [Tue, 15 Jul 2008 19:15:28 +0000 (19:15 +0000)]
Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elf

15 years ago * block.c (block_function): Renamed to ...
drow [Tue, 15 Jul 2008 19:11:34 +0000 (19:11 +0000)]
* block.c (block_function): Renamed to ...
(block_linkage_function): ... this.  All callers changed.
* block.h (block_function): Renamed to ...
(block_linkage_function): ... this.

15 years ago * frame.c (frame_unwind_id): Renamed to ...
drow [Tue, 15 Jul 2008 18:58:32 +0000 (18:58 +0000)]
* frame.c (frame_unwind_id): Renamed to ...
(frame_unwind_caller_id): ... this.  All callers updated.
(frame_pc_unwind): Renamed to ...
(frame_unwind_caller_pc): ... this.  All callers updated.
* frame.h: Document frame_unwind_caller_WHAT functions.
(frame_unwind_id): Renamed to ...
(frame_unwind_caller_id): ... this.
(frame_pc_unwind): Renamed to ...
(frame_unwind_caller_pc): ... this.
* hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment.
* stack.c (parse_frame_specification_1): Do not rely on
frame_unwind_id.

15 years ago * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
drow [Tue, 15 Jul 2008 18:52:17 +0000 (18:52 +0000)]
* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.

15 years ago * frame.c (frame_sp_unwind): Delete.
drow [Tue, 15 Jul 2008 18:50:15 +0000 (18:50 +0000)]
* frame.c (frame_sp_unwind): Delete.
(get_frame_sp): Do not use it.
* frame.h (frame_sp_unwind): Delete prototype.

15 years ago2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 Jul 2008 18:48:34 +0000 (18:48 +0000)]
2008-07-15  H.J. Lu  <hongjiu.lu@intel.com>

* objdump.c (load_debug_section): Initialize section_is_compressed
for gcc 3.4/ia64.
* readelf.c (load_debug_section): Likewise.

15 years ago* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
dj [Tue, 15 Jul 2008 18:48:07 +0000 (18:48 +0000)]
* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16
relocs.
(mn10300_elf_relax_section): Correct jump offset check when target
is in a different section.

15 years ago * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.
drow [Tue, 15 Jul 2008 18:45:42 +0000 (18:45 +0000)]
* ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.

15 years agoAdd missing ChangeLog entries for
hjl [Tue, 15 Jul 2008 18:44:18 +0000 (18:44 +0000)]
Add missing ChangeLog entries for

http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html

15 years ago* dwarf2-frame.c (dwarf2_frame_cache): Update comment.
drow [Tue, 15 Jul 2008 18:40:02 +0000 (18:40 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Update comment.

* frame.c (frame_unwind_address_in_block): Delete.
(get_frame_address_in_block): Do not use it.  Check the type
of the next frame first.
(frame_cleanup_after_sniffer): Update comment.
* frame.h (frame_unwind_address_in_block): Delete prototype.
* hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.

15 years ago* frame.c (frame_func_unwind): Delete.
drow [Tue, 15 Jul 2008 18:32:05 +0000 (18:32 +0000)]
* frame.c (frame_func_unwind): Delete.

(get_frame_func): Do not use it.
* frame.h (frame_func_unwind): Delete prototype.
* hppa-tdep.c (hppa_frame_cache): Update comment.
* rs6000-tdep.c (rs6000_frame_cache): Update comment.

15 years ago * remote-sim.c (init_gdbsim_ops): Remove
shebs [Tue, 15 Jul 2008 18:08:27 +0000 (18:08 +0000)]
* remote-sim.c (init_gdbsim_ops): Remove
TARGET_REDEFINE_DEFAULT_OPS.

15 years ago * findvar.c (read_var_value): Remove unused variable.
drow [Tue, 15 Jul 2008 17:53:11 +0000 (17:53 +0000)]
* findvar.c (read_var_value): Remove unused variable.

15 years ago * infrun.c (handle_inferior_event): Tag threads as stopped
luisgpm [Tue, 15 Jul 2008 17:25:20 +0000 (17:25 +0000)]
* infrun.c (handle_inferior_event): Tag threads as stopped
before inserting breakpoints.

15 years ago bfd/
jiez [Tue, 15 Jul 2008 13:09:46 +0000 (13:09 +0000)]
bfd/
* elf32-bfin.c (elf32_bfin_special_sections[]): New.
(elf_backend_special_sections): Define.

ld/
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.

15 years ago * fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
corinna [Tue, 15 Jul 2008 11:42:45 +0000 (11:42 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Just initialize drive data.
* mtinfo.h (MTINFO_MAGIC): Remove.
(MTINFO_VERSION): Remove.
(class mtinfo): Remove magic and version members.
* shared.cc (shared_info::initialize): Move call to
get_session_parent_dir so that the dir creation is only called once.
Move call to mt.initialize so that it's called only by the first
process creating the shared memory.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add obcaseinsensitivity member.

15 years ago* MAINTAINERS: Added myself to section Write After Approval.
teawater [Tue, 15 Jul 2008 09:46:48 +0000 (09:46 +0000)]
* MAINTAINERS: Added myself to section Write After Approval.

15 years ago * cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
corinna [Tue, 15 Jul 2008 09:43:48 +0000 (09:43 +0000)]
* cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Fix comment.