OSDN Git Service

pf3gnuchains/sourceware.git
17 years ago * autoload.cc (CreateToolhelp32Snapshot): Remove.
corinna [Wed, 25 Jul 2007 16:11:03 +0000 (16:11 +0000)]
* autoload.cc (CreateToolhelp32Snapshot): Remove.

17 years ago * autoload.cc (Process32First): Remove.
corinna [Wed, 25 Jul 2007 16:07:41 +0000 (16:07 +0000)]
* autoload.cc (Process32First): Remove.
(Process32Next): Remove.

17 years ago* Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".
macro [Wed, 25 Jul 2007 15:25:12 +0000 (15:25 +0000)]
* Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".

17 years agoPR 4824
nickc [Wed, 25 Jul 2007 14:56:22 +0000 (14:56 +0000)]
PR 4824
* ld.texinfo (Options): Extend the description of the -O command line option.

17 years ago2007-06-29 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 25 Jul 2007 14:39:48 +0000 (14:39 +0000)]
2007-06-29  Paul Brook  <paul@codesourcery.com>

* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.

17 years ago * include/wtypes.h (LPDECIMAL): Define.
dannysmith [Wed, 25 Jul 2007 10:21:53 +0000 (10:21 +0000)]
* include/wtypes.h (LPDECIMAL): Define.
(DECIMAL_NEG, DECIMAL_SETZERO): Move definitions.

17 years ago * autoload.cc (NetWkstaUserGetInfo): Remove.
corinna [Wed, 25 Jul 2007 10:04:56 +0000 (10:04 +0000)]
* autoload.cc (NetWkstaUserGetInfo): Remove.
(CharToOemBuffA): Remove.
(KillTimer): Remove.
(OemToCharBuffA): Remove.
(SetTimer): Remove.

17 years ago * Makefile.in (CFILES): Remove ternary.c.
bje [Wed, 25 Jul 2007 06:36:27 +0000 (06:36 +0000)]
* Makefile.in (CFILES): Remove ternary.c.
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.

17 years ago * ternary.h: Remove.
bje [Wed, 25 Jul 2007 06:34:29 +0000 (06:34 +0000)]
* ternary.h: Remove.

17 years ago2007-07-23 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 25 Jul 2007 02:12:32 +0000 (02:12 +0000)]
2007-07-23  Michael Snyder  <msnyder@access-company.com>

* solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
'buffer' must cover both branches that call strcmp (Coverity).

17 years ago2007-07-05 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 25 Jul 2007 00:28:25 +0000 (00:28 +0000)]
2007-07-05  Michael Snyder  <msnyder@access-company.com>

* stack.c (print_frame_args): Check return value of lookup_symbol.

17 years ago*** empty log message ***
gdbadmin [Wed, 25 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 25 Jul 2007 00:00:17 +0000 (00:00 +0000)]
daily update

17 years agowarning fix
amodra [Tue, 24 Jul 2007 23:38:13 +0000 (23:38 +0000)]
warning fix

17 years ago2007-07-24 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 24 Jul 2007 22:49:44 +0000 (22:49 +0000)]
2007-07-24  Michael Snyder  <msnyder@access-company.com>

* ax-gdb.c (find_field): Guard against null ptr.

17 years ago2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 24 Jul 2007 20:17:18 +0000 (20:17 +0000)]
2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (main): Print a newline after copyright notice.

17 years ago2007-07-23 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 24 Jul 2007 19:58:06 +0000 (19:58 +0000)]
2007-07-23  Michael Snyder  <msnyder@access-company.com>

* opncls.c (bfd_make_writable): Check return from bfd_malloc.

17 years ago2007-07-24 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 24 Jul 2007 19:54:00 +0000 (19:54 +0000)]
2007-07-24  Michael Snyder  <msnyder@access-company.com>

* elflink.c (bfd_elf_final_link): Avoid redundant frees -- return
on bfd_malloc error rather than goto error_return.

17 years ago Add missing ChangeLog entry.
corinna [Tue, 24 Jul 2007 19:17:05 +0000 (19:17 +0000)]
Add missing ChangeLog entry.

