OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago2007-08-21 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 22 Aug 2007 01:57:05 +0000 (01:57 +0000)]
2007-08-21  Michael Snyder  <msnyder@access-company.com>

* dbxread.c (read_dbx_symtab): Guard null deref.
Break up long line.

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

* valops.c (find_overload_match): Guard against NULL.

16 years ago * MAINTAINERS (Patch Champions): Remove self.
drow [Wed, 22 Aug 2007 01:21:44 +0000 (01:21 +0000)]
* MAINTAINERS (Patch Champions): Remove self.

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

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

16 years agoImplement --whole-archive.
iant [Tue, 21 Aug 2007 23:37:56 +0000 (23:37 +0000)]
Implement --whole-archive.

16 years agoMake relative references in linker scripts absolute and update a
chatham [Tue, 21 Aug 2007 21:29:12 +0000 (21:29 +0000)]
Make relative references in linker scripts absolute and update a
comment about relocate() being called.

16 years agoForce PT_LOAD segments to be aligned to the page size.
iant [Tue, 21 Aug 2007 21:03:50 +0000 (21:03 +0000)]
Force PT_LOAD segments to be aligned to the page size.

16 years agoAdd support for -rpath.
iant [Tue, 21 Aug 2007 20:37:32 +0000 (20:37 +0000)]
Add support for -rpath.

16 years ago2007-08-21 Dave Brolley <brolley@redhat.com>
brolley [Tue, 21 Aug 2007 19:37:43 +0000 (19:37 +0000)]
2007-08-21  Dave Brolley  <brolley@redhat.com>

        * rtl-c.scm (const): Generate call to MAKEDI for integers larger
        than 32 bits.

16 years ago * uinfo.cc (pwdgrp::load): Use NT native functions.
corinna [Tue, 21 Aug 2007 17:38:23 +0000 (17:38 +0000)]
* uinfo.cc (pwdgrp::load): Use NT native functions.

16 years ago2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Tue, 21 Aug 2007 15:54:29 +0000 (15:54 +0000)]
2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (struct s390_cond_ext_format): New global struct.
(s390_cond_ext_format): New global variable.
(expandConditionalJump): New function.
(main): Invoke expandConditionalJump for mnemonics containing '*'.
* s390-opc.txt: Replace mnemonics with conditional
mask extensions with instructions using the newly introduced '*' tag.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
corinna [Tue, 21 Aug 2007 15:37:09 +0000 (15:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
for executable file magic using a thread safe method and re-enable this
code.

16 years ago* gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish.
jimb [Tue, 21 Aug 2007 15:09:59 +0000 (15:09 +0000)]
* gdb.texinfo (Top): Dedicate manual to the memory of Fred Fish.
(title page): Include the dedication in the printed manual, as a
separate page after the copyright notice.

16 years ago2007-08-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 21 Aug 2007 13:52:53 +0000 (13:52 +0000)]
2007-08-21  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Accept a pointer
to ELF hash entry instead of an integer for local test.
(elf_i386_check_relocs): Updated.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c  (elf64_x86_64_tls_transition): Accept a
pointer to ELF hash entry instead of an integer for local
test.
(elf64_x86_64_check_relocs): Updated.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_relocate_section): Likewise.

16 years ago2007-08-21 Chris Smith <chris.smith@st.com>
drow [Tue, 21 Aug 2007 13:35:00 +0000 (13:35 +0000)]
2007-08-21  Chris Smith  <chris.smith@st.com>

* cli/cli-script.c (read_command_lines): Call dont_repeat for each
line.

16 years ago * syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
corinna [Tue, 21 Aug 2007 12:39:53 +0000 (12:39 +0000)]
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.

