OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago(alphafunc): Remove and replace usage with nfunc.
nickc [Mon, 1 Aug 2005 16:54:07 +0000 (16:54 +0000)]
(alphafunc): Remove and replace usage with nfunc.
(nfunc): Fix sorting of fastcall symbols when --kill-at is used.

19 years ago * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension
rsandifo [Mon, 1 Aug 2005 11:59:28 +0000 (11:59 +0000)]
* elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension
of MIPS32 and MIPS64r2 as an extension of MIPS32r2.

19 years ago * dwarf2-frame.c (read_signed_leb128): Handle values that do not
drow [Mon, 1 Aug 2005 04:06:22 +0000 (04:06 +0000)]
* dwarf2-frame.c (read_signed_leb128): Handle values that do not
fit in 32 bits.
* dwarf2read.c (read_signed_leb128): Likewise.

19 years ago From Josef Ezra <jezra@emc.com>:
drow [Mon, 1 Aug 2005 03:41:26 +0000 (03:41 +0000)]
From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer
arithmetic.

19 years ago Suggested by Vladimir Prus <ghost@cs.msu.su>:
drow [Mon, 1 Aug 2005 03:32:26 +0000 (03:32 +0000)]
Suggested by Vladimir Prus <ghost@cs.msu.su>:
* infrun.c (handle_inferior_event): Check for line information in
undebuggable functions.

19 years agodaily update
amodra [Mon, 1 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 1 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.mi/mi-var-child.c (do_children_tests): Initialize
drow [Sun, 31 Jul 2005 22:10:52 +0000 (22:10 +0000)]
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.

19 years ago * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
drow [Sun, 31 Jul 2005 21:24:24 +0000 (21:24 +0000)]
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.

19 years agoFrom Kaveh R. Ghazi <ghazi@caip.rutgers.edu>:
drow [Sun, 31 Jul 2005 20:56:23 +0000 (20:56 +0000)]
From  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>:
gdb/
* cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add
ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF.
* complaints.c (vcomplaint): Likewise.
* defs.h (xvasprintf, xstrvprintf, verror, vfatal)
(internal_verror, internal_vwarning, vwarning)
(deprecated_query_hook, deprecated_warning_hook)
(deprecated_readline_begin_hook): Likewise.
* disasm.c (fprintf_disasm): Likewise.
* exceptions.c (throw_it): Likewise.
* exceptions.h (throw_verror, throw_vfatal): Likewise.
* mi/mi-interp.c (mi_interp_query_hook): Likewise.
* mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
* tui/tui-hooks.c (tui_query_hook): Likewise.
* tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt):
Likewise.
* ui-out.c (default_field_fmt, default_message, uo_field_fmt)
(uo_message): Likewise.
* ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype)
(message_ftype): Likewise.
* utils.c (vfprintf_maybe_filtered, internal_vproblem)
(defaulted_query, printchar): Likewise.
gdb/gdbserver/
* server.h (error, fatal, warning): Add ATTR_FORMAT.

19 years ago * elflink.c (elf_gc_sweep): Set dynsymcount to correct value.
daney [Sun, 31 Jul 2005 06:14:14 +0000 (06:14 +0000)]
* elflink.c (elf_gc_sweep):  Set dynsymcount to correct value.

19 years ago*** empty log message ***
gdbadmin [Sun, 31 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 31 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.
ths [Sat, 30 Jul 2005 13:53:11 +0000 (13:53 +0000)]
* config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.

19 years agodaily update
amodra [Sat, 30 Jul 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 30 Jul 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp
daney [Fri, 29 Jul 2005 23:23:59 +0000 (23:23 +0000)]
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook):  Ignore _gp_disp
if it is in the *ABS* section.

19 years ago2005-07-29 Dave Brolley <brolley@redhat.com>
brolley [Fri, 29 Jul 2005 19:25:33 +0000 (19:25 +0000)]
2005-07-29  Dave Brolley  <brolley@redhat.com>

        * sid-cpu.scm (-gen-scache-semantic-fn): Generate a declation of 'writte
n'
        if with-profile or with-parallel-write.
        (cgen-semantics.cxx): Make the @prefix@ namespace available if with-para
llel.

19 years ago2005-07-29 Dave Brolley <brolley@redhat.com>
brolley [Fri, 29 Jul 2005 18:51:24 +0000 (18:51 +0000)]
2005-07-29  Dave Brolley  <brolley@redhat.com>

        * operand.scm (op:new-mode): Convert (obj:name op) to a string for
        string-append.

19 years ago2005-07-29 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 29 Jul 2005 17:39:28 +0000 (17:39 +0000)]
2005-07-29  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_PC12.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
pop.
(do_t_addr): Implement 32-bit variant.
(do_t_push_pop): Make some errors warnings.  Handle single register
32-bit case.
(insns): Use tCE for adr.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
(md_apply_fix): Ditto.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected output for writeback addressing
modes.  Add single high reg push/pop test.
* gas/asm/thumb32.s: Add single high reg push/pop test.
opcodes/
* arm-dis.c: Fix disassebly of thumb2 writeback addressing modes.