17 years ago * dumper.cc: Change license to plain GPLv2 + later.
corinna [Tue, 24 Jul 2007 19:08:23 +0000 (19:08 +0000)]
* dumper.cc: Change license to plain GPLv2 + later.
* dumper.h: Ditto.
* parse_pe.cc: Ditto.

17 years ago* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
nickc [Tue, 24 Jul 2007 14:47:44 +0000 (14:47 +0000)]
* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.

17 years ago * regformats/reg-spu.dat: Fix order of npc, id registers.
uweigand [Tue, 24 Jul 2007 12:51:51 +0000 (12:51 +0000)]
* regformats/reg-spu.dat: Fix order of npc, id registers.

17 years ago * target.c (memory_xfer_partial): Accesses to unmapped overlay
uweigand [Tue, 24 Jul 2007 12:49:24 +0000 (12:49 +0000)]
* target.c (memory_xfer_partial): Accesses to unmapped overlay
sections should always go to the executable file.

17 years ago* ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only section.
nickc [Tue, 24 Jul 2007 12:45:58 +0000 (12:45 +0000)]
* ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only section.

17 years ago* config/tc-mep.h (skip_whitespace): Remove definition.
nickc [Tue, 24 Jul 2007 12:38:34 +0000 (12:38 +0000)]
* config/tc-mep.h (skip_whitespace): Remove definition.

17 years ago* readelf.c (NUM_ELEM): Remove redundant macro; replace references to it
nickc [Tue, 24 Jul 2007 12:32:49 +0000 (12:32 +0000)]
* readelf.c (NUM_ELEM): Remove redundant macro; replace references to it
   with references to ARRAY_SIZE.
  Add support for CR16.
  Fix formatting.

17 years ago * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
amodra [Tue, 24 Jul 2007 08:09:19 +0000 (08:09 +0000)]
* elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
_bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc,
_bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol,
_bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create,
bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class,
bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list,
bfd_elf_get_runpath_list, bfd_elf_get_dt_soname,
bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol,
struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol,
elf_sym_name_compare, elf_create_symbuf,
bfd_elf_match_symbols_in_sections,
_bfd_elf_match_sections_by_type): Move to here..
* elf.c: ..from here.