16 years ago * ntdll.h (NtNotifyChangeDirectoryFile): Declare.
corinna [Tue, 21 Aug 2007 12:37:38 +0000 (12:37 +0000)]
* ntdll.h (NtNotifyChangeDirectoryFile): Declare.
(NtQueryAttributesFile): Move to maintain alphabetical order of
declarations.  Add comment to note that timestamp information returned
by NtQueryAttributesFile is unreliable.
* path.h (etc::changed_h): Move here.
(etc::fn): Change type to OBJECT_ATTRIBUTES.
(etc::last_modified): Change type to LARGE_INTEGER.
(etc::init): Take PUNICODE_STRING as second argument.
* path.cc: Accomodate above changes.
(etc::test_file_change): Use NT native functions.
(etc::dir_changed): Ditto.
* uinfo.cc (pwdgrp::load): Call etc::init with NT native path.

16 years ago * fhandler_disk_file.cc: Change debugging output througout to print
corinna [Tue, 21 Aug 2007 12:09:37 +0000 (12:09 +0000)]
* fhandler_disk_file.cc: Change debugging output througout to print
the NT status consistently.  Use UNICODE path information if available.

16 years agoBring over from the GCC tree:
bje [Tue, 21 Aug 2007 04:15:07 +0000 (04:15 +0000)]
Bring over from the GCC tree:

2007-08-21  Richard Guenther  <rguenther@suse.de>

  * configure.ac: Add types checking to stage1 checking flags.
* configure: Regenerate.

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

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

16 years ago* gdb.texinfo (The F Reply Packet): Avoid confusing texi2html:
jimb [Mon, 20 Aug 2007 19:31:11 +0000 (19:31 +0000)]
* gdb.texinfo (The F Reply Packet): Avoid confusing texi2html:
don't break a @var across a line.

16 years ago2007-08-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Aug 2007 19:13:01 +0000 (19:13 +0000)]
2007-08-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Break long line.
* elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.

16 years ago * hookapi.cc (ld_preload): Call LoadLibraryW.
corinna [Mon, 20 Aug 2007 15:41:08 +0000 (15:41 +0000)]
* hookapi.cc (ld_preload): Call LoadLibraryW.
* path.h (path_conv::get_wide_win32_path_len): Define.

16 years ago * fhandler.cc (rootdir): Delete.
corinna [Mon, 20 Aug 2007 15:16:26 +0000 (15:16 +0000)]
* fhandler.cc (rootdir): Delete.
* winsup.h (rootdir): Drop declaration.

16 years agoRevision of previous delta using bfd_vma cast instead of 1L.
nickc [Mon, 20 Aug 2007 13:23:41 +0000 (13:23 +0000)]
Revision of previous delta using bfd_vma cast instead of 1L.

