OSDN Git Service

pf3gnuchains/sourceware.git
16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 21:46:36 +0000 (21:46 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* varobj.c (value_of_root): Move alloc after return to avoid leak.

16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 18:39:50 +0000 (18:39 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* tui/tui-layout.c (tui_set_layout): Dead code, dead variable.

16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 18:34:28 +0000 (18:34 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* top.c (command_line_input): Memory leak.

16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 18:08:52 +0000 (18:08 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* solib-svr4.c (open_symbol_file_object): Memory leak.
(svr4_current_sos): Ditto.
(enable_break): Ditto.

16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 18:05:36 +0000 (18:05 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak.

16 years ago2007-08-08 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 8 Aug 2007 18:01:34 +0000 (18:01 +0000)]
2007-08-08  Michael Snyder  <msnyder@access-company.com>

* dwarf2read.c (add_partial_symbol): Memory leak.

16 years agodaily update
amodra [Wed, 8 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 8 Aug 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFix year in ChangeLog entry.
hjl [Tue, 7 Aug 2007 16:06:41 +0000 (16:06 +0000)]
Fix year in ChangeLog entry.

16 years agoFix year in ChangeLog entries.
hjl [Tue, 7 Aug 2007 16:05:45 +0000 (16:05 +0000)]
Fix year in ChangeLog entries.

16 years ago* po/bfd.pot: Updated template.
nickc [Tue, 7 Aug 2007 11:01:34 +0000 (11:01 +0000)]
* po/bfd.pot: Updated template.
* po/BLD-POTFILES.in: Regenerate.

16 years agoUpdate German translation
nickc [Tue, 7 Aug 2007 10:25:23 +0000 (10:25 +0000)]
Update German translation

16 years ago* configure.tgt: Add bfin-*rtems*.
nickc [Tue, 7 Aug 2007 09:32:06 +0000 (09:32 +0000)]
* configure.tgt: Add bfin-*rtems*.

16 years agodaily update
amodra [Tue, 7 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 7 Aug 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * elf.c: (_bfd_elf_make_section_from_phdr): Properly handle
amodra [Mon, 6 Aug 2007 22:53:27 +0000 (22:53 +0000)]
* elf.c: (_bfd_elf_make_section_from_phdr): Properly handle
bss segments.

16 years ago * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
drow [Mon, 6 Aug 2007 20:53:29 +0000 (20:53 +0000)]
* Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
* Makefile.in: Regenerated.

16 years ago * configure.in: Update version to 2.18.50.
drow [Mon, 6 Aug 2007 20:13:48 +0000 (20:13 +0000)]
* configure.in: Update version to 2.18.50.
* configure: Regenerated.

16 years ago2007-08-06 Michael Snyder <msnyder@access-company.com>
msnyder [Mon, 6 Aug 2007 20:07:42 +0000 (20:07 +0000)]
2007-08-06  Michael Snyder  <msnyder@access-company.com>

* ada-lang.c (desc_bounds): Comparison of function address to NULL.

16 years ago2007-08-06 Paul Brook <paul@codesourcery.com>
drow [Mon, 6 Aug 2007 18:47:21 +0000 (18:47 +0000)]
2007-08-06  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_link_hash_entry): Add
plt_maybe_thumb_refcount.
(elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount.
(elf32_arm_copy_indirect_symbol): Ditto.
(elf32_arm_adjust_dynamic_symbol): Ditto.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24.
(arm_add_to_rel): Ditto.
(elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with
R_ARM_THM_CALL.  Handle R_ARM_THM_JUMP19 against a PLT stub.
(elf32_arm_gc_sweep_hook): Call check_use_blx.  Update plt counts
for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19.
(elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24
and R_ARM_THM_JUMP19.
(allocate_dynrelocs): Use plt_maybe_thumb_refcount.
(elf32_arm_finish_dynamic_symbol): Ditto.
(elf32_arm_output_plt_map): Ditto.

16 years ago * elf.c (rewrite_elf_program_header): Handle sections not sorted
drow [Mon, 6 Aug 2007 18:35:16 +0000 (18:35 +0000)]
* elf.c (rewrite_elf_program_header): Handle sections not sorted
by address.
(copy_elf_program_header): Likewise.

16 years ago* ld-pe/pe.exp: Special diff file for x86_64-mingw target.
nickc [Mon, 6 Aug 2007 14:41:50 +0000 (14:41 +0000)]
* ld-pe/pe.exp: Special diff file for x86_64-mingw target.
* ld-pe/secrel_64.d: New.

16 years ago* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
nickc [Mon, 6 Aug 2007 14:32:07 +0000 (14:32 +0000)]
* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
  (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of shared objects.
* pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 mingw target.

16 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 6 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago* macroexp.c (init_buffer): Remove testing code that overrides the
jimb [Sun, 5 Aug 2007 21:41:09 +0000 (21:41 +0000)]
* macroexp.c (init_buffer): Remove testing code that overrides the
caller's length guess.
(gather_arguments): Use a larger initial size, now that the vector
growth code has been exercised.

16 years ago * solib-target.c (solib_target_relocate_section_addresses): Add
palves [Sun, 5 Aug 2007 09:57:05 +0000 (09:57 +0000)]
* solib-target.c (solib_target_relocate_section_addresses): Add
orig_delta to addr_high.

16 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
msnyder [Sun, 5 Aug 2007 01:04:30 +0000 (01:04 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* remote-fileio.c (remote_fileio_func_write): Memory leak.

16 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
msnyder [Sun, 5 Aug 2007 00:43:34 +0000 (00:43 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* breakpoint.c (print_one_breakpoint): Off by one error.

16 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
msnyder [Sun, 5 Aug 2007 00:36:52 +0000 (00:36 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* tracepoint.c (add_register): Off by one error.
(stringify_collection_list): Free malloc buffer.

16 years agodaily update
amodra [Sun, 5 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 5 Aug 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2007-08-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 4 Aug 2007 16:31:00 +0000 (16:31 +0000)]
2007-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (xvec_get_elf_backend_data): Add const.

* elfcode.h (elf_object_p): Use xvec_get_elf_backend_data.
* elfcore.h (elf_core_file_p): Likewise.

16 years ago PR 4888
amodra [Sat, 4 Aug 2007 08:26:38 +0000 (08:26 +0000)]
PR 4888
* objcopy.c (setup_section): Do modify section flags for ELF
STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
header rewrite by twiddling input section flags instead.
Simplify code setting SHT_NOBITS.

16 years ago2007-08-03 Michael Snyder <msnyder@access-company.com>
msnyder [Sat, 4 Aug 2007 03:00:40 +0000 (03:00 +0000)]
2007-08-03  Michael Snyder  <msnyder@access-company.com>

* mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable,
stop memory leak, straighten out cleanups.

16 years ago2007-08-03 Michael Snyder <msnyder@access-company.com>
msnyder [Sat, 4 Aug 2007 02:50:12 +0000 (02:50 +0000)]
2007-08-03  Michael Snyder  <msnyder@access-company.com>

* jv-lang.c (java_link_class_type): Guard against NULL.

16 years ago*** empty log message ***
gdbadmin [Sat, 4 Aug 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 4 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Fri, 3 Aug 2007 22:51:23 +0000 (22:51 +0000)]
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.13.
        * Makefile.in: Reset CYGRELEASE to 1

16 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Fri, 3 Aug 2007 22:36:59 +0000 (22:36 +0000)]
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.13.

16 years ago2007-08-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
ironhead [Fri, 3 Aug 2007 22:22:31 +0000 (22:22 +0000)]
2007-08-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.10.
        * Makefile.in: Ditto.

16 years ago2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 3 Aug 2007 21:03:40 +0000 (21:03 +0000)]
2007-08-03  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/tar.h: New.

16 years ago2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 3 Aug 2007 21:01:10 +0000 (21:01 +0000)]
2007-08-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
        * libc/sys/linux/intl/Makefile.in: Regenerated.
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.

16 years agomerge from gcc
dj [Fri, 3 Aug 2007 19:49:43 +0000 (19:49 +0000)]
merge from gcc

16 years ago * Makefile.in (cygcheck.exe): Add bloda.o as prerequisite, adjusting
davek [Fri, 3 Aug 2007 19:41:48 +0000 (19:41 +0000)]
* Makefile.in (cygcheck.exe):  Add bloda.o as prerequisite, adjusting
dependency-filtering $(wordlist ...) call appropriately.  Link ntdll.
(bloda.o):  New rule to build bloda.o
* cygcheck.cc (dump_sysinfo):  Call bloda function dump_dodgy_apps().
* bloda.cc:  New file implements detection of applications from the
Big List Of Dodgy Apps.

16 years agoFix resource dependency problems for xmpy.
wilson [Fri, 3 Aug 2007 18:54:22 +0000 (18:54 +0000)]
Fix resource dependency problems for xmpy.

16 years ago * ld-srec/srec.exp: XFAIL for powerpc*-*-*.
drow [Fri, 3 Aug 2007 12:53:47 +0000 (12:53 +0000)]
* ld-srec/srec.exp: XFAIL for powerpc*-*-*.

16 years agodaily update
amodra [Fri, 3 Aug 2007 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 3 Aug 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2007-08-02 Michael Snyder <msnyder@access-company.com>
msnyder [Thu, 2 Aug 2007 21:08:12 +0000 (21:08 +0000)]
2007-08-02  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c (create_set_type): Test should only be done within
the preceeding if block.  Otherwise, variable is uninitialized.

16 years ago2007-08-02 Michael Snyder <msnyder@access-company.com>
msnyder [Thu, 2 Aug 2007 21:01:33 +0000 (21:01 +0000)]
2007-08-02  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c (check_typedef): Guard NULL.

16 years agoImplement fmemopen and open_memstream.
ericb [Thu, 2 Aug 2007 20:23:06 +0000 (20:23 +0000)]
Implement fmemopen and open_memstream.
* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
* libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
New file.
* libc/stdio/fopencookie.c (fcwriter): Minor optimization.
* libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
functions together.
(fmemopen, open_memstream): Declare new functions.
* libc/stdio/stdio.tex: Document them.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
fmemopen and open_memstream.
* libc/stdio/Makefile.in: Regenerate.

16 years agobfd/
hjl [Thu, 2 Aug 2007 16:01:54 +0000 (16:01 +0000)]
bfd/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

16 years ago * fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
corinna [Thu, 2 Aug 2007 15:13:54 +0000 (15:13 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
* syscalls.cc (rename): Ditto.

16 years ago * smallprint.c: Remove.
corinna [Thu, 2 Aug 2007 14:38:21 +0000 (14:38 +0000)]
* smallprint.c: Remove.

16 years ago* lib/Makefile: Add missed file to accommodate below changes.
cgf [Thu, 2 Aug 2007 14:34:46 +0000 (14:34 +0000)]
* lib/Makefile: Add missed file to accommodate below changes.

16 years agoAdd missing checkin.
cgf [Thu, 2 Aug 2007 14:33:32 +0000 (14:33 +0000)]
Add missing checkin.

16 years ago* lib/cygwin_attach_dll.c: Fix compiler warning.
cgf [Thu, 2 Aug 2007 14:30:16 +0000 (14:30 +0000)]
* lib/cygwin_attach_dll.c: Fix compiler warning.
* lib/cygwin_crt0.c: Ditto.

16 years ago* Makefile.in: Add -lntdll to link line.
cgf [Thu, 2 Aug 2007 14:23:22 +0000 (14:23 +0000)]
* Makefile.in: Add -lntdll to link line.
(CYGWIN_OBJS): Include strfuncs.o.

16 years ago* dcrt0.cc (codepage_type): Remove definition.
cgf [Thu, 2 Aug 2007 14:21:53 +0000 (14:21 +0000)]
* dcrt0.cc (codepage_type): Remove definition.
* strfuncs.cc: Move it here.  New file with bits of miscfuncs.cc.
* miscfuncs.cc: Remove wide character stuff.

16 years ago * smallprint.c: New file.
corinna [Thu, 2 Aug 2007 14:07:19 +0000 (14:07 +0000)]
* smallprint.c: New file.
* Makefile.in (OBJS): Add smallprint.o.
(CYGWIN_OBJS): Remove smallprint.o from Cygwin dir.

16 years ago * syscalls.cc (rename): Move and add text to comment about testing
corinna [Thu, 2 Aug 2007 11:11:34 +0000 (11:11 +0000)]
* syscalls.cc (rename): Move and add text to comment about testing
oldpath and newpath referring to the same file.  Test if oldpath
has more than one hardlink before opening oldpath (idea by Eric Blake).
Reorder test so that file id is tested before volume serial number.

16 years ago * path.h (struct fs_info): Drop root_len and name_hash members.
corinna [Thu, 2 Aug 2007 10:33:28 +0000 (10:33 +0000)]
* path.h (struct fs_info): Drop root_len and name_hash members.
(fsinfo::length): Remove.
(path_conv::rootdir): Remove.
* syscalls.cc (try_to_bin): Use rootdir function instead of
path_conv::rootdir method.

16 years ago * fhandler_disk_file.cc (path_conv::ndisk_links): Fix typo in call to
corinna [Thu, 2 Aug 2007 10:22:28 +0000 (10:22 +0000)]
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix typo in call to
NtClose.

16 years ago * include/winbase.h (ReOpenFile): Add prototype.
corinna [Thu, 2 Aug 2007 07:22:45 +0000 (07:22 +0000)]
* include/winbase.h (ReOpenFile): Add prototype.
* lib/kernel32.def (ReOpenFile@16): Add export.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Thu, 2 Aug 2007 00:40:02 +0000 (00:40 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* i386-dis.c (print_insn): Guard against NULL.

16 years agodaily update
amodra [Thu, 2 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 2 Aug 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * syscalls.cc (rename): Check if oldpath and newpath refer to the
corinna [Wed, 1 Aug 2007 21:02:24 +0000 (21:02 +0000)]
* syscalls.cc (rename): Check if oldpath and newpath refer to the
same file.  If so, return successfully and perform no other action,
as per SUSv3.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 20:34:36 +0000 (20:34 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* remote-utils.c (putpkt_binary): Memory leak, free buf2.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 20:26:30 +0000 (20:26 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* cli/cli-decode.c (lookup_cmd): Check for null earlier, to
avoid dereference in lookup_cmd_1.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 20:15:36 +0000 (20:15 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* tui/tui-data.c (tui_alloc_content): Move assign out of if,
clean up long lines.
(tui_alloc_generic_win_info): Tidy by using XMALLOC macro.
(tui_alloc_win_info): Ditto.
(tui_add_content_elements): Ditto.
* tui/tui-file.c (tui_file_magic): Ditto.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 20:06:05 +0000 (20:06 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* vms-tir.c (new_section): Fix cut and paste error.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 19:58:40 +0000 (19:58 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (aout_link_add_symbols): Return if count is zero.

16 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 19:55:09 +0000 (19:55 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so
pointer must be non-null.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 1 Aug 2007 19:43:08 +0000 (19:43 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* cp-demangle.c (d_print_comp): Guard against null.

16 years ago * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
nemet [Wed, 1 Aug 2007 17:41:30 +0000 (17:41 +0000)]
* ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
* ld-mips-elf/mips-elf.exp: Invoke them.

16 years agoga.po: Updated Irish translation.
nickc [Wed, 1 Aug 2007 17:00:07 +0000 (17:00 +0000)]
ga.po: Updated Irish translation.

16 years ago* coffcode.h (coff_sort_func_alent): New function.
nickc [Wed, 1 Aug 2007 16:55:53 +0000 (16:55 +0000)]
* coffcode.h (coff_sort_func_alent): New function.
  (coff_slurp_line_table): Sort line table if not already sorted.

16 years agoCorrect ChangeLog entries.
hjl [Wed, 1 Aug 2007 15:27:55 +0000 (15:27 +0000)]
Correct ChangeLog entries.

16 years agoAdd a newline.
hjl [Wed, 1 Aug 2007 15:19:35 +0000 (15:19 +0000)]
Add a newline.

16 years ago * ntdll.h (STATUS_ACCESS_DENIED): Define.
corinna [Wed, 1 Aug 2007 14:46:09 +0000 (14:46 +0000)]
* ntdll.h (STATUS_ACCESS_DENIED): Define.
* syscalls.cc (check_dir_not_empty): New static function.
(unlink_nt): Move code checking for non-empty dir to check_dir_not_empty
and call check_dir_not_empty instead.
(rename): Add fault handler.  Check oldpath and newpath for trailing
. and .. path components and return EINVAL if so.  Check oldpath
for being on a vrtual file system.  If renaming a dir fails with
STATUS_ACCESS_DENIED, check if the target dir is non-empty and return
ENOTEMPTY if so.

16 years ago * localtime.cc (tzsetwall): Don't set TZ.
corinna [Wed, 1 Aug 2007 13:26:55 +0000 (13:26 +0000)]
* localtime.cc (tzsetwall): Don't set TZ.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
corinna [Wed, 1 Aug 2007 12:55:24 +0000 (12:55 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
usage of path_conv::volser().
(fhandler_base::fstat_by_name): Ditto.
* ntdll.h (STATUS_NO_MEDIA_IN_DEVICE): Define.
(STATUS_OBJECT_NAME_NOT_FOUND): Define.
(FILE_REMOVABLE_MEDIA, FILE_READ_ONLY_DEVICE, FILE_FLOPPY_DISKETTE)
(FILE_WRITE_ONCE_MEDIA, FILE_REMOTE_DEVICE, FILE_DEVICE_IS_MOUNTED)
(FILE_VIRTUAL_VOLUME, FILE_AUTOGENERATED_DEVICE_NAME)
FILE_DEVICE_SECURE_OPEN): Define Device Characteristics.
(struct _FILE_FS_DEVICE_INFORMATION): Define.
* path.cc (MAX_FS_INFO_CNT): Remove.
(fsinfo): Remove.
(fsinfo_cnt): Remove.
(fs_info::update): Rewrite using native NT functions.  Drop fs_info
cashing since it's incorrect.
(path_conv::fillin): Use NtQueryInformationFile.  Drop setting serial
number.
(path_conv::check): Accommodate new fs_info::update parameters.
(fillout_mntent): Ditto.
* path.h (fs_info): Drop serial, has_ea and drive_type status
flags.
(fs_info::update): Declare with new parameters.
(path_conf::drive_type): Remove.
(path_conf::fs_has_ea): Remove.
(path_conf::volser): Remove.

16 years ago * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
jakub [Wed, 1 Aug 2007 08:57:23 +0000 (08:57 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
GCC 3.4.x warning.

16 years ago * fhandler.cc (check_posix_perms): Remove.
corinna [Wed, 1 Aug 2007 08:36:38 +0000 (08:36 +0000)]
* fhandler.cc (check_posix_perms): Remove.
(fhandler_base::fpathconf): Return value of pc.has_acls () instead
of calling check_posix_perms.

16 years ago * syscalls.cc (rename): Use unchanged path_conv in condition.
corinna [Wed, 1 Aug 2007 07:52:35 +0000 (07:52 +0000)]
* syscalls.cc (rename): Use unchanged path_conv in condition.

16 years ago * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
amodra [Wed, 1 Aug 2007 07:50:16 +0000 (07:50 +0000)]
* aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
r_type.
(swap_std_reloc_in): Likewise.
(aout_link_input_section_std): Likewise.  Return with an error
on unexpected relocation type.
(aout_link_input_section_ext): Likewise.

16 years ago PR4694
amodra [Wed, 1 Aug 2007 07:43:36 +0000 (07:43 +0000)]
PR4694
* aoutx.h (final_link): Write a zero in first word of
stringtab if no symbols rather than corrupting last byte
of text/data.

16 years ago * smallprint.cc (__small_vsprintf): Add format specifier 'W' for
corinna [Wed, 1 Aug 2007 07:39:20 +0000 (07:39 +0000)]
* smallprint.cc (__small_vsprintf): Add format specifier 'W' for
PWCHAR arguments.  Move wide char handling after char handling.

16 years ago*** empty log message ***
gdbadmin [Wed, 1 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 1 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 23:08:22 +0000 (23:08 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
True and false paths are mutually exclusive.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 22:01:03 +0000 (22:01 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* event-top.c (command_line_handler): Add pedantic return.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 21:56:00 +0000 (21:56 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* f-valprint.c (info_common_command): Bail out to prevent null
pointer deref.  Break up a long line.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 21:49:21 +0000 (21:49 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* exec.c (xfer_memory): Remove redundant condition from 'if'.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 21:42:19 +0000 (21:42 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* symfile.c (reread_separate_symbols): Free xmalloced memory.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 21:36:13 +0000 (21:36 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* printcmd.c (build_address_symbolic): Remove dead code and dead
variable.

16 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 31 Jul 2007 21:35:37 +0000 (21:35 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* printcmd.c (build_address_symbolic): Remove dead code and dead
variable.

16 years agoMore POSIX stream corner cases.
ericb [Tue, 31 Jul 2007 20:49:40 +0000 (20:49 +0000)]
More POSIX stream corner cases.
* libc/stdio/findfp.c (__sinit): Open stderr read/write.
* libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
requested.
* libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.