17 years ago*** empty log message ***
gdbadmin [Tue, 24 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 24 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
kevinb [Mon, 23 Jul 2007 22:53:27 +0000 (22:53 +0000)]
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
to restarting SID.

17 years ago* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
keithmarshall [Mon, 23 Jul 2007 21:32:35 +0000 (21:32 +0000)]
* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
resulting from incomplete removal of enclosing `for ...; do ...; done'
loop from compound command; (reported by Greg Chicares).

17 years ago* strace.cc (create_child): Don't convert a path from cygwin format unless it
cgf [Mon, 23 Jul 2007 21:03:59 +0000 (21:03 +0000)]
* strace.cc (create_child): Don't convert a path from cygwin format unless it
has a slash.

17 years agoDon't remove gas/i386/x86-64-nops-1-k8.d.
hjl [Mon, 23 Jul 2007 20:25:46 +0000 (20:25 +0000)]
Don't remove gas/i386/x86-64-nops-1-k8.d.

17 years agogas/
hjl [Mon, 23 Jul 2007 20:03:22 +0000 (20:03 +0000)]
gas/

2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
(f32_15): Removed.
(jump_31): New.
(f32_patt): Remove f32_15.
(f16_patt): Likewise.
(i386_align_code): Updated to alt_long_patt for 64bit by
default.

* config/tc-i386.h (processor_type): Add PROCESSOR_I386.

2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>

* config/tc-i386.c (i386_align_code): Enable alignment up to
MAX_MEM_FOR_RS_ALIGN_CODE bytes.  Remove special treatment
for K8.

* config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to
31.

gas/testsuite/

2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops16-1, nops-1-i386-i686, nops-1-k8,
nops-3-i386, nops-4, nops-4-i386, x86-64-nops-2, x86-64-nops-3,
x86-64-nops-4, x86-64-nops-4-core2 and x86-64-nops-4-k8.

* gas/i386/nops-1-i386-i686.d: New.
* gas/i386/nops-1-k8.d: Likewise.
* gas/i386/nops-3-i386.d : Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops16-1.s: Likewise.
* gas/i386/x86-64-nops-1-k8.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4-core2.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.

* gas/i386/nops-1-i386.d: Updated.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d : Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/x86-64-nops-1-merom.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.

* gas/i386/x86-64-nops-1.s: Removed.

2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Don't run x86-64-nops-1-k8. Run
nops-3-i686 and nops-4-i686.

* gas/i386/nops-3-i686.d: New.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/nops-4.s: Likewise.

* gas/i386/x86-64-nops-1-k8.d: Removed.

17 years agomerge from gcc
dj [Mon, 23 Jul 2007 18:01:25 +0000 (18:01 +0000)]
merge from gcc

17 years agogas/testsuite/
rsandifo [Mon, 23 Jul 2007 14:03:33 +0000 (14:03 +0000)]
gas/testsuite/
* lib/gas-defs.exp (run_list_test): Make the options optional.
* gas/cr16/cr16.exp (run_list_test): Delete.

17 years agoRemove unnecessary symbols from last commit.
rsandifo [Mon, 23 Jul 2007 10:04:01 +0000 (10:04 +0000)]
Remove unnecessary symbols from last commit.

17 years agobfd/
rsandifo [Mon, 23 Jul 2007 09:56:19 +0000 (09:56 +0000)]
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type
of weakdef->root.type if weakdef has no regular definition.

ld/testsuite/
* ld-elf/weak-dyn-1a.s, ld-elf/weak-dyn-1b.s, ld-elf/weak-dyn-1.ld,
* ld-elf/weak-dyn-1.rd: New test.
* ld-elf/elf.exp: Run it.

17 years agodaily update
amodra [Mon, 23 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 23 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * elfxx-mips.c (struct mips_elf_link_hash_table): Add new field
nemet [Sun, 22 Jul 2007 16:45:05 +0000 (16:45 +0000)]
* elfxx-mips.c (struct mips_elf_link_hash_table): Add new field
small_data_overflow_reported.
(_bfd_mips_elf_link_hash_table_create): Initialize it.
(_bfd_mips_elf_relocate_section) <bfd_reloc_overflow>: Report
small-data section overflow.

17 years agodaily update
amodra [Sun, 22 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 22 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago* sha1.h: Change to use version 3 of the GNU General Public License and tidy up forma...
nickc [Sat, 21 Jul 2007 08:55:49 +0000 (08:55 +0000)]
* sha1.h: Change to use version 3 of the GNU General Public License and tidy up formatting.
* sha1.c: Likewise.

17 years ago * bsd_helper.cc: Drop unnecessary security.h include.
corinna [Sat, 21 Jul 2007 07:43:24 +0000 (07:43 +0000)]
* bsd_helper.cc: Drop unnecessary security.h include.

17 years ago*** empty log message ***
gdbadmin [Sat, 21 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 21 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago* mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
macro [Fri, 20 Jul 2007 17:29:58 +0000 (17:29 +0000)]
* mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
prologue instructions.

17 years ago Fix ChangeLog
corinna [Fri, 20 Jul 2007 15:42:09 +0000 (15:42 +0000)]
Fix ChangeLog

17 years ago* mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
macro [Fri, 20 Jul 2007 15:31:55 +0000 (15:31 +0000)]
* mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
a direct test.

17 years ago* mips-tdep.c (fetch_mips_16): Fix typos and reformat the
macro [Fri, 20 Jul 2007 15:19:38 +0000 (15:19 +0000)]
* mips-tdep.c (fetch_mips_16): Fix typos and reformat the
description.

17 years ago * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes
corinna [Fri, 20 Jul 2007 14:29:43 +0000 (14:29 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes
of access control functions throughout.
* fhandler_disk_file.cc: Ditto.
* fhandler_registry.cc: Ditto.
* sec_acl.cc: Drop unnecessary includes.
(setacl): Take path_conv instead of file name as parameter.
Accommodate interface changes of access control functions.
(getacl): Ditto.
* sec_auth.cc: New file, taking over all authentication related
functions from security.cc.
* sec_helper.cc: Drop unnecessary includes.
* security.cc: Ditto.  Move all authentication related functions to
sec_auth.cc.
(ALL_SECURITY_INFORMATION): New define.  Use throughout.
(set_file_sd): New function, replacing read_sd and the file related
part of get_nt_object_security.
(get_reg_sd): Rename from get_reg_security.  Drop type parameter.
(get_reg_attribute): New function, replacing the registry related part
of get_nt_object_security.
(get_file_attribute): Take path_conv instead of file name as parameter.
Use new get_file_sd call.
(set_file_attribute): Ditto plus new set_file_sd.  Drop unnecessary
implementation without uid/gid parameters.
(check_file_access): Take path_conv instead of file name as parameter.
Use new get_file_sd call.
(check_registry_access): Use new get_reg_sd call.
* security.h: Accommodate above interface changes.

17 years ago * app.c (do_scrub_chars): Provide a one character buffer to hold a
nickc [Fri, 20 Jul 2007 08:20:27 +0000 (08:20 +0000)]
* app.c (do_scrub_chars): Provide a one character buffer to hold a
      pushed back newline at the end of an unterminated quoted string.

17 years ago*** empty log message ***
gdbadmin [Fri, 20 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 20 Jul 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago.
roland [Thu, 19 Jul 2007 19:56:24 +0000 (19:56 +0000)]
.

17 years ago2007-07-19 Roland McGrath <roland@redhat.com>
roland [Thu, 19 Jul 2007 19:56:10 +0000 (19:56 +0000)]
2007-07-19  Roland McGrath  <roland@redhat.com>

* genscripts.sh (source_em, fragment): New sh functions.
Truncate e${EMULATION_NAME}.c file before .em script fills it.
Use source_em in place of . for the .em script.
* emultempl/generic.em: Use fragment and source_em functions.
* emultempl/aix.em: Likewise.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/cr16elf.em: Likewise.
* emultempl/crxelf.em: Likewise.
* emultempl/elf-generic.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/genelf.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/irix.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmixelf.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/needrelax.em: Likewise.
* emultempl/netbsd.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emultempl/z80.em: Likewise.

17 years ago * security.cc (set_nt_attribute): Remove.
corinna [Thu, 19 Jul 2007 17:42:11 +0000 (17:42 +0000)]
* security.cc (set_nt_attribute): Remove.
(set_file_attribute): Do it yourself instead of calling
set_nt_attribute.

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
corinna [Thu, 19 Jul 2007 17:22:33 +0000 (17:22 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_name): Use
NtQueryFullAttributesFile instead of FindFirstFile.
(fhandler_base::fstat_fs): Drop check for exec_state.  Drop check for
invalid characters.
* ntdll.h (struct _FILE_NETWORK_OPEN_INFORMATION): Define.
(NtQueryFullAttributesFile): Declare.

17 years agoPR binutils/4797
nickc [Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)]
PR binutils/4797
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.

17 years agoPR gas/4804
nickc [Thu, 19 Jul 2007 16:47:39 +0000 (16:47 +0000)]
PR gas/4804
* gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target in the same way as the arm-eabi target.
* gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu target.
* gas/arm/mapshort-elf.d: Do not use this file for the arm-linux-gnu target.

17 years agoPR binutils/4801
nickc [Thu, 19 Jul 2007 16:23:47 +0000 (16:23 +0000)]
PR binutils/4801
* maxq-dis.c (get_reg_name): Fix the scan of the mem_access_syntax_table.

17 years agoPR binutils/4802
nickc [Thu, 19 Jul 2007 16:17:38 +0000 (16:17 +0000)]
PR binutils/4802
* srconv.c (strip_suffix): Add const qualifier to argument

17 years ago * fhandler.cc (fhandler_base::open): Drop local wpath and upath
corinna [Thu, 19 Jul 2007 11:41:16 +0000 (11:41 +0000)]
* fhandler.cc (fhandler_base::open): Drop local wpath and upath
variables.  Call pc.get_object_attr to create object attributes.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.
* syscalls.cc (unlink_nt): Ditto.
* path.cc (path_conv::set_normalized_path): Set wide_path to NULL.
(path_conv::get_nt_native_path): Drop parameter.  Create path in
wide_path/uni_path members.
(path_conv::get_object_attr): New method to create object attributes.
(path_conv::get_wide_win32_path): New method to create Win32 wide path.
(path_conv::check): Initialize wide_path to NULL.
(path_conv::~path_conv): cfree wide_path.
* path.h (class path_conv): New members wide_path and uni_path.
Add declarations of get_object_attr and get_wide_win32_path.
(path_conv::path_conv): Initialize wide_path to NULL.
(path_conv::get_nt_native_path): Drop parameter.

17 years ago * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
dannysmith [Thu, 19 Jul 2007 09:25:32 +0000 (09:25 +0000)]
* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
Vista.

17 years ago * sec_helper.cc: Remove unused code.
corinna [Thu, 19 Jul 2007 09:12:09 +0000 (09:12 +0000)]
* sec_helper.cc: Remove unused code.

17 years ago * autoload.cc (SetSecurityDescriptorControl): Drop.
corinna [Thu, 19 Jul 2007 09:06:54 +0000 (09:06 +0000)]
* autoload.cc (SetSecurityDescriptorControl): Drop.
* security.cc (alloc_sd): Set security descriptor control flag without
calling SetSecurityDescriptorControl function.
* wincap.h (wincapc::has_dacl_protect): Rename from
has_security_descriptor_control.
* wincap.cc: Ditto throughout.

17 years ago * autoload.cc (SetUserObjectSecurity): Drop.
corinna [Thu, 19 Jul 2007 08:36:32 +0000 (08:36 +0000)]
* autoload.cc (SetUserObjectSecurity): Drop.
* pinfo.cc (pinfo::set_acl): Use NtSetSecurityObject instead of
SetKernelObjectSecurity.
* spawn.cc (spawn_guts): Use NtSetSecurityObject instead of
SetUserObjectSecurity.
* uinfo.cc (cygheap_user::init): Ditto.

17 years ago * cygheap.h (init_cygheap::luid): Remove.
corinna [Thu, 19 Jul 2007 08:33:22 +0000 (08:33 +0000)]
* cygheap.h (init_cygheap::luid): Remove.
* mmap.cc (mlock): Accommodate parameter change in call to
push_thread_privilege.
(munlock): Ditto.
* ntdll.h (STATUS_NOT_ALL_ASSIGNED): Define.
(NtAdjustPrivilegesToken): Declare.
* sec_helper.cc (cygpriv): Reorder to match numerical privilege order.
(privilege_luid): Take job of privilege_luid_by_name, using new
cygpriv.
(privilege_luid_by_name): Remove.
(privilege_name): Accommodate new cygpriv array.
(set_privilege): Call NtAdjustPrivilegesToken to avoid using advapi32.
Accommodate changes to privilege_name.
(set_cygwin_privileges): Simplify.  Don't try to set
SE_CREATE_GLOBAL_PRIVILEGE on systems not supporting it.
* security.cc (sys_privs): Reorder to match numerical privilege order.
Use real privilege values as defined in security.h.
(get_system_priv_list): Drop unused grp_list argument.  Create
list of privileges according to new wincapc::max_sys_priv value.
(get_priv_list): Call privilege_luid instead of privilege_luid_by_name.
Make priv a local value instead of a pointer.
(create_token): Accommodate parameter change in call to
push_self_privilege.
(lsaauth): Ditto.
(check_access): Use privilege values directly instead of calling
privilege_luid.
* security.h: Define real privilege values.
(cygpriv_idx): Remove.
(privilege_luid): Change declaration.
(privilege_luid_by_name): Drop declaration.
(set_privilege): Change declaration.
(set_process_privilege): Drop definition.
(_push_thread_privilege): Accomodate new set_privilege parameters.
* wincap.h (wincapc::max_sys_priv): New element.
* wincap.cc: Implement above element throughout.
(wincap_2000sp4): New wincaps structure.
(wincap_xpsp1): Ditto.
(wincap_xpsp2): Ditto.
(wincapc::init): Use new wincaps.
(wincapc::max_sys_priv): New element.

17 years ago * dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after
corinna [Thu, 19 Jul 2007 07:24:16 +0000 (07:24 +0000)]
* dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after
initializing hProcToken.
* sec_helper.cc (init_global_security): Don't call set_cygwin_privileges        here.

17 years agoFix 'make info'.
ericb [Thu, 19 Jul 2007 03:42:21 +0000 (03:42 +0000)]
Fix 'make info'.
* libc/stdio/stdio.tex: Add missing include.
* libc/stdio/vfprintf.c: Use expected node name.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/siscanf.c: Likewise.
* libc/stdio/siprintf.c: Likewise.
* libc/stdio/fopencookie.c: Quote raw {}.
Reported by DJ Delorie.

17 years ago * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
kevinb [Thu, 19 Jul 2007 00:46:45 +0000 (00:46 +0000)]
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.

17 years ago * config/sid.exp (gdb_load): Add test for empty argument. Adjust
kevinb [Thu, 19 Jul 2007 00:41:27 +0000 (00:41 +0000)]
* config/sid.exp (gdb_load): Add test for empty argument.  Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
Remove call to gdb_unload.

17 years agodaily update
amodra [Thu, 19 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

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

17 years ago * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
bwilson [Wed, 18 Jul 2007 21:06:05 +0000 (21:06 +0000)]
* elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
non-ELF sections.

17 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
bwilson [Wed, 18 Jul 2007 18:52:30 +0000 (18:52 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.

17 years agoFix date type for 1.15 release.
jjohnstn [Wed, 18 Jul 2007 18:27:04 +0000 (18:27 +0000)]
Fix date type for 1.15 release.

17 years ago * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
bwilson [Wed, 18 Jul 2007 18:23:47 +0000 (18:23 +0000)]
* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
vma and size for dynamic tags from the output sections.

17 years ago * faq-using.xml (faq.using.console-window): Mention FHS location of
briand [Wed, 18 Jul 2007 15:43:37 +0000 (15:43 +0000)]
* faq-using.xml (faq.using.console-window): Mention FHS location of
docs and remove outdated reference to ash.

17 years ago * include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.
corinna [Wed, 18 Jul 2007 12:52:45 +0000 (12:52 +0000)]
* include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.

17 years ago * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
palves [Wed, 18 Jul 2007 12:36:51 +0000 (12:36 +0000)]
* remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
instead of on tmp_desc.

17 years ago * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
amodra [Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)]
* elf-bfd.h (struct sym_sec_cache): Delete "sec".  Add "shndx".
* elf.c (bfd_section_from_r_symndx): Don't cache bfd section of
symbol.  Instead cache ELF section index.  Remove redundant
checks of st_shndx.

17 years ago * cygheap.h (shared_prefix): De-const.
corinna [Wed, 18 Jul 2007 11:15:50 +0000 (11:15 +0000)]
* cygheap.h (shared_prefix): De-const.
(shared_prefix_buf): Add static buffer for shared prefix to avoid
additional allocation.
* cygheap.cc (cygheap_init): Set cygheap->shared_prefix to
cygheap->shared_prefix_buf and strcpy.

17 years ago.
roland [Wed, 18 Jul 2007 09:46:09 +0000 (09:46 +0000)]
.

17 years ago2007-07-18 Roland McGrath <roland@redhat.com>
roland [Wed, 18 Jul 2007 09:46:05 +0000 (09:46 +0000)]
2007-07-18  Roland McGrath  <roland@redhat.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
Use ASEC->contents for CONTENTS when missing, and allocate
ASEC->size if needed.

17 years ago*** empty log message ***
gdbadmin [Wed, 18 Jul 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 18 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agomerge from gcc
dj [Tue, 17 Jul 2007 18:05:02 +0000 (18:05 +0000)]
merge from gcc

17 years ago * fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system.
corinna [Tue, 17 Jul 2007 14:39:02 +0000 (14:39 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system.
* security.cc (check_registry_access): Set errno to EROFS when checking
for W_OK.

17 years ago * include/winnt.h (FILE_READ_ONLY_VOLUME): Define.
corinna [Tue, 17 Jul 2007 14:30:38 +0000 (14:30 +0000)]
* include/winnt.h (FILE_READ_ONLY_VOLUME): Define.
* include/ddk/ntifs.h (FILE_READ_ONLY_VOLUME): Define.

17 years ago* COPYING3: New file. Contains version 3 of the GNU General Public License.
nickc [Tue, 17 Jul 2007 13:50:22 +0000 (13:50 +0000)]
* COPYING3: New file.  Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file.  Contains version 3 of the GNU Lesser General Public License.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move setting
corinna [Tue, 17 Jul 2007 13:22:21 +0000 (13:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Move setting
cfd->nohandle where it won't crash.

17 years ago2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
drow [Tue, 17 Jul 2007 12:51:40 +0000 (12:51 +0000)]
2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
    Daniel Jacobowitz  <dan@codesourcery.com>

* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
* coff-pe-read.c (read_pe_exported_syms): Delete verbose
printf.
* NEWS: Mention gdbserver DLL support.

* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.

* inferiors.c (all_dlls, dlls_changed, get_dll): New.
(add_thread): Minor cleanups.
(clear_inferiors): Move lower in the file.  Clear the DLL
list.
(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
* remote-utils.c (prepare_resume_reply): Check dlls_changed.
(xml_escape_text): New.
* server.c (handle_query): Handle qXfer:libraries:read.  Report it
for qSupported.
(handle_v_cont): Report errors.
(gdbserver_version): Update.
(main): Correct size of own_buf.  Do not report initial DLL events.
* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
(unloaded_dll, xml_escape_text): New.
* win32-low.c (enum target_waitkind): Update comments.
(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
(win32_EnumProcessModules, win32_GetModuleInformation)
(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
(win32_Module32First, win32_Module32Next, load_toolhelp)
(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
(get_child_debug_event): Handle DLL events.
(win32_wait): Likewise.

17 years ago * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
drow [Tue, 17 Jul 2007 12:46:33 +0000 (12:46 +0000)]
* dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.

17 years agodaily update
amodra [Tue, 17 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 17 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
corinna [Mon, 16 Jul 2007 20:01:15 +0000 (20:01 +0000)]
* cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
Accommodate changge throughout Cygwin.
(cygheap_user::imp_token): Rename from token.  Accommodate changge
throughout Cygwin.
(rcygheap_user::eimpersonate): Use primary token for impersonation.
* grp.cc (internal_getgroups): Use primary impersonation token when
impersonated.
* security.h (_push_thread_privilege): Use primary impersonation token
when impersonated.

17 years ago * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
corinna [Mon, 16 Jul 2007 20:01:03 +0000 (20:01 +0000)]
* cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.
Accommodate changge throughout Cygwin.
(cygheap_user::imp_token): Rename from token.  Accommodate changge
throughout Cygwin.
(rcygheap_user::eimpersonate): Use primary token for impersonation.
* grp.cc (internal_getgroups): Use primary impersonation token when
impersonated.
* security.h (_push_thread_privilege): Use primary impersonation token
when impersonated.

17 years agogas/testsuite/
hjl [Mon, 16 Jul 2007 19:16:43 +0000 (19:16 +0000)]
gas/testsuite/

2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
punpcklwd and punpcklqdq.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EMq): Removed.
(EMx): New.
(prefix_user_table): Replace EMq with EMx.