16 years ago2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
jkratoch [Mon, 20 Aug 2007 13:05:22 +0000 (13:05 +0000)]
2007-08-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
(ELF_MINPAGESIZE): Fixed its size guess.  Sanity checked its size.
(ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.

16 years ago* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
nickc [Mon, 20 Aug 2007 08:26:34 +0000 (08:26 +0000)]
* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
  into an offset mask in order to avoid a gcc error message.

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

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

16 years ago * path.cc (fillout_mntent): Append backslash to drive-only paths before
corinna [Sun, 19 Aug 2007 15:55:05 +0000 (15:55 +0000)]
* path.cc (fillout_mntent): Append backslash to drive-only paths before
calling fs_info::update.
* path.h (fs_info::clear): Simplify.
(fs_info::fs_info): Add constructor.

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

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

16 years ago2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
msnyder [Sat, 18 Aug 2007 20:22:27 +0000 (20:22 +0000)]
2007-08-18  Michael Snyder  <msnyder@svkmacdonelllnx>

* stabsread.c (dbx_lookup_type): Memory leak.

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

* event-loop.c (delete_async_signal_handler): Move pointer null
test to before pointer dereference.

16 years ago2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
msnyder [Sat, 18 Aug 2007 19:45:48 +0000 (19:45 +0000)]
2007-08-18  Michael Snyder  <msnyder@svkmacdonelllnx>

* ui-out.c (append_header_to_list): Possible cut and paste error.

16 years ago2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
msnyder [Sat, 18 Aug 2007 19:39:44 +0000 (19:39 +0000)]
2007-08-18  Michael Snyder  <msnyder@svkmacdonelllnx>

* MAINTAINERS: white space tweak.

16 years ago2007-08-18 Paul Brook <paul@codesourcery.com>
jsm28 [Sat, 18 Aug 2007 15:19:09 +0000 (15:19 +0000)]
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

16 years ago * gdb.base/step-line.c: Switch license to GPL version 3, and
brobecke [Sat, 18 Aug 2007 02:13:15 +0000 (02:13 +0000)]
    * gdb.base/step-line.c: Switch license to GPL version 3, and
        update copyright year.
        * gdb.base/step-line.inp: Likewise.

16 years ago * gdb.base/step-line.c: Switch license to GPL version 3, and
brobecke [Sat, 18 Aug 2007 02:08:26 +0000 (02:08 +0000)]
    * gdb.base/step-line.c: Switch license to GPL version 3, and
        update copyright year.
        * gdb.base/step-line.inp: Likewise.

16 years ago * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
amodra [Sat, 18 Aug 2007 01:36:57 +0000 (01:36 +0000)]
* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.

16 years ago * gdb.base/gdb1555.exp: Make expected output immune to formatting
brobecke [Sat, 18 Aug 2007 01:21:42 +0000 (01:21 +0000)]
    * gdb.base/gdb1555.exp: Make expected output immune to formatting
        changes inside gdb1555.c.
        * gdb.base/pending.exp: Likewise.

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

* stack.c (print_frame): Memory leak.

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

* completer.c (filename_completer): Avoid memory leak.
Remove unnecessary nested block.

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

* completer.c (filename_completer): Avoid memory leak.
Remove unnecessary nested block.

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

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

16 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 17 Aug 2007 23:27:42 +0000 (23:27 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* c-exp.y (parse_number): Memory leak.

16 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 17 Aug 2007 23:24:17 +0000 (23:24 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* completer.c (location_completer): Must free 'fn_list', except
in the one case where it is returned (as 'list').

16 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 17 Aug 2007 23:17:30 +0000 (23:17 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* varobj.c (value_of_root): Memory leak.

16 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 17 Aug 2007 23:12:46 +0000 (23:12 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.h (virtual_base_list): Remove export decl.
* gdbtypes.c (virtual_base_list): Make static.  Not called outside.
(virtual_base_index): Memory leak.
(virtual_base_index_skip_primaries): Ditto.

16 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
jakub [Fri, 17 Aug 2007 22:00:03 +0000 (22:00 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

16 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
jakub [Fri, 17 Aug 2007 22:00:01 +0000 (22:00 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

16 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
jakub [Fri, 17 Aug 2007 21:59:52 +0000 (21:59 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

16 years ago2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Fri, 17 Aug 2007 21:53:29 +0000 (21:53 +0000)]
2007-08-17  Maxim Grigoriev  <maxim2405@gmail.com>

* xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
(C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
(C0_CONST, C0_INEXP, C0_NOSTK): New macros.
(xtensa_read_register): New function.
(xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
(xtensa_insn_kind): New types.
(xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
(xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
(xtensa_verify_config, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_extract_return_value)
(xtensa_store_return_value)
(xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
(windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
(call0_frame_cache, call0_frame_get_reg_at_entry)
(call0_classify_opcode, call0_track_op)
(call0_analyze_prologue, call0_frame_cache): New functions.

16 years ago * spawn.cc (spawn_guts): Fix typo in comment.
corinna [Fri, 17 Aug 2007 20:22:24 +0000 (20:22 +0000)]
* spawn.cc (spawn_guts): Fix typo in comment.

16 years ago * autoload.cc (CloseDesktop): Define.
corinna [Fri, 17 Aug 2007 19:58:55 +0000 (19:58 +0000)]
* autoload.cc (CloseDesktop): Define.
(CreateDesktopA): Define.
(SetThreadDesktop): Define.
* spawn.cc (spawn_guts): When starting a process under another user
account, don't open up permissions on current window station and
desktop.  Instead, if not in interactive session, create a new per-user
window station plus default desktop and use that for the child process.

16 years agomerge from gcc
dj [Fri, 17 Aug 2007 19:31:00 +0000 (19:31 +0000)]
merge from gcc

16 years ago * breakpoint.c (bpstat_free): New.
vprus [Fri, 17 Aug 2007 17:06:02 +0000 (17:06 +0000)]
* breakpoint.c (bpstat_free): New.
(bpstat_clear): Use bpstat_free.
(delete_breakpoint): Document why we cannot
remove bpstats from stop_bpstat.
* breakpoint.h (bpstat_free): Declare.

16 years ago * breakpoint.c (bpstat_free): New.
vprus [Fri, 17 Aug 2007 17:05:47 +0000 (17:05 +0000)]
* breakpoint.c (bpstat_free): New.
(bpstat_clear): Use bpstat_free.
(delete_breakpoint): Document why we cannot
remove bpstats from stop_bpstat.
* breakpoint.h (bpstat_free): Declare.

16 years ago PR gas/4079
amodra [Fri, 17 Aug 2007 14:12:42 +0000 (14:12 +0000)]
PR gas/4079
* config/tc-i386.c (x86_cons): Complain about invalid @got etc.
expressions.
(i386_immediate): Detect and complain about more cases of
invalid immediate expressions.  Return failure rather than
converting them to zero.
(i386_displacement): Likewise.

16 years ago * emultempl/alphaelf.em: Format option help.
amodra [Fri, 17 Aug 2007 13:50:48 +0000 (13:50 +0000)]
* emultempl/alphaelf.em: Format option help.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.

16 years ago * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
amodra [Fri, 17 Aug 2007 13:23:07 +0000 (13:23 +0000)]
* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
* lexsup.c (ld_options): Don't use tabs in help text.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.

16 years agold/testsuite/
rsandifo [Fri, 17 Aug 2007 13:22:43 +0000 (13:22 +0000)]
ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].

16 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
rsandifo [Fri, 17 Aug 2007 13:15:23 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

16 years ago * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
amodra [Fri, 17 Aug 2007 01:04:47 +0000 (01:04 +0000)]
* po/Make-in: Add --msgid-bugs-address to xgettext invocation.

16 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
aoliva [Fri, 17 Aug 2007 00:03:39 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

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

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

16 years agobfd/
hjl [Thu, 16 Aug 2007 18:49:41 +0000 (18:49 +0000)]
bfd/

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

* elf.c: Revert last change.

binutils/

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

* readelf.c: Revert last change.

include/elf/

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

* common.h: Revert last change.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
corinna [Thu, 16 Aug 2007 16:59:23 +0000 (16:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
mode bit by setting the SYSTEM attribute.
* fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit
when calling fhandler_disk_file::fchmod.  Don't set attributes here.

16 years ago * path.h (path_conv::operator char *): Delete.
corinna [Thu, 16 Aug 2007 15:07:40 +0000 (15:07 +0000)]
* path.h (path_conv::operator char *): Delete.
(path_conv::operator const char *): Delete.
* dlfcn.cc: Throughout, replace path_conv::operator char * and
path_conv::operator const char * by call to path_conv::get_win32
for easier transition to UNICODE_PATHs.
* fhandler_socket.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

16 years agoevent-loop.c (gdb_wait_for_event): Move statement into if block.
msnyder [Thu, 16 Aug 2007 14:51:22 +0000 (14:51 +0000)]
event-loop.c (gdb_wait_for_event): Move statement into if block.

16 years ago * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
corinna [Thu, 16 Aug 2007 14:46:23 +0000 (14:46 +0000)]
* dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
* sec_acl.cc (getacl): Convert debug output to print native NT path.
* security.cc (set_file_attribute): Ditto.
* syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.

16 years ago * ntdll.h (RtlAcquirePebLock): Declare.
corinna [Thu, 16 Aug 2007 14:30:53 +0000 (14:30 +0000)]
* ntdll.h (RtlAcquirePebLock): Declare.
(RtlReleasePebLock): Declare.
* path.cc (cwdstuff::set): Change PEB only while it's locked.

16 years ago * fhandler.h (fhandler_base::get_namehash): Use NT native path.
corinna [Thu, 16 Aug 2007 14:10:04 +0000 (14:10 +0000)]
* fhandler.h (fhandler_base::get_namehash): Use NT native path.
* fhandler_disk_file.cc (readdir_get_ino): Ditto in call to
hash_path_name.

16 years ago * ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
amodra [Thu, 16 Aug 2007 13:51:26 +0000 (13:51 +0000)]
* ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
xfails.

16 years agobfd/
hjl [Thu, 16 Aug 2007 13:38:06 +0000 (13:38 +0000)]
bfd/

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

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

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

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

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

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

16 years ago * ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
corinna [Thu, 16 Aug 2007 10:41:45 +0000 (10:41 +0000)]
* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
(RtlUpcaseUnicodeChar): Declare.
* path.cc (hash_path_name): Split into three functions, taking
the path as char *, PWCSTR, or PUNICODE_STRING.  Move implementation
into PUNICODE_STRING-based function.  Drop old drive-relative path
consideration.
* winsup.h (iswdirsep): Like isdirsep but for WCHARs.
(isabspath_u): Like isabspath, for PUNICODE_STRINGs.
(iswabspath): Like isabspath, for PWCHARs.
(hash_path_name): Add new declarations.

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

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

16 years ago * ada-lang.c (resolve_subexp): Correct arity of binary operators.
brobecke [Wed, 15 Aug 2007 18:43:14 +0000 (18:43 +0000)]
    * ada-lang.c (resolve_subexp): Correct arity of binary operators.

16 years ago * ada-lang.c (possible_user_operator_p): Alternative fix to last
brobecke [Wed, 15 Aug 2007 18:36:37 +0000 (18:36 +0000)]
    * ada-lang.c (possible_user_operator_p): Alternative fix to last
        checkin guarding against NULL.

16 years ago * path.cc (get_nt_native_path): Allow to convert special paths which
corinna [Wed, 15 Aug 2007 16:27:08 +0000 (16:27 +0000)]
* path.cc (get_nt_native_path): Allow to convert special paths which
have no native NT path representation for simplified debug output.
* syscalls.cc: Convert debug output to print native NT path.
(unlink): Drop redundant debug output.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
corinna [Wed, 15 Aug 2007 15:31:18 +0000 (15:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
test for trailing dot.
* path.h (path_conv::operator []): Remove.

16 years ago * fhandler_socket.cc (get_inet_addr): Use NT native functions for
corinna [Wed, 15 Aug 2007 15:17:04 +0000 (15:17 +0000)]
* fhandler_socket.cc (get_inet_addr): Use NT native functions for
accessing the file representing the local socket.
(fhandler_socket::bind): Ditto.
* ntdll.h: Declare NtReadFile.

16 years ago PR 4923
amodra [Wed, 15 Aug 2007 06:03:11 +0000 (06:03 +0000)]
PR 4923
* emultempl/elf32.em (after_open): Return immediately when
        non-ELF output.

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

* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.

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

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

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

* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
tui-winsource.h, tui.c, tui.h: Function declarations and
definitions, wrap long lines.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:39:22 +0000 (21:39 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:20:09 +0000 (21:20 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:19:59 +0000 (21:19 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 20:23:28 +0000 (20:23 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.

16 years ago * ada-lang.c (field_alignment): Guard against NULL.
brobecke [Tue, 14 Aug 2007 20:16:16 +0000 (20:16 +0000)]
    * ada-lang.c (field_alignment): Guard against NULL.

16 years ago * MAINTAINERS (Global Maintainers): Add self.
brobecke [Tue, 14 Aug 2007 20:10:47 +0000 (20:10 +0000)]
    * MAINTAINERS (Global Maintainers): Add self.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 19:51:31 +0000 (19:51 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.

16 years agobfd/
hjl [Tue, 14 Aug 2007 19:48:20 +0000 (19:48 +0000)]
bfd/

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

PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.

* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.

ld/testsuite/

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

PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.

* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.