OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago * dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
devans [Fri, 27 Aug 2010 16:36:58 +0000 (16:36 +0000)]
* dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
the order they're defined in.  munmap .debug_types buffer.

13 years ago * event-loop.c (event_handle_func): Adjust to use gdb_fildes_t.
palves [Fri, 27 Aug 2010 16:02:48 +0000 (16:02 +0000)]
* event-loop.c (event_handle_func): Adjust to use gdb_fildes_t.
(struct gdb_event) <fd>: Change type to gdb_fildes_t.
(struct file_handler) <fd>: Change type to gdb_fildes_t.
(process_event): Change local fd's type to gdb_fildes_t.
(create_file_handler): Adjust prototype.
(delete_file_handler): Adjust prototype.
(handle_file_event): Adjust prototype.  Use pfildes.
(create_file_event): Adjsut prototype.
* remote-utils.c (remote_desc, listen_desc): Change type to
gdb_fildes_t.
* server.h: New gdb_fildes_t typedef.
[USE_WIN32API]: Include winsock2.h.
(delete_file_handler, add_file_handler): Adjust prototypes.
(pfildes): Declare.
* utils.c (pfildes): New.

13 years agoopcodes/
froydnj [Fri, 27 Aug 2010 13:59:55 +0000 (13:59 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes) [lswx,lswi,stswx,stswi]: Deprecate
on E500 and E500MC.

13 years agoFix whitespace, tabs/spaces.
palves [Fri, 27 Aug 2010 12:02:17 +0000 (12:02 +0000)]
Fix whitespace, tabs/spaces.

13 years ago * syscalls.c (_isatty): Fix return value.
corinna [Fri, 27 Aug 2010 11:55:35 +0000 (11:55 +0000)]
* syscalls.c (_isatty): Fix return value.

13 years ago * configure.ac (build_warnings): Add -Wno-char-subscripts.
palves [Fri, 27 Aug 2010 10:20:07 +0000 (10:20 +0000)]
* configure.ac (build_warnings): Add -Wno-char-subscripts.
* configure: Regenerate.

13 years ago * fhandler_proc.cc (format_proc_partitions): Improve comment.
corinna [Fri, 27 Aug 2010 09:08:32 +0000 (09:08 +0000)]
* fhandler_proc.cc (format_proc_partitions): Improve comment.

13 years ago * options.cc (version_script): Fix small typo in previous
nickc [Fri, 27 Aug 2010 08:50:05 +0000 (08:50 +0000)]
    * options.cc (version_script): Fix small typo in previous
        whitespace tidyup.

13 years ago * linux-low.c (linux_unprepare_to_access_memory): Rename to ...
palves [Fri, 27 Aug 2010 00:16:48 +0000 (00:16 +0000)]
* linux-low.c (linux_unprepare_to_access_memory): Rename to ...
(linux_done_accessing_memory): ... this.
(linux_target_ops): Adjust.
* linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust.
* nto-low.c (nto_target_ops): Adjust comment.
* server.c (gdb_read_memory, gdb_write_memory): Adjust.
* spu-low.c (spu_target_ops): Adjust comment.
* target.h (target_ops): Rename unprepare_to_access_memory field
to done_accessing_memory.
(unprepare_to_access_memory): Rename to ...
(done_accessing_memory): ... this.

13 years agodaily update
amodra [Fri, 27 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 27 Aug 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * dwarf2read.c (dw2_require_full_path): Rename parameter cu to per_cu.
devans [Thu, 26 Aug 2010 23:36:53 +0000 (23:36 +0000)]
* dwarf2read.c (dw2_require_full_path): Rename parameter cu to per_cu.
(dw2_forget_cached_source_info): Rename local cu to per_cu.
(dw2_lookup_symtab, dw2_do_expand_symtabs_matching): Ditto.
(dw2_print_stats, dw2_expand_all_symtabs): Ditto.
(dw2_expand_symtabs_with_filename, dw2_find_symbol_file): Ditto.
(dw2_find_symbol_file, dw2_expand_symtabs_matching): Ditto.
(dw2_map_symbol_filenames, dwarf2_initialize_objfile): Ditto.
(dwarf2_free_objfile, write_one_signatured_type): Ditto.
(write_psymtabs_to_index): Ditto.

13 years ago * linux-low.c (linux_prepare_to_access_memory): New.
palves [Thu, 26 Aug 2010 23:17:21 +0000 (23:17 +0000)]
* linux-low.c (linux_prepare_to_access_memory): New.
(linux_unprepare_to_access_memory): New.
(linux_target_ops): Install them.
* server.c (read_memory): Rename to ...
(gdb_read_memory): ... this.  Use
prepare_to_access_memory/prepare_to_access_memory.
(write_memory): Rename to ...
(gdb_write_memory): ... this.  Use
prepare_to_access_memory/prepare_to_access_memory.
(handle_search_memory_1): Adjust.
(process_serial_event): Adjust.
* target.h (struct target_ops): New fields
prepare_to_access_memory and unprepare_to_access_memory.
(prepare_to_access_memory, unprepare_to_access_memory): New.
* linux-x86-low.c (x86_insert_point, x86_remove_point): Use
prepare_to_access_memory/prepare_to_access_memory.
* nto-low.c (nto_target_ops): Adjust.
* spu-low.c (spu_target_ops): Adjust.
* win32-low.c (win32_target_ops): Adjust.

13 years ago * NEWS: Mention libthread_db debugging with core files.
palves [Thu, 26 Aug 2010 19:47:22 +0000 (19:47 +0000)]
* NEWS: Mention libthread_db debugging with core files.

13 years ago * Makefile.in (WARN_CFLAGS): Get it from configure.
palves [Thu, 26 Aug 2010 18:36:28 +0000 (18:36 +0000)]
* Makefile.in (WARN_CFLAGS): Get it from configure.
(WERROR_CFLAGS): New.
(INTERNAL_CFLAGS): Add WERROR_CFLAGS.
* configure.ac: Introduce --enable-werror, which adds -Werror to
the compiler command line.  Enabled by default.  Disable with
--disable-werror.  Add -Wdeclaration-after-statement
Wpointer-arith and -Wformat-nonliteral to warning flags.
* configure: Regenerate.

13 years ago * Makefile.in (WARN_CFLAGS): Get it from configure.
palves [Thu, 26 Aug 2010 18:03:02 +0000 (18:03 +0000)]
* Makefile.in (WARN_CFLAGS): Get it from configure.
(WERROR_CFLAGS): New.
(INTERNAL_CFLAGS): Add WERROR_CFLAGS.
* configure.ac: Introduce --enable-werror, which adds -Werror to
the compiler command line.  Enabled by default.  Disable with
--disable-werror.  Add -Wdeclaration-after-statement
Wpointer-arith and -Wformat-nonliteral to warning flags.
        * configure: Regenerate.

13 years ago * dwarf2read.c (dwarf2_build_include_psymtabs): Remove unnecessary
devans [Thu, 26 Aug 2010 16:47:54 +0000 (16:47 +0000)]
* dwarf2read.c (dwarf2_build_include_psymtabs): Remove unnecessary
forward decl.  Pass pst->dirname to dwarf_decode_lines.
(psymtab_include_file_name): New function.
(dwarf_decode_lines): Call it.  Update comments.

13 years ago * mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
palves [Thu, 26 Aug 2010 16:47:05 +0000 (16:47 +0000)]
* mem-break.c [HAVE_MALLOC_H]: Include malloc.h.

13 years ago * gdbreplay.c (remote_error): New.
palves [Thu, 26 Aug 2010 16:24:41 +0000 (16:24 +0000)]
* gdbreplay.c (remote_error): New.
(gdbchar): New.
(expect): Use gdbchar.  Check for error reading from GDB.
Clarify sync error output.
(play): Check for errors writing to GDB.
* linux-low.c (sigchld_handler): Really ignore `write' errors.
* remote-utils.c (getpkt): Check for errors writing to the remote
descriptor.

13 years ago * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
palves [Thu, 26 Aug 2010 14:53:44 +0000 (14:53 +0000)]
* gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
one test.

13 years ago * cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
corinna [Thu, 26 Aug 2010 12:06:27 +0000 (12:06 +0000)]
* cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
harddisks, if available.

13 years ago * fhandler_proc.cc (format_proc_partitions): Simplify code and enable
corinna [Thu, 26 Aug 2010 10:59:12 +0000 (10:59 +0000)]
* fhandler_proc.cc (format_proc_partitions): Simplify code and enable
partition layout printing for non-privileged users.

13 years ago * elf32-arm.c (elf32_arm_final_link): Process stub sections
nathan [Thu, 26 Aug 2010 10:32:25 +0000 (10:32 +0000)]
* elf32-arm.c (elf32_arm_final_link): Process stub sections
exactly once.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 03:06:09 +0000 (03:06 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (STATE_SYSTEM_HASPOPUP, STATE_SYSTEM_NORMAL,
        STATE_SYSTEM_PROTECTED): Define.

        Thank you to Marcus von Appen for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 02:51:36 +0000 (02:51 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (CF_DIBV5): Define.
        (CF_MAX): Adjust accordingly.

        Thank you to Lenard Lindstrom for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 02:42:30 +0000 (02:42 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/sspi.h (QuerySecurityContextToken): Define.
        * lib/secur32.def: Regenerate using gendef on a Win7 machine.

        Thank you to Magnus Hagander for reporting the issue.

14 years ago2010-08-25 Ali Sabil <asabil@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 02:13:11 +0000 (02:13 +0000)]
2010-08-25  Ali Sabil  <asabil@users.sourceforge.net>

        * include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 02:05:58 +0000 (02:05 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlwapi (ASSOCDATA): Update definition.

        Thank you to Frederic Deschamps for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 26 Aug 2010 01:57:45 +0000 (01:57 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (COPY_FILE_OPEN_SOURCE_FOR_WRITE,
        COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_COPY_SYMLINK,
        COPY_FILE_NO_BUFFERING): Define.

        Thank you to Roland Schwingel for reporting the issue.

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

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

14 years agoAdd missing thank you notes.
ironhead [Wed, 25 Aug 2010 23:47:17 +0000 (23:47 +0000)]
Add missing thank you notes.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 23:39:29 +0000 (23:39 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (HHOOK): Move definition from here...
        * include/windef.h: ...to here, as per MSDN.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 23:33:13 +0000 (23:33 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per
        MSDN, change return type to LPCH.
        (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.

14 years agoDon't set unique_global for non-ELF hash link table.
hjl [Wed, 25 Aug 2010 20:35:58 +0000 (20:35 +0000)]
Don't set unique_global for non-ELF hash link table.

2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11939
* elflink.c (elf_link_add_object_symbols): Don't set
unique_global for non-ELF hash link table.

14 years ago * dwarf2read.c (inherit_abstract_dies): Handle origin die's
palves [Wed, 25 Aug 2010 18:20:04 +0000 (18:20 +0000)]
* dwarf2read.c (inherit_abstract_dies): Handle origin die's
compilation unit being different from target die's.

14 years agoCheck audit entry only on ELF input.
hjl [Wed, 25 Aug 2010 16:57:31 +0000 (16:57 +0000)]
Check audit entry only on ELF input.

2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11946
* emultempl/elf32.em (_before_allocation): Check audit entry
only on ELF input.

14 years ago * linux-low.c (linux_wait_1): Move non-debugging code out of
palves [Wed, 25 Aug 2010 16:49:04 +0000 (16:49 +0000)]
* linux-low.c (linux_wait_1): Move non-debugging code out of
`debug_threads' control.

14 years ago * linux-low.c (linux_wait_1): Don't set last_status here.
palves [Wed, 25 Aug 2010 16:27:05 +0000 (16:27 +0000)]
* linux-low.c (linux_wait_1): Don't set last_status here.
* server.c (push_event, queue_stop_reply_callback): Assert we're
not pushing a TARGET_WAITKIND_IGNORE event.
(start_inferior, start_inferior, attach_inferior, handle_v_cont)
(myresume, handle_target_event): Set the thread's last_resume_kind
and last_status from the target returned status.

14 years agoMove gas/ld NEWS from binutils to gas/ld.
hjl [Wed, 25 Aug 2010 16:03:54 +0000 (16:03 +0000)]
Move gas/ld NEWS from binutils to gas/ld.

14 years agoAdd target_id to elf_backend_data.
hjl [Wed, 25 Aug 2010 14:53:37 +0000 (14:53 +0000)]
Add target_id to elf_backend_data.

2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11944
* elf-bfd.h (elf_backend_data): Add target_id.
(bfd_elf_make_generic_object): Renamed to ...
(bfd_elf_make_object): This.

* elf.c (bfd_elf_make_generic_object): Removed.
(bfd_elf_make_object): New.
(bfd_elf_mkcorefile): Really treat it as an object file.

* elf-m10300.c (ELF_TARGET_ID): New.
* elf32-arm.c (ELF_TARGET_ID): Likewise.
* elf32-bfin.c (ELF_TARGET_ID): Likewise.
* elf32-cris.c (ELF_TARGET_ID): Likewise.
* elf32-frv.c (ELF_TARGET_ID): Likewise.
* elf32-i386.c (ELF_TARGET_ID): Likewise.
* elf32-lm32.c (ELF_TARGET_ID): Likewise.
* elf32-m32r.c (ELF_TARGET_ID): Likewise.
* elf32-m68hc11.c (ELF_TARGET_ID): Likewise.
* elf32-m68hc12.c (ELF_TARGET_ID): Likewise.
* elf32-m68k.c (ELF_TARGET_ID): Likewise.
* elf32-microblaze.c (ELF_TARGET_ID): Likewise.
* elf32-ppc.c (ELF_TARGET_ID): Likewise.
* elf32-s390.c (ELF_TARGET_ID): Likewise.
* elf32-sh.c (ELF_TARGET_ID): Likewise.
* elf32-sparc.c (ELF_TARGET_ID): Likewise.
* elf32-spu.c (ELF_TARGET_ID): Likewise.
* elf32-tic6x.c (ELF_TARGET_ID): Likewise.
* elf32-xtensa.c (ELF_TARGET_ID): Likewise.
* elf64-alpha.c (ELF_TARGET_ID): Likewise.
* elf64-hppa.c (ELF_TARGET_ID): Likewise.
* elf64-ppc.c (ELF_TARGET_ID): Likewise.
* elf64-s390.c (ELF_TARGET_ID): Likewise.
* elf64-x86-64.c (ELF_TARGET_ID): Likewise.
* elfxx-ia64.c (ELF_TARGET_ID): Likewise.

* elf32-hppa.c (elf32_hppa_mkobject): Removed.
(bfd_elf32_mkobject): Likewise.
(ELF_TARGET_ID): New.

* elf32-mips.c (ELF_TARGET_ID): New.
(bfd_elf32_mkobject): Removed.

* elf64-mips.c (ELF_TARGET_ID): New.
(bfd_elf64_mkobject): Removed.

* elfn32-mips.c (ELF_TARGET_ID): New.
(bfd_elf32_mkobject): Removed.

* elfxx-mips.c (_bfd_mips_elf_mkobject): Removed.
* elfxx-mips.h (_bfd_mips_elf_mkobject): Likewise.

* elfxx-target.h (bfd_elfNN_mkobject): Default to
bfd_elf_make_object.
(ELF_TARGET_ID): New.  Default to GENERIC_ELF_DATA.
(elfNN_bed): Initialize target_id.

14 years ago PR threads/10729
palves [Wed, 25 Aug 2010 14:40:21 +0000 (14:40 +0000)]
PR threads/10729

* linux-x86-low.c (update_debug_registers_callback): New.
(i386_dr_low_set_addr): Use it.
(i386_dr_low_get_addr): New.
(i386_dr_low_set_control): Use update_debug_registers_callback.
(i386_dr_low_get_control): New.
(i386_dr_low_get_status): Adjust.
* linux-low.c (linux_stop_lwp): New.
* linux-low.h (linux_stop_lwp): Declare.

* i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as
argument instead of a i386_debug_reg_state.
(I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of
a i386_debug_reg_state.
(i386_insert_aligned_watchpoint): Adjust.
(i386_remove_aligned_watchpoint): Adjust.
(i386_low_stopped_data_address): Read the debug registers from the
inferior instead of from the mirrors.
* i386-low.h (struct i386_debug_reg_state): Extend comment.
(i386_dr_low_get_addr): Declare.
(i386_dr_low_get_control): Declare.
(i386_dr_low_get_status): Change prototype.

* win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals.
(i386_dr_low_get_addr): New.
(i386_dr_low_get_control): New.
(i386_dr_low_get_status): Adjust prototype.  Return
dr_status_mirror.
(i386_initial_stuff): Clear dr_status_mirror and
dr_control_mirror.
(i386_get_thread_context): Adjust.
(i386_set_thread_context): Adjust.
(i386_thread_added): Adjust.

14 years ago bfd/
jules [Wed, 25 Aug 2010 12:37:27 +0000 (12:37 +0000)]
bfd/
    * elf32-arm.c (arm_stub_required_alignment): New.
    (arm_build_one_stub): Use above to partition stubs.
    (make_branch_to_a8_stub): Use arm_stub_a8_veneer_lwm not
    arm_stub_a8_veneer_b_cond.

    ld/testsuite/
    * ld-arm/arm-elf.exp (armelftests): Add cortex-a8-fix-blx-bcond.s.
    * ld-arm/cortex-a8-fix-blx-bcond.s: New.
    * ld-arm/cortex-a8-fix-blx-bcond.d: New.

14 years ago * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
amodra [Wed, 25 Aug 2010 12:03:30 +0000 (12:03 +0000)]
* configure.tgt (m68k-*-aout): Change to bfd_gas=yes.

14 years ago * config/tc-d10v.c (do_assemble): Correctly detect overflow of
amodra [Wed, 25 Aug 2010 11:51:06 +0000 (11:51 +0000)]
* config/tc-d10v.c (do_assemble): Correctly detect overflow of
"name" buffer.
* config/tc-m68hc11.c (md_assemble): Likewise.
* config/tc-microblaze.c (md_assemble): Likewise.  Correct cast
of is_end_of_line index.

14 years ago * libc/posix/opendir.c (opendir): Fix potential memory leak.
corinna [Wed, 25 Aug 2010 10:44:46 +0000 (10:44 +0000)]
* libc/posix/opendir.c (opendir): Fix potential memory leak.

14 years ago * mount.cc (fs_info::update): Fix comments.
corinna [Wed, 25 Aug 2010 09:20:09 +0000 (09:20 +0000)]
* mount.cc (fs_info::update): Fix comments.

14 years ago * syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.
corinna [Wed, 25 Aug 2010 08:51:40 +0000 (08:51 +0000)]
* syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.

14 years ago * archive.cc: Formatting fixes: Remove whitespace between
nickc [Wed, 25 Aug 2010 08:36:54 +0000 (08:36 +0000)]
    * archive.cc: Formatting fixes: Remove whitespace between
        typename and following asterisk.  Remove whitespace between
        function name and opening parenthesis.
        * archive.h: Likewise.
        * arm.cc: Likewise.
        * attributes.cc: Likewise.
        * attributes.h: Likewise.
        * common.cc: Likewise.
        * copy-relocs.cc: Likewise.
        * dirsearch.h: Likewise.
        * dynobj.cc: Likewise.
        * ehframe.cc: Likewise.
        * ehframe.h: Likewise.
        * expression.cc: Likewise.
        * fileread.cc: Likewise.
        * fileread.h: Likewise.
        * gc.h: Likewise.
        * gold-threads.cc: Likewise.
        * gold.cc: Likewise.
        * i386.cc: Likewise.
        * icf.h: Likewise.
        * incremental-dump.cc: Likewise.
        * incremental.cc: Likewise.
        * layout.cc: Likewise.
        * layout.h: Likewise.
        * main.cc: Likewise.
        * merge.cc: Likewise.
        * merge.h: Likewise.
        * object.cc: Likewise.
        * object.h: Likewise.
        * options.cc: Likewise.
        * options.h: Likewise.
        * output.cc: Likewise.
        * output.h: Likewise.
        * plugin.cc: Likewise.
        * plugin.h: Likewise.
        * powerpc.cc: Likewise.
        * reloc.cc: Likewise.
        * script-c.h: Likewise.
        * script-sections.cc: Likewise.
        * script.cc: Likewise.
        * stringpool.cc: Likewise.
        * symtab.cc: Likewise.
        * symtab.h: Likewise.
        * target.cc: Likewise.
        * timer.cc: Likewise.
        * timer.h: Likewise.
        * version.cc: Likewise.
        * x86_64.cc: Likewise.

14 years ago * NEWS: Mention ampersand in macro change.
amodra [Wed, 25 Aug 2010 08:26:37 +0000 (08:26 +0000)]
* NEWS: Mention ampersand in macro change.

14 years ago * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address.
amodra [Wed, 25 Aug 2010 07:02:40 +0000 (07:02 +0000)]
* aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address.
* aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise.
* aoutx.h (NAME(aout,reloc_type_lookup)): Likewise.
* coff-arm.c (coff_arm_reloc_type_lookup): Likewise.
* elf-hppa.h (elf_hppa_reloc_final_type): Likewise.
* reloc.c (bfd_default_reloc_type_lookup): Likewise.
* riscix.c (riscix_reloc_type_lookup): Likewise.

14 years ago * elf.c (_bfd_elf_map_sections_to_segments): Don't load program
amodra [Wed, 25 Aug 2010 06:49:54 +0000 (06:49 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Don't load program
headers if any loaded section wraps the address space.  Simplify
~(m-1) to -m.  Use lma rather than vma when determining whether
note sections are adjacent.

14 years ago * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
jiez [Wed, 25 Aug 2010 05:59:12 +0000 (05:59 +0000)]
* config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.

14 years ago * config/tc-arm.c (encode_arm_addr_mode_2): Fix
jiez [Wed, 25 Aug 2010 05:25:05 +0000 (05:25 +0000)]
* config/tc-arm.c (encode_arm_addr_mode_2): Fix
BAD_PC_ADDRESSING condition.

testsuite/
* gas/arm/ldst-pc.d: New test.
* gas/arm/ldst-pc.s: New test.
* gas/arm/sp-pc-validations-bad.s: `str r0,[pc,#4]' is valid.
* gas/arm/sp-pc-validations-bad.l: Adjust accordingly.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 25 Aug 2010 01:59:51 +0000 (01:59 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMDG, POSTMSG): Fix typo.
        * include/windowsx.h (SNDMSG): Ditto.

14 years ago PR symtab/11942
devans [Wed, 25 Aug 2010 00:09:11 +0000 (00:09 +0000)]
PR symtab/11942
* dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash,
debug_types_type_hash.
(dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash.
All uses updated.
(lookup_die_type): Renamed from tag_type_to_tag.  First look in
appropriate type_hash table.  All callers updated.
(allocate_signatured_type_table): Renamed from
allocate_signatured_type_hash_table.  All callers updated.
(create_signatured_type_table_from_index): Renamed from
create_signatured_type_hash_from_index.  All callers updated.
(read_die_type): Add comment.  Move actual reading to ...
(read_die_type_1): ... here.  New function.
(follow_die_ref_or_sig): Tweak comment.
(set_die_type): Rewrite to use appropriate choice of
debug_info_type_hash or debug_types_type_hash.
(get_die_type_at_offset): New function.
(get_die_type): Call it.

testsuite/
PR symtab/11942
* gdb.dwarf2/dw4-sig-types.cc: New file.
* gdb.dwarf2/dw4-sig-types.h: New file.
* gdb.dwarf2/dw4-sig-types-b.cc: New file.
* gdb.dwarf2/dw4-sig-types.exp: New file.

14 years ago*** empty log message ***
gdbadmin [Wed, 25 Aug 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

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

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 23:09:52 +0000 (23:09 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout.

        Thank you to Ozkan Sezer for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 23:03:57 +0000 (23:03 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/windowsx.h (SNDMSG): Define macro and use throughout.

        Thank you to Chris Oldwood for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:41:35 +0000 (22:41 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (AccessibleObjectFromEvent): Correct definition.

        Thank you to Rick Walsh for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:35:39 +0000 (22:35 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (MoveFileWithProcessA, MoveFileWithProgressW): Define.

14 years ago2010-08-24 Vinky <rabbit_vinky@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:25:43 +0000 (22:25 +0000)]
2010-08-24  Vinky  <rabbit_vinky@users.sourceforge.net>

        * include/winbase.h (OVERLAPPED): Correct definition.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:20:33 +0000 (22:20 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (IMAGE_NT_HEADERS32, IMAGE_NT_HEADERS64): Correct
        definition.

        Thank you to Pasi Ruokola for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:10:28 +0000 (22:10 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/exdisp.h (get_RegisterAsBrowser): Fix typo.

        Thank you to cheznonnon for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 22:05:38 +0000 (22:05 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/ws2_32.def: Regenerate using gendef on a Win7 machine.

14 years ago2010-08-24 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Tue, 24 Aug 2010 21:26:51 +0000 (21:26 +0000)]
2010-08-24  Ozkan Sezer  <sezero@users.sourceforge.net>

        * winnt.h: Fix several SUBLANG ID errors (ref:
        http://msdn.microsoft.com/en-us/library/dd318693(VS.85).aspx).
        (SUBLANG_UI_CUSTOM_DEFAULT): 0x05, not 0x03.
        (SUBLANG_HAUSA_NIGERIA): Bad ID name, correct one is ...
        (SUBLANG_HAUSA_NIGERIA_LATIN): ... this.
        (SUBLANG_INUKTITUT_CANADA_LATIN): 0x02, not 0x01.
        (SUBLANG_IRISH_IRELAND): 0x02, not 0x01.
        (SUBLANG_LAO_LAO_PDR): Bad ID name, correct one is ...
        (SUBLANG_LAO_LAO): ... this.
        (SUBLANG_LOWER_SORBIAN_GERMANY): 0x02, not 0x01.
        (SUBLANG_SAMI_SKOLT_FINLAND): 0x08, not 0x03.
        (SUBLANG_SAMI_INARI_FINLAND): 0x09, not 0x03.
        (SUBLANG_SYRIAC_SYRIA): define as SUBLANG_SYRIAC (what MSDN mentions).
        (SUBLANG_TIGRIGNA_ERITREA): 0x02, not 0x01.
        (SUBLANG_BENGALI_INDIA): 0x01, not 0x00.
        (SUBLANG_BENGALI_BANGLADESH): 0x02, not 0x01.
        (SUBLANG_PUNJABI_INDIA): 0x01, not 0x00.
        (SUBLANG_PUNJABI_PAKISTAN): not defined in MSDN.
        (SUBLANG_ROMANIAN_ROMANIA): 0x01, not 0x00.
        (SUBLANG_ROMANIAN_MOLDOVA): not defined in MSDN.

14 years ago * linux-low.h (linux_thread_area): Delete declaration.
palves [Tue, 24 Aug 2010 20:13:15 +0000 (20:13 +0000)]
* linux-low.h (linux_thread_area): Delete declaration.

14 years ago2010-08-24 LRN <lrn1986@gmail.com>
ironhead [Tue, 24 Aug 2010 19:09:48 +0000 (19:09 +0000)]
2010-08-24  LRN  <lrn1986@gmail.com>

        * include/mmreg.h (MPEGLAYER3WAVEFORMAT, WAVE_FORMAT_UNKNOWN,
        WAVE_FORMAT_PCM, WAVE_FORMAT_ADPCM, WAVE_FORMAT_IEEE_FLOAT,
        WAVE_FORMAT_VSELP, WAVE_FORMAT_IBM_CVSD, WAVE_FORMAT_ALAW,
        WAVE_FORMAT_MULAW, WAVE_FORMAT_OKI_ADPCM, WAVE_FORMAT_DVI_ADPCM,
        WAVE_FORMAT_MEDIASPACE_ADPCM, WAVE_FORMAT_SIERRA_ADPCM,
        WAVE_FORMAT_G723_ADPCM, WAVE_FORMAT_DIGIFIX, WAVE_FORMAT_DIALOGIC_OKI_ADPCM,
        WAVE_FORMAT_MEDIAVISION_ADPCM, WAVE_FORMAT_CU_CODEC,
        WAVE_FORMAT_YAMAHA_ADPCM, WAVE_FORMAT_SONARC,
        WAVE_FORMAT_DSPGROUP_TRUESPEECH, WAVE_FORMAT_ECHOSC1,
        WAVE_FORMAT_AUDIOFILE_AF36, WAVE_FORMAT_APTX, WAVE_FORMAT_AUDIOFILE_AF10,
        WAVE_FORMAT_PROSODY_1612, WAVE_FORMAT_LRC, WAVE_FORMAT_DOLBY_AC2,
        WAVE_FORMAT_GSM610, WAVE_FORMAT_MSNAUDIO, WAVE_FORMAT_ANTEX_ADPCME,
        WAVE_FORMAT_CONTROL_RES_VQLPC, WAVE_FORMAT_DIGIREAL, WAVE_FORMAT_DIGIADPCM,
        WAVE_FORMAT_CONTROL_RES_CR10, WAVE_FORMAT_NMS_VBXADPCM,
        WAVE_FORMAT_ROLAND_RDAC, WAVE_FORMAT_ECHOSC3, WAVE_FORMAT_ROCKWELL_ADPCM,
        WAVE_FORMAT_ROCKWELL_DIGITALK, WAVE_FORMAT_XEBEC, WAVE_FORMAT_G721_ADPCM,
        WAVE_FORMAT_G728_CELP, WAVE_FORMAT_MSG723, WAVE_FORMAT_MPEG,
        WAVE_FORMAT_RT24, WAVE_FORMAT_PAC, WAVE_FORMAT_MPEGLAYER3,
        WAVE_FORMAT_LUCENT_G723, WAVE_FORMAT_CIRRUS, WAVE_FORMAT_ESPCM,
        WAVE_FORMAT_VOXWARE, WAVE_FORMAT_CANOPUS_ATRAC, WAVE_FORMAT_G726_ADPCM,
        WAVE_FORMAT_G722_ADPCM, WAVE_FORMAT_DSAT, WAVE_FORMAT_DSAT_DISPLAY,
        WAVE_FORMAT_VOXWARE_BYTE_ALIGNED, WAVE_FORMAT_VOXWARE_AC8,
        WAVE_FORMAT_VOXWARE_AC10, WAVE_FORMAT_VOXWARE_AC16,
        WAVE_FORMAT_VOXWARE_AC20, WAVE_FORMAT_VOXWARE_RT24,
        WAVE_FORMAT_VOXWARE_RT29, WAVE_FORMAT_VOXWARE_RT29HW,
        WAVE_FORMAT_VOXWARE_VR12, WAVE_FORMAT_VOXWARE_VR18,
        WAVE_FORMAT_VOXWARE_TQ40, WAVE_FORMAT_SOFTSOUND, WAVE_FORMAT_VOXWARE_TQ60,
        WAVE_FORMAT_MSRT24, WAVE_FORMAT_G729A, WAVE_FORMAT_MVI_MV12,
        WAVE_FORMAT_DF_G726, WAVE_FORMAT_DF_GSM610, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_ONLIVE, WAVE_FORMAT_SBC24, WAVE_FORMAT_DOLBY_AC3_SPDIF,
        WAVE_FORMAT_ZYXEL_ADPCM, WAVE_FORMAT_PHILIPS_LPCBB, WAVE_FORMAT_PACKED,
        WAVE_FORMAT_RHETOREX_ADPCM, WAVE_FORMAT_IRAT, WAVE_FORMAT_VIVO_G723,
        WAVE_FORMAT_VIVO_SIREN, WAVE_FORMAT_DIGITAL_G723,
        WAVE_FORMAT_CREATIVE_ADPCM, WAVE_FORMAT_CREATIVE_FASTSPEECH8,
        WAVE_FORMAT_CREATIVE_FASTSPEECH10, WAVE_FORMAT_QUARTERDECK,
        WAVE_FORMAT_FM_TOWNS_SND, WAVE_FORMAT_BTV_DIGITAL, WAVE_FORMAT_VME_VMPCM,
        WAVE_FORMAT_OLIGSM, WAVE_FORMAT_OLIADPCM, WAVE_FORMAT_OLICELP,
        WAVE_FORMAT_OLISBC, WAVE_FORMAT_OLIOPR, WAVE_FORMAT_LH_CODEC,
        WAVE_FORMAT_NORRIS, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS, WAVE_FORMAT_DVM, WAVE_FORMAT_RAW_AAC1,
        WAVE_FORMAT_MPEG_HEAAC, WAVE_FORMAT_MPEG_ADTS_AAC, WAVE_FORMAT_DRM,
        WAVE_FORMAT_DTS, WAVE_FORMAT_WMAVOICE9, WAVE_FORMAT_WMASPDIF,
        WAVE_FORMAT_WMAUDIO_LOSSLESS, WAVE_FORMAT_WMAUDIO2, WAVE_FORMAT_WMAUDIO3,
        WAVE_FORMAT_MPEG_LOAS, WAVE_FORMAT_RAW_SPORT, WAVE_FORMAT_ESST_AC3,
        WAVE_FORMAT_DTS2): Define.
        * include/msacm.h (HACMDRIVERID, HACMDRIVER, HACMSTREAM, HACMOBJ,
        ACMSTREAMHEADER, WAVEFILTER, acmDriverAddA, acmDriverAddW, acmDriverRemove,
        acmMetrics, acmStreamOpen, acmStreamSize, acmStreamPrepareHeader,
        acmStreamUnprepareHeader, acmStreamReset, acmStreamClose, acmStreamConvert):
        Define.

14 years agogdb/
jkratoch [Tue, 24 Aug 2010 17:24:24 +0000 (17:24 +0000)]
gdb/
* python/py-type.c (typy_richcompare): Initialize worklist.

14 years agoFix typos in ld-x86-64/x86-64.exp.
hjl [Tue, 24 Aug 2010 16:36:24 +0000 (16:36 +0000)]
Fix typos in ld-x86-64/x86-64.exp.

2010-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/x86-64.exp: Fix typos.

14 years ago * arm-tdep.c: Include features/arm-with-m.c.
drow [Tue, 24 Aug 2010 15:56:12 +0000 (15:56 +0000)]
* arm-tdep.c: Include features/arm-with-m.c.
(arm_psr_thumb_bit): New.  Update all uses of CPSR_T to
call this function.
(arm_pc_is_thumb): Add a gdbarch argument.  Update all callers.
Check is_m after force-mode.
(arm_gdbarch_init): Check the binary before the target description.
Add check for M profile attribute.  If we have an M-profile device,
but no target register description, use arm-with-m.  Recognize the
new org.gnu.gdb.arm.m-profile feature and its xpsr register.
(_initialize_arm_tdep): Call initialize_tdesc_arm_with_m.
* arm-tdep.h (XPSR_T): Define.
(struct gdbarch_tdep): Add is_m member.
* features/arm-m-profile.xml, features/arm-with-m.c,
features/arm-with-m.xml: New files.

doc/
* gdb.texinfo (ARM Features): Document
org.gnu.gdb.arm.m-profile.

14 years ago * include/cygwin/version.h: Fix comment.
corinna [Tue, 24 Aug 2010 15:25:45 +0000 (15:25 +0000)]
* include/cygwin/version.h: Fix comment.

14 years ago * external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
corinna [Tue, 24 Aug 2010 15:11:23 +0000 (15:11 +0000)]
* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
flags with *pflags to restore original behaviour.

14 years ago PR 11899
nickc [Tue, 24 Aug 2010 07:24:10 +0000 (07:24 +0000)]
    PR 11899
        * layout.cc (segment_precedes): Sort segments by their physical
        addresses, if they have been set.

14 years ago * sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.
hp [Tue, 24 Aug 2010 01:14:37 +0000 (01:14 +0000)]
* sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.

14 years ago2010-08-23 LRN <lrn1986@gmail.com>
ironhead [Tue, 24 Aug 2010 00:15:51 +0000 (00:15 +0000)]
2010-08-23  LRN  <lrn1986@gmail.com>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, FILE_NAME_NORMALIZED,
        FILE_NAME_OPENED, VOLUME_NAME_DOS, VOLUME_NAME_GUID, VOLUME_NAME_NONE,
        VOLUME_NAME_NT, FILE_BASIC_INFO, FILE_STANDARD_INFO, FILE_NAME_INFO,
        FILE_STREAM_INFO, FILE_COMPRESSION_INFO, FILE_ATTRIBUTE_TAG_INFO,
        FILE_ID_BOTH_DIR_INFO, FILE_REMOTE_PROTOCOL_INFO, FILE_INFO_BY_HANDLE_CLASS,
        GetFileInformationByHandleEx, GetFinalPathNameByHandleA,
        GetFinalPathNameByHandleW): Define.

14 years agodaily update
amodra [Tue, 24 Aug 2010 00:00:06 +0000 (00:00 +0000)]
daily update

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

14 years ago * dwarf2read.c (set_die_type): Fix typo in comment.
devans [Mon, 23 Aug 2010 21:49:26 +0000 (21:49 +0000)]
* dwarf2read.c (set_die_type): Fix typo in comment.

14 years ago * dwarf2read.c (read_structure_type): Add comment.
devans [Mon, 23 Aug 2010 21:44:36 +0000 (21:44 +0000)]
* dwarf2read.c (read_structure_type): Add comment.
(read_enumeration_type): Add comment.
(process_enumeration_scope): Move definition of some locals
closer to their use.
(read_namespace_type): Add comment.

14 years agogdb
tromey [Mon, 23 Aug 2010 20:29:19 +0000 (20:29 +0000)]
gdb
PR python/11145:
* python/py-value.c: Include expression.h.
(valpy_do_cast): New function.
(valpy_cast): Use it.
(valpy_dynamic_cast): New function.
(valpy_reinterpret_cast): Likewise.
(value_object_methods): Add dynamic_cast, reinterpret_cast.
gdb/doc
PR python/11145:
* gdb.texinfo (Values From Inferior): Document dynamic_cast and
reinterpret_cast methods.
gdb/testsuite
PR python/11145:
* gdb.python/py-value.c (Base, Derived): New types.
(base): New global.
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_cast test.

14 years ago * archive.cc (Lib_group::add_symbols): Lock object before deleting its
ccoutant [Mon, 23 Aug 2010 20:28:24 +0000 (20:28 +0000)]
* archive.cc (Lib_group::add_symbols): Lock object before deleting its
symbols data.
(Lib_group::include_member): Unlock object after deleting its
symbols data.
* testsuite/start_lib_test_3.c: Remove all global symbols to trigger
the bug fixed here.

14 years ago PR python/11391:
tromey [Mon, 23 Aug 2010 20:27:48 +0000 (20:27 +0000)]
PR python/11391:
* python/py-value.c (valpy_nonzero): Don't throw error for other
Value types.

14 years agogdb
tromey [Mon, 23 Aug 2010 20:26:09 +0000 (20:26 +0000)]
gdb
PR python/10676:
* python/py-type.c: Include bcache.h, vec.h.
(struct type_equality_entry): New.
(compare_strings): New function.
(check_types_equal): Likewise.
(check_types_worklist): Likewise.
(typy_richcompare): Likewise.
(type_object_type): Set tp_richcompare field.
gdb/testsuite
PR python/10676:
* gdb.python/py-type.exp (test_fields): Add tests for type
equality.

14 years ago PR python/10953:
tromey [Mon, 23 Aug 2010 20:23:54 +0000 (20:23 +0000)]
PR python/10953:
* python/py-type.c (typy_fields): Call check_typedef.
(typy_template_argument): Add TRY_CATCH.

14 years agogdb
tromey [Mon, 23 Aug 2010 20:21:21 +0000 (20:21 +0000)]
gdb
PR python/11915:
* python/py-type.c (typy_array): New function.
(type_object_methods): Add "array".
gdb/doc
PR python/11915:
* gdb.texinfo (Types In Python): Document array method.
gdb/testsuite
PR python/11915:
* gdb.python/py-type.exp (test_fields): Add tests for array.

14 years agogdb
tromey [Mon, 23 Aug 2010 20:21:11 +0000 (20:21 +0000)]
gdb
PR python/11915:
* python/py-type.c (typy_array): New function.
(type_object_methods): Add "array".
gdb/doc
PR python/11915:
* gdb.texinfo (Types In Python): Document array method.
gdb/testsuite
PR python/11915:
* gdb.python/py-type.exp (test_fields): Add tests for array.

14 years ago * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
kseitz [Mon, 23 Aug 2010 19:12:52 +0000 (19:12 +0000)]
* gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
have any children. Create a new abbrev for it.
Add missing terminal sequence to .debug_abbrev.

14 years agoAdd --input-osabi and --output-osabi to elfedit.
hjl [Mon, 23 Aug 2010 16:25:51 +0000 (16:25 +0000)]
Add --input-osabi and --output-osabi to elfedit.

binutils/

2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* elfedit.c (input_elf_osabi): New.
(output_elf_osbi): Likewise.
(osabis): Likewise.
(elf_osabi): Likewise.
(update_elf_header): Support updating ELF OSABI.
(make_qualified_name): Break long line.
(command_line_switch): Add OPTION_INPUT_OSABI and
OPTION_OUTPUT_OSABI.
(options): Likewise.
(usage): Add --input-osabi and --output-osabi.
(main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.

* doc/binutils.texi: Document --input-osabi and --output-osabi
for elfedit.

binutils/testsuite/

2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/elfedit-3.d: New.

* binutils-all/elfedit.exp: Run elfedit-3.

14 years agoFix location of this file to be where it was initially intended.
jjohnstn [Mon, 23 Aug 2010 15:51:27 +0000 (15:51 +0000)]
Fix location of this file to be where it was initially intended.

14 years ago binutils/
macro [Mon, 23 Aug 2010 13:51:39 +0000 (13:51 +0000)]
binutils/
* readelf.c (display_mips_gnu_attribute): Replace GCC options
with a textual description of a MIPS32r2 64-bit FPU.

ld/testsuite/
* ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for
the new MIPS32r2 64-bit FPU description.
* ld-mips-elf/attr-gnu-4-40.d: Likewise.
* ld-mips-elf/attr-gnu-4-44.d: Likewise.

14 years ago * ldd.cc (report): Drop long pathname considerations which result in
corinna [Mon, 23 Aug 2010 11:04:04 +0000 (11:04 +0000)]
* ldd.cc (report): Drop long pathname considerations which result in
invalid path, now that this is done in cygwin_conv_path.

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

14 years ago*** empty log message ***
gdbadmin [Mon, 23 Aug 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoFind one .eh_frame section for --eh-frame-hdr.
hjl [Sun, 22 Aug 2010 20:21:21 +0000 (20:21 +0000)]
Find one .eh_frame section for --eh-frame-hdr.

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11937
* emultempl/elf32.em (_after_open): Find one .eh_frame section
for --eh-frame-hdr.

14 years agoDon't check relocation if input ELF object ID doesn't match output.
hjl [Sun, 22 Aug 2010 19:14:23 +0000 (19:14 +0000)]
Don't check relocation if input ELF object ID doesn't match output.

bfd/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* elflink.c (elf_link_add_object_symbols): Don't check relocation
if input ELF object ID doesn't match output.

ld/testsuite/

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11933
* ld-x86-64/mixed1a.s: New.
* ld-x86-64/mixed1b.s: Likewise.
* ld-x86-64/mixed2a.s: Likewise.
* ld-x86-64/mixed2b.s: Likewise.

* ld-x86-64/x86-64.exp: Text mixed x86_64 and i386 inputs.

14 years agoFind an ELF input for --build-id and --eh-frame-hdr.
hjl [Sun, 22 Aug 2010 19:11:58 +0000 (19:11 +0000)]
Find an ELF input for --build-id and --eh-frame-hdr.

2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11937
* emultempl/elf32.em (_after_open): Find an ELF input for
--build-id and --eh-frame-hdr.

14 years ago2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Aug 2010 04:03:33 +0000 (04:03 +0000)]
2010-08-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/CheckConflicts.sh: New file.

14 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Aug 2010 03:52:59 +0000 (03:52 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CopyLZFile, GetExpandedNameA, GetExpandedNameW, LZClose,
        LZCopy, LZInit, LZOpenFileA, LZOpenFileW, LZRead, LZSeek, OpenProcessToken,
        OpenThreadToken, RegCloseKey, RegCreateKeyExA, RegCreateKeyExW,
        RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteValueA, RegDeleteValueW,
        RegEnumKeyExA, RegEnumKeyExW, RegEnumValueA, RegEnumValueW, RegFlushKey,
        RegGetKeySecurity, RegLoadKeyA, RegLoadKeyW, RegNotifyChangeKeyValue,
        RegOpenCurrentUser, RegOpenKeyExA, RegOpenKeyExW, RegOpenUserClassesRoot,
        RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryValueExA, RegQueryValueExW,
        RegRestoreKeyA, RegRestoreKeyW, RegSetKeySecurity, RegSetValueExA,
        RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RtlCaptureStackBackTrace,
        RtlFillMemory, RtlMoveMemory, RtlZeroMemory, SetThreadToken): Remove
        conflicting definition.
        * lib/th32.def: Remove.
        * lib/ntdll.def (RtlUnwind): Remove conflicting definition.
        * lib/version.def (VerLanguageNameA, VerLanguageNameW): Remove conflicting
        definition.