19 years ago2005-07-29 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 29 Jul 2005 17:28:17 +0000 (17:28 +0000)]
2005-07-29  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c (BFD_RELOC_ARM_T32_IMM12): Add.
* bfd-in2.h: Regeenrate.
* libbfd.h: Regenerate.
gas/
* config/tc-arm.c (parse_tb): New function.
(enum operand_parse_code): Add OP_TB.
(parse_operands): Handle OP_TB.
(do_t_add_sub_w, do_t_tb): New functions.
(insns): Add entries for addw, subw, tbb and tbh.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
gas/testsuite/
* gas/arm/thumb32.s: Add tests for addw, subw, tbb and tbh.
* gas/arm/thumb32.d: Ditto.
opcodes/
* arm-dis.c (thumb32_opc): Fix addressing mode for tbh.
(print_insn_thumb32): Fix decoding of thumb2 'I' operands.

19 years ago* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
cgf [Fri, 29 Jul 2005 17:26:07 +0000 (17:26 +0000)]
* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
after I/O.
(fhandler_base::pwrite): Ditto.

19 years agowhite space
cgf [Fri, 29 Jul 2005 17:06:57 +0000 (17:06 +0000)]
white space

19 years ago* fhandler.h (fhandler_base::pread): Declare new function.
cgf [Fri, 29 Jul 2005 17:04:42 +0000 (17:04 +0000)]
* fhandler.h (fhandler_base::pread): Declare new function.
(fhandler_base::pwrite): Ditto.
(fhandler_disk_file::pread): Ditto.
(fhandler_disk_file::pwrite): Ditto.
* fhandler.cc (fhandler_base::pread): Define new function.
(fhandler_base::pwrite): Ditto.
* fhandler_disk_file.cc (fhandler_base::pread): Ditto.
(fhandler_base::pwrite): Ditto.
* syscalls.cc (pread): Define new function.
(pwrite): Ditto.
* cygwin.din: Export pread, pwrite.
* include/sys/ioctl.h: Guard some _IO* declarations to avoid conflict with
socket.h.

19 years ago* include/sys/ioctl.h: Add some linux defines.
cgf [Fri, 29 Jul 2005 15:26:12 +0000 (15:26 +0000)]
* include/sys/ioctl.h: Add some linux defines.

19 years ago* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.
cgf [Fri, 29 Jul 2005 14:33:47 +0000 (14:33 +0000)]
* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.

19 years ago* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
cgf [Fri, 29 Jul 2005 14:29:30 +0000 (14:29 +0000)]
* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
thread before assigning it.

19 years ago* pinfo.cc (pinfo::init): Sleep before retrying open_shared().
cgf [Fri, 29 Jul 2005 14:25:24 +0000 (14:25 +0000)]
* pinfo.cc (pinfo::init): Sleep before retrying open_shared().

19 years ago* fork.cc (fork_parent): Fix null deref if pinfo creation fails.
cgf [Fri, 29 Jul 2005 14:22:53 +0000 (14:22 +0000)]
* fork.cc (fork_parent): Fix null deref if pinfo creation fails.

19 years ago* peXXigen.c (pe_print_edata): Compute the size of the export table from the
nickc [Fri, 29 Jul 2005 14:06:56 +0000 (14:06 +0000)]
* peXXigen.c (pe_print_edata): Compute the size of the export table from the
  size field in the DataDictionary and not the size of the section.  Some
  linkers embed the export table inside a larger section.

19 years ago(m32r_check_fixup): Fixed X_op check.
nickc [Fri, 29 Jul 2005 13:51:58 +0000 (13:51 +0000)]
(m32r_check_fixup): Fixed X_op check.

