OSDN Git Service
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.
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.
nathan [Thu, 26 Aug 2010 10:32:25 +0000 (10:32 +0000)]
* elf32-arm.c (elf32_arm_final_link): Process stub sections
exactly once.
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.
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.
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.
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.
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.
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.
amodra [Thu, 26 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 26 Aug 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ironhead [Wed, 25 Aug 2010 23:47:17 +0000 (23:47 +0000)]
Add missing thank you notes.
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.
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.
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.
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.
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.
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.
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.
hjl [Wed, 25 Aug 2010 16:03:54 +0000 (16:03 +0000)]
Move gas/ld NEWS from binutils to gas/ld.
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.
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.
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.
amodra [Wed, 25 Aug 2010 12:03:30 +0000 (12:03 +0000)]
* configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
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.
corinna [Wed, 25 Aug 2010 10:44:46 +0000 (10:44 +0000)]
* libc/posix/opendir.c (opendir): Fix potential memory leak.
corinna [Wed, 25 Aug 2010 09:20:09 +0000 (09:20 +0000)]
* mount.cc (fs_info::update): Fix comments.
corinna [Wed, 25 Aug 2010 08:51:40 +0000 (08:51 +0000)]
* syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.
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.
amodra [Wed, 25 Aug 2010 08:26:37 +0000 (08:26 +0000)]
* NEWS: Mention ampersand in macro change.
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.
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.
jiez [Wed, 25 Aug 2010 05:59:12 +0000 (05:59 +0000)]
* config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
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.
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.
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.
gdbadmin [Wed, 25 Aug 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 25 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
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.
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.
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.
palves [Tue, 24 Aug 2010 20:13:15 +0000 (20:13 +0000)]
* linux-low.h (linux_thread_area): Delete declaration.
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.
jkratoch [Tue, 24 Aug 2010 17:24:24 +0000 (17:24 +0000)]
gdb/
* python/py-type.c (typy_richcompare): Initialize worklist.
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.
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.
corinna [Tue, 24 Aug 2010 15:25:45 +0000 (15:25 +0000)]
* include/cygwin/version.h: Fix comment.
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.
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.
hp [Tue, 24 Aug 2010 01:14:37 +0000 (01:14 +0000)]
* sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.
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.
amodra [Tue, 24 Aug 2010 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 24 Aug 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Mon, 23 Aug 2010 21:49:26 +0000 (21:49 +0000)]
* dwarf2read.c (set_die_type): Fix typo in 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
jjohnstn [Mon, 23 Aug 2010 15:51:27 +0000 (15:51 +0000)]
Fix location of this file to be where it was initially intended.
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.
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.
amodra [Mon, 23 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 23 Aug 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.
gdbadmin [Sun, 22 Aug 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 22 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
ironhead [Sat, 21 Aug 2010 19:21:32 +0000 (19:21 +0000)]
2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/kernel32.def (CreateProcessAsUserW): Remove definition.
corinna [Sat, 21 Aug 2010 18:57:34 +0000 (18:57 +0000)]
* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.
rwild [Sat, 21 Aug 2010 12:34:04 +0000 (12:34 +0000)]
Fix misquoting in stdint.m4.
config/:
PR target/45084
* stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments
of AC_MSG_ERROR.
libdecnumber/:
* configure: Regenerate.
bfd/:
* configure: Regenerate.
amodra [Sat, 21 Aug 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 21 Aug 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
dj [Fri, 20 Aug 2010 23:58:16 +0000 (23:58 +0000)]
merge from gcc
hjl [Fri, 20 Aug 2010 22:29:27 +0000 (22:29 +0000)]
Revert the last checkin on sec_merge_emit.
2010-08-20 H.J. Lu <hongjiu.lu@intel.com>
* merge.c (sec_merge_emit): Revert the last checkin.
macro [Fri, 20 Aug 2010 21:18:39 +0000 (21:18 +0000)]
* Makefile.am (eshlelf_fd.c): Correct the name of the tool
directory.
* Makefile.in: Regenerate.
macro [Fri, 20 Aug 2010 21:15:03 +0000 (21:15 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output
BFD.
macro [Fri, 20 Aug 2010 21:13:02 +0000 (21:13 +0000)]
* ld-sh/sh.exp: Add missing newline.
macro [Fri, 20 Aug 2010 21:06:29 +0000 (21:06 +0000)]
* elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT
options unless an m68k hash table has been found.
macro [Fri, 20 Aug 2010 21:04:05 +0000 (21:04 +0000)]
binutils/
* ChangeLog: Add a missing entry for 2010-04-20's commit.
ld/testsuite/
* ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP.
* ld-mips-elf/attr-gnu-4-02.d: Likewise.
* ld-mips-elf/attr-gnu-4-10.d: Likewise.
* ld-mips-elf/attr-gnu-4-11.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-20.d: Likewise.
* ld-mips-elf/attr-gnu-4-22.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.
macro [Fri, 20 Aug 2010 20:53:27 +0000 (20:53 +0000)]
* doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
palves [Fri, 20 Aug 2010 18:52:11 +0000 (18:52 +0000)]
* python/python.c: Include "serial.h".
(gdbpy_event_fds): Change type to `struct serial *' a array from
int array.
(gdbpy_run_events): Change parameters. Use serial_readchar in
place of read.
(gdbpy_post_event): Use serial_write in place of write.
(gdbpy_initialize_events): Use serial_pipe instead of pipe, and
serial_async in place of add_file_handler.
palves [Fri, 20 Aug 2010 18:49:18 +0000 (18:49 +0000)]
* serial.h (gdb_pipe, serial_pipe): Declare.
* serial.c (serial_interface_lookup): Take a const char pointer.
(serial_fdopen): Rename to ...
(serial_fdopen_ops): ... this. Add an OPS parameter and use it.
Call the OPS' fdopen function if there is one.
(serial_fdopen): Rewrite as wrapper to serial_fdopen_ops.
(serial_pipe): New.
(struct serial_ops) <fdopen>: New field.
* ser-mingw.c (free_pipe_state):
(free_pipe_state): Close output on non-pex pipes.
(pipe_windows_fdopen): New.
(gdb_pipe): New.
(_initialize_ser_windows): Register pipe_windows_fdopen.
* ser-go32.c (gdb_pipe): New.
* ser-pipe.c (pipe_close): Close file descriptor even if there's
no state pointer.
(pipe_ops): Delete.
(gdb_pipe): New.
kseitz [Fri, 20 Aug 2010 17:16:42 +0000 (17:16 +0000)]
PR symtab/11465:
* dwarf2read.c (struct delayed_method_info): New struct.
(struct dwarf2_cu): Add vector method_list.
(scan_partial_symbols): Count methods for union, class, structure,
and interface types.
(add_to_method_list): New function.
(free_delayed_list): New function.
(compute_delayed_physnames): New function.
(process_full_comp_unit): Make a cleanup for the CU's delayed
physname list, compute the delayed physnames, and free the
the list.
(dwarf2_add_member_fn): For C++ and Java, delay the computation
of the physname until after the CU is read.
* dwarf2read.c (read_structure_type): Check if the current
DIE's type was already completed after dwarf2_full_name
was called.
kseitz [Fri, 20 Aug 2010 17:16:14 +0000 (17:16 +0000)]
PR symtab/11465:
* gdb.dwarf2/pr11465.exp: New test.
* gdb.dwarf2/pr11465.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.exp: New test.
cgf [Fri, 20 Aug 2010 15:28:28 +0000 (15:28 +0000)]
* cygthread.cc: Update copyright.