19 years ago* ldmain.c (main): Allow -shared and -static to be used together.
nickc [Fri, 29 Jul 2005 13:32:45 +0000 (13:32 +0000)]
* ldmain.c (main): Allow -shared and -static to be used together.
* ld.texinfo (-static): Mention that it is allowed with -shared.

19 years ago * elf-bfd.h (struct elf_backend_data): Add action_discarded.
amodra [Fri, 29 Jul 2005 02:45:59 +0000 (02:45 +0000)]
* elf-bfd.h (struct elf_backend_data): Add action_discarded.
(enum action_discarded): Move from..
* elflink.c (enum action_discarded): ..here.
(_bfd_elf_default_action_discarded): Rename from elf_action_discarded.
Remove target specific section checks.
(elf_link_input_bfd): Adjust.
* elfxx-target.h (elf_backend_action_discarded): Define.
(elfNN_bed): Init new field.
* bfd-in.h (_bfd_elf_default_action_discarded): Declare.
* bfd-in2.h: Regenerate.
* elf-hppa.h (elf_hppa_action_discarded): New function.
* elf32-hppa.c (elf_backend_action_discarded): Define.
* elf64-hppa.c (elf_backend_action_discarded): Define.
* elf32-ppc.c (ppc_elf_action_discarded): New function.
(elf_backend_action_discarded): Define.

19 years ago*** empty log message ***
gdbadmin [Fri, 29 Jul 2005 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 29 Jul 2005 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago PR gas/336
danglin [Thu, 28 Jul 2005 20:32:20 +0000 (20:32 +0000)]
PR gas/336
  * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
and pitlb.

19 years ago* ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
dj [Thu, 28 Jul 2005 20:08:14 +0000 (20:08 +0000)]
* ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
unary & address operator, as that breaks GCC's strict aliasing
rules.

19 years ago* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
cgf [Thu, 28 Jul 2005 17:03:29 +0000 (17:03 +0000)]
* cygmalloc.h (MSPACES): Define.  This dropped through the cracks after the
last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.

19 years ago2005-07-28 Earnie Boyd <earnie@users.sf.net>
earnie [Thu, 28 Jul 2005 11:09:35 +0000 (11:09 +0000)]
2005-07-28  Earnie Boyd  <earnie@users.sf.net>

* include/winnt.h (SUBLANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN):
Correct their values.
Thanks to: Daniel K. O. <danielosmari at users dont sf dot net>

19 years ago*** empty log message ***
gdbadmin [Thu, 28 Jul 2005 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 28 Jul 2005 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago * lib/ld-lib.exp (run_ld_link_exec_tests): Add new parameter
bje [Wed, 27 Jul 2005 21:29:09 +0000 (21:29 +0000)]
* lib/ld-lib.exp (run_ld_link_exec_tests): Add new parameter
${targets_to_xfail} that is applied for each test item.
* ld-elf/elf.exp: Pass *-*-netbsdelf* as an xfailed target.

19 years ago * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
mmitchel [Wed, 27 Jul 2005 20:22:35 +0000 (20:22 +0000)]
* Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET.
* Makefile.in: Regenerated.

19 years ago * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
mmitchel [Wed, 27 Jul 2005 18:55:59 +0000 (18:55 +0000)]
* mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.

19 years agoRemove bogus ChangeLog entry
mmitchel [Wed, 27 Jul 2005 18:55:36 +0000 (18:55 +0000)]
Remove bogus ChangeLog entry

19 years ago * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
mmitchel [Wed, 27 Jul 2005 18:00:57 +0000 (18:00 +0000)]
* config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.

* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
(CFLAGS_FOR_TARGET): Use it.
(CXXFLAGS_FOR_TARGET): Likewise.
* Makefile.in: Regenerated.
* configure.in (--with-build-sysroot): New option.
* configure: Regenerated.

19 years ago* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.
cgf [Wed, 27 Jul 2005 17:35:15 +0000 (17:35 +0000)]
* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.

19 years ago* gendef: Use nocr to remove \r's from input. gendef (nocr): New function.
cgf [Wed, 27 Jul 2005 16:16:47 +0000 (16:16 +0000)]
* gendef: Use nocr to remove \r's from input.  gendef (nocr): New function.

19 years ago* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
cgf [Wed, 27 Jul 2005 14:33:05 +0000 (14:33 +0000)]
* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
(fhandler_dev_clipboard::fixup_after_exec): Don't call close here.  Just set
variables directly.

19 years ago2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 27 Jul 2005 14:08:06 +0000 (14:08 +0000)]
2007-07-27  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (handle_large_common): Declare only for ELF.

19 years ago * elflink.c (fix_syms): Handle symbols defined in input sections.
amodra [Wed, 27 Jul 2005 08:32:52 +0000 (08:32 +0000)]
* elflink.c (fix_syms): Handle symbols defined in input sections.

19 years agoinclude/opcode/
jbeulich [Wed, 27 Jul 2005 07:04:30 +0000 (07:04 +0000)]
include/opcode/
2005-07-27  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add comment to movd. Use LongMem for all
movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers.
Add movq-s as 64-bit variants of movd-s.

19 years agobfd/
jbeulich [Wed, 27 Jul 2005 07:01:24 +0000 (07:01 +0000)]
bfd/
2005-07-27  Jan Beulich  <jbeulich@novell.com>

* elf64-x86-64.c (R_X86_64_standard, R_X86_64_vt_offset): New.
(elf64_x86_64_info_to_howto): Use them.

19 years agogas/
jbeulich [Wed, 27 Jul 2005 06:32:44 +0000 (06:32 +0000)]
gas/
2005-07-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
int.
(unw_p_record): Remove unused/redundant fields imask and rmask.
Combine spoff and pspoff into a union. Combine gr and br into a
union. Change type of grmask and brmask to unsigned char. Change type
of frmask to unsigned int.
(unw_x_record): Combine spoff, pspoff, and treg into a union.
* config/tc-ia64.c (unwind): New field 'pending_saves'.
(check_pending_save): New.
(alloc_record): Clear out entire record.
(output_psp_gr): Use renamed structure fields.
(output_psp_sprel): Likewise.
(output_rp_gr): Likewise.
(output_rp_br): Likewise.
(output_rp_psprel): Likewise.
(output_rp_sprel): Likewise.
(output_pfs_gr): Likewise.
(output_pfs_psprel): Likewise.
(output_pfs_sprel): Likewise.
(output_preds_gr): Likewise.
(output_preds_psprel): Likewise.
(output_preds_sprel): Likewise.
(output_spill_base): Likewise.
(output_unat_gr): Likewise.
(output_unat_psprel): Likewise.
(output_unat_sprel): Likewise.
(output_lc_gr): Likewise.
(output_lc_psprel): Likewise.
(output_lc_sprel): Likewise.
(output_fpsr_gr): Likewise.
(output_fpsr_psprel): Likewise.
(output_fpsr_sprel): Likewise.
(output_priunat_gr): Likewise.
(output_priunat_psprel): Likewise.
(output_priunat_sprel): Likewise.
(output_bsp_gr): Likewise.
(output_bsp_psprel): Likewise.
(output_bsp_sprel): Likewise.
(output_bspstore_gr): Likewise.
(output_bspstore_psprel): Likewise.
(output_bspstore_sprel): Likewise.
(output_rnat_gr): Likewise.
(output_rnat_psprel): Likewise.
(output_rnat_sprel): Likewise.
(output_spill_psprel): Likewise.
(output_spill_sprel): Likewise.
(output_spill_reg): Likewise.
(output_fr_mem): Likewise. Allocate one unwind record per set mask
bit.
(output_frgr_mem): Likewise.
(output_gr_mem): Likewise.
(output_br_mem): Likewise.
(output_gr_gr): Likewise.
(output_br_gr): Likewise.
(fixup_unw_records): Likewise.
(process_one_record): Use renamed structure fields. For gr_gr and
br_gr, collect mask from chain of records before output.
(in_prologue): Simplify and eliminate early returns. Call
check_pending_save.
(in_body): Simplify and eliminate early returns.
(dot_body): Call check_pending_save.
(md_assemble): Update comment. Deal with pending saves.

gas/testsuite/
2005-07-27  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/unwind-bad.l: Uncomment patterns matching new warnings.
* gas/ia64/unwind-ok.d: Correct expectations.

19 years ago* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
nickrob [Wed, 27 Jul 2005 02:21:16 +0000 (02:21 +0000)]
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.

* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".

* gdb.mi/basics.c (callee4): Add integer array D[3]...

* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values"  Improve doc strings and
comments.

19 years ago* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
nickrob [Wed, 27 Jul 2005 02:21:01 +0000 (02:21 +0000)]
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.

* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".

* gdb.mi/basics.c (callee4): Add integer array D[3]...

* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values"  Improve doc strings and
comments.

19 years ago* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
nickrob [Wed, 27 Jul 2005 02:20:45 +0000 (02:20 +0000)]
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.

* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".

* gdb.mi/basics.c (callee4): Add integer array D[3]...

* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values"  Improve doc strings and
comments.

19 years ago* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
nickrob [Wed, 27 Jul 2005 02:20:17 +0000 (02:20 +0000)]
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.

* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".

* gdb.mi/basics.c (callee4): Add integer array D[3]...

* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values"  Improve doc strings and
comments.

19 years ago*** empty log message ***
nickrob [Wed, 27 Jul 2005 02:18:24 +0000 (02:18 +0000)]
*** empty log message ***

19 years ago * ld-elfweak/size2a.s: Extend test to check size for two weaks.
amodra [Wed, 27 Jul 2005 00:08:37 +0000 (00:08 +0000)]
* ld-elfweak/size2a.s: Extend test to check size for two weaks.
* ld-elfweak/size2b.s: Likewise.
* ld-elfweak/size2.d: Update.

19 years ago*** empty log message ***
gdbadmin [Wed, 27 Jul 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 27 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
hp [Tue, 26 Jul 2005 20:37:13 +0000 (20:37 +0000)]
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
used.

19 years ago * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
hp [Tue, 26 Jul 2005 20:35:49 +0000 (20:35 +0000)]
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
used.

19 years ago* i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.
kettenis [Tue, 26 Jul 2005 20:02:52 +0000 (20:02 +0000)]
* i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.
(i386obsd_sigtramp_p): Deal with an arbitrary number of possible
offsets.
(i386obsd_aout_supply_regset): Avoid bogus cast.

19 years agogas/
jbeulich [Tue, 26 Jul 2005 15:34:07 +0000 (15:34 +0000)]
gas/
2005-07-26  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (optimize_imm): Calculate candidate immediates
mask from guessed suffix, but mask out other immediate types only
if at least on candidate is valid for the insn.

gas/testsuite/
2005-07-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/immed32.[sd]: New.
* gas/i386/immed64.[sd]: New.
* gas/i386/i386.exp: Run new tests.

19 years ago * elflink.c (_bfd_elf_merge_symbol): Skip weak redefinition
amodra [Tue, 26 Jul 2005 15:19:34 +0000 (15:19 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Skip weak redefinition
regardless of strength of previous definition.

19 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
amodra [Tue, 26 Jul 2005 12:06:38 +0000 (12:06 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
(bfd_elf_gc_sections): Allow -gc-sections when -shared.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared.

19 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
amodra [Tue, 26 Jul 2005 12:06:29 +0000 (12:06 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
(bfd_elf_gc_sections): Allow -gc-sections when -shared.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared.

19 years ago * elflink.c (elf_gc_sweep): Move gcc_except_table code..
amodra [Tue, 26 Jul 2005 11:47:02 +0000 (11:47 +0000)]
* elflink.c (elf_gc_sweep): Move gcc_except_table code..
(bfd_elf_gc_sections): ..to here.

19 years agomissed from 2005-07-18 commit
amodra [Tue, 26 Jul 2005 11:08:59 +0000 (11:08 +0000)]
missed from 2005-07-18 commit

19 years ago[bfd]
dj [Tue, 26 Jul 2005 03:21:48 +0000 (03:21 +0000)]
[bfd]
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

* elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16,
R_M32C_HI8, R_M32C_HI16.
(m32c_reloc_map): Likewise.
(m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16.

[cpu]
* m32c.opc (parse_unsigned8): Add %dsp8().
(parse_signed8): Add %hi8().
(parse_unsigned16): Add %dsp16().
(parse_signed16): Add %lo16() and %hi16().
(parse_lab_5_3): Make valuep a bfd_vma *.

[gas]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
Support %mod() modifiers from opcodes.
* doc/c-m32c.texi (M32C-Modifiers): New section.

[include/elf]

* m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.

[opcodes]
* m32c-asm.c Regenerate.
* m32c-dis.c Regenerate.

19 years ago* include/byteswap.h: New file.
cgf [Tue, 26 Jul 2005 00:55:39 +0000 (00:55 +0000)]
* include/byteswap.h: New file.

19 years agoupdate copyright
cgf [Tue, 26 Jul 2005 00:38:54 +0000 (00:38 +0000)]
update copyright

19 years agodaily update
amodra [Tue, 26 Jul 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 26 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* include/cygwin/types.h: Define loff_t.
cgf [Mon, 25 Jul 2005 21:46:34 +0000 (21:46 +0000)]
* include/cygwin/types.h: Define loff_t.

19 years ago* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
kettenis [Mon, 25 Jul 2005 21:10:59 +0000 (21:10 +0000)]
* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
New function.
(inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
PTRACE_FORK event flag.
(inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
event.
(inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.

19 years ago* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
kettenis [Mon, 25 Jul 2005 20:42:24 +0000 (20:42 +0000)]
* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
defined.
* inf-ptrace.c: Tweak comments.
(inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
(inf_ptrace_mourn_inferior): Call waitpid.
(inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
(inf_ptrace_detach): Use pid_t.  Use ptid_get_pid instead of
PIDGET.
(inf_ptrace_kill): Rename from inf_ptrace_kill_inferior.  Use
pid_t.  Use ptid_get_pid instead of PIDGET.
(inf_ptrace_kill): Call waitpid instead of wait.
(inf_ptrace_resume): Use pid_t.  Use ptid_get_pid instead of
PIDGET.
(inf_ptrace_wait): Use waitpid instead wait.  Use pid_t.  Don't
call target_has_exited or target_thread_alive.  Properly ignore
terminated detached child processes.
(inf_ptrace_has_exited): Remove function.
(inf_ptrace_xfer_partial): Use pid_t.  Use ptid_get_pid instead of
PIDGET.  Use gdb_byte instead of `unsigned char'.
(inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
(inf_ptrace_pid_to_str): Remove function.
(inf_ptrace_target): Use inf_ptrace_kill instead of
inf_ptrace_kill_inferior.  Use normal_pid_to_str instead of
inf_ptrace_pid_to_str.  Don't set to_has_exited.
(inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
long lines.

19 years ago* inf-ptrace.c: Reorder functions.
kettenis [Mon, 25 Jul 2005 20:19:34 +0000 (20:19 +0000)]
* inf-ptrace.c: Reorder functions.
(inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
(inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
(inf_ptrace_target): Don't set to_open,
to_reported_exec_events_per_call, to_can_run, to_post_attach,
to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
to_has_registers, to_has_execution, to_magic.  Reorder remaining
initializations.

19 years agobfd/
hjl [Mon, 25 Jul 2005 15:41:00 +0000 (15:41 +0000)]
bfd/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_large_com_section): New.
* elf.c (_bfd_elf_large_com_section): New. Defined.

* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New.
(elf64_x86_64_elf_section_from_bfd_section): New.
(elf64_x86_64_symbol_processing): New.
(elf64_x86_64_common_definition): New.
(elf64_x86_64_common_section_index): New.
(elf64_x86_64_common_section): New.
(elf64_x86_64_merge_symbol): New.
(elf64_x86_64_additional_program_headers): New.
(elf64_x86_64_special_sections): New.
(elf_backend_section_from_bfd_section): New. Defined.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_common_section_index): Likewise.
(elf_backend_common_section): Likewise.
(elf_backend_common_definition): Likewise.
(elf_backend_merge_symbol): Likewise.
(elf_backend_special_sections): Likewise.
(elf_backend_additional_program_headers): Likewise.

binutils/

2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
(get_symbol_index_type): Likewise.
(get_elf_section_flags): Handle SHF_X86_64_LARGE.

gas/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
defined.
(elf_com_section_ptr): New.
(elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
(elf_common_parse): Make it global. Use elf_com_section_ptr
instead of bfd_com_section_ptr.
(obj_elf_change_section): Handle x86-64 large bss sections.

* config/obj-elf.h (elf_com_section_ptr): New.
(elf_common_parse): New.

* config/tc-i386.c (handle_large_common): New.
(md_pseudo_table): Add "largecomm".
(x86_64_section_letter): New.
(x86_64_section_word): New.

* config/tc-i386.h (x86_64_section_word): New.
(x86_64_section_letter): New.
(md_elf_section_letter): New. Defined.
(md_elf_section_word): Likewise.

include/elf/

2005-07-25  Jan Hubicka  <jh@suse.cz>

* x86-64.h (SHN_X86_64_LCOMMON): New.
(SHF_X86_64_LARGE): New.

ld/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.

* scripttempl/elf.sc: Updated for large section support.

19 years ago2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 25 Jul 2005 15:35:34 +0000 (15:35 +0000)]
2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add common_definition,
common_section_index, common_section, and merge_symbol.
(_bfd_elf_common_definition): New.
(_bfd_elf_common_section_index): New.
(_bfd_elf_common_section): New.

* elf.c (elf_fake_sections): Don't clear sh_flags.

* elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol
if it is available.
(is_global_data_symbol_definition): Call backend
common_definition instead of checking SHN_COMMON.
(elf_link_add_object_symbols): Likewise.
(elf_link_output_extsym): Call backend common_section_index
for common section index.
(_bfd_elf_common_definition): New.
(_bfd_elf_common_section_index): New.
(_bfd_elf_common_section): New.

* elfxx-target.h (elf_backend_common_definition): New.
(elf_backend_common_section_index): New.
(elf_backend_common_section): New.
(elf_backend_merge_symbol): New.
(elfNN_bed): Initialize common_definition, common_section_index,
common_section, and merge_symbol.

* section.c (BFD_FAKE_SECTION): New.
(STD_SECTION): Use it.
* bfd-in2.h: Regenerated.

19 years agoClarify ANSI, not POSIX, terminal escapes in ChangeLog
mmitchel [Mon, 25 Jul 2005 15:13:33 +0000 (15:13 +0000)]
Clarify ANSI, not POSIX, terminal escapes in ChangeLog

19 years ago * input.c (rl_getc): Use getch to read console input on
mmitchel [Mon, 25 Jul 2005 15:09:31 +0000 (15:09 +0000)]
* input.c (rl_getc): Use getch to read console input on
Windows.
* readline.c (bind_arrow_keys_internal): Translate
Windows keysequences into POSIX key sequences.
* rldefs.h (NO_TTY_DRIVER): Define on MinGW.
* rltty.c: Conditionalize on NO_TTY_DRIVER throughout.

19 years ago * configure.ac: On MinGW, do not require a termcap library, and
mmitchel [Mon, 25 Jul 2005 15:08:38 +0000 (15:08 +0000)]
* configure.ac: On MinGW, do not require a termcap library, and
use win32-termcap.c.
* configure: Regenerated.
* win32-termcap.c: New file.

19 years ago2005-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Mon, 25 Jul 2005 13:06:48 +0000 (13:06 +0000)]
2005-07-25  Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/winuser.h (HSHELL_RUDEAPPACTIVATED): Define.

19 years agodaily update
amodra [Mon, 25 Jul 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 25 Jul 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * ser-tcp.c (close): Define as a function-like macro on MinGW.
mmitchel [Sun, 24 Jul 2005 23:02:38 +0000 (23:02 +0000)]
* ser-tcp.c (close): Define as a function-like macro on MinGW.

19 years ago * chew.c: Include <string.h>.
drow [Sun, 24 Jul 2005 16:57:42 +0000 (16:57 +0000)]
* chew.c: Include <string.h>.

19 years ago2005-07-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sun, 24 Jul 2005 13:57:01 +0000 (13:57 +0000)]
2005-07-24  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Wrap install between unstage and stage
* Makefile.in: Regenerate.

19 years agodaily update
amodra [Sun, 24 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 24 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-07-23 Olaf Hering <olh@suse.de>
hjl [Sat, 23 Jul 2005 15:42:51 +0000 (15:42 +0000)]
2005-07-23  Olaf Hering <olh@suse.de>

* elflink.c (elf_link_input_bfd): Add '\n' for linker einfo
callback.

19 years agomerge from gcc
dj [Sat, 23 Jul 2005 15:17:18 +0000 (15:17 +0000)]
merge from gcc

19 years agodaily update
amodra [Sat, 23 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 23 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* chew.c: Include stdlib.h.
dj [Fri, 22 Jul 2005 23:54:56 +0000 (23:54 +0000)]
* chew.c: Include stdlib.h.

19 years ago * chew.c: Don't include sysdep.h.
kazu [Fri, 22 Jul 2005 18:16:15 +0000 (18:16 +0000)]
* chew.c: Don't include sysdep.h.

19 years agoRemove special case handling for rtems targets that are sufficiently handled by
nickc [Fri, 22 Jul 2005 10:34:27 +0000 (10:34 +0000)]
Remove special case handling for rtems targets that are sufficiently handled by
the default rtems targets.