Steve Ellcey
49c96104aa
* warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
...
if compiler is not GCC.
* configure: Regenerate
2005-11-07 22:14:12 +00:00
Steve Ellcey
76f703bfeb
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
2005-11-07 21:55:14 +00:00
Paul Gilliam
3d8476bc1b
2005-10-24 Paul Gilliam <pgilliam@us.ibm.com
...
* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
ppc_sysv_abi_return_value() to handle a vector return value.
2005-11-07 20:37:58 +00:00
Dave Anglin
8973a37d31
PR gas/1804
...
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
output constant data.
2005-11-07 18:53:10 +00:00
Mark Mitchell
a0b7da7978
* doc/Makefile.am (asconfig.texi): Set top_srcdir.
...
* doc/Makefile.in: Regenerated.
* doc/as.texinfo: Document "@FILE".
2005-11-07 18:07:12 +00:00
Nick Clifton
422fee64f8
PR binutils/1568
...
* config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x'
attribute. Remember the actions of the 'w' and 'n' attributes and do not
allow the 'x','s' or 'd' attributes to change them.
2005-11-07 17:57:00 +00:00
DJ Delorie
718c0ded1f
merge from gcc
2005-11-07 16:36:16 +00:00
Andrew Stubbs
f17517ea06
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* main.h (return_child_result, return_child_result_value): Declare.
* infrun.c: Include main.h.
(print_stop_reason): Remove declaration of return_child_result_value.
* top.c: Include main.h.
(quit_force): Remove declarations of return_child_result_value and
return_child_result.
* Makefile.in (top.o, infrun.o): Add main.h to dependencies.
2005-11-07 15:27:07 +00:00
Andrew Stubbs
eef5702201
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.
2005-11-07 15:12:48 +00:00
Andrew Stubbs
8a5a3c8298
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
Add new options --eval-command and alias -ex.
Adjust --command to use the new struct cmdarg.
Execute commands given with --eval-command.
(print_gdb_help): Add new options --eval-command, -ex and mention -x.
docs/
* gdb.texinfo (Choosing files): Add --eval-command.
2005-11-07 13:56:48 +00:00
Andrew Stubbs
3b49312243
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* main.c (main): Use INTERP_TUI instead of "tui".
Set interpreter to INTERP_INSIGHT when '-w' given.
* interps.h (INTERP_INSIGHT): New define.
* tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
of "tui".
2005-11-07 13:40:08 +00:00
Andrew Stubbs
cc4349edfd
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
...
* main.c (main): Use INTERP_TUI instead of "tui".
Set interpreter to INTERP_INSIGHT when '-w' given.
* interps.h (INTERP_INSIGHT): New define.
* tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
of "tui".
2005-11-07 12:46:38 +00:00
Jan Beulich
5ca0ee011b
gas/testsuite/
...
2005-11-07 Jan Beulich <jbeulich@novell.com>
* gas/all/redef2.[sd]: New.
* gas/all/gas.exp: Run new test.
* gas/elf/redef.d: New.
* gas/elf/elf.exp: Run new test.
2005-11-07 08:04:56 +00:00
Alan Modra
5157cd8a4f
* gas/i386/divide.s: Test line comment starting with '/'.
...
* gas/i386/divide.d: Pass --divide to gas.
* gas/i386/intelok.d: Likewise.
* gas/i386/i386.exp (divide): Run for all targets.
2005-11-07 06:03:50 +00:00
Alan Modra
b3b91714e2
* config/tc-i386.h (tc_comment_chars): Define.
...
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.
2005-11-07 06:01:18 +00:00
Alan Modra
fb7ccfc159
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
...
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
2005-11-07 02:15:47 +00:00
Alan Modra
0e470c55e8
* macro.c (buffer_and_nest): Skip labels regardless of
...
NO_PSEUDO_DOT and flag_m68k_mri.
2005-11-07 01:47:54 +00:00
Alan Modra
3e7d61b225
* i386-dis.c (ckprefix): Handle rex on fwait. Don't print
...
ignored rex prefixes here.
(print_insn): Instead, handle them similarly to fwait followed
by non-fp insns.
2005-11-07 00:19:12 +00:00
Dave Anglin
a1a90f0396
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
2005-11-07 00:08:35 +00:00
gdbadmin
4c85b6aa27
*** empty log message ***
2005-11-07 00:00:33 +00:00
Alan Modra
70487fb206
* ldmain.c (main): Add \n to error message.
2005-11-06 23:12:36 +00:00
Alan Modra
5baab85597
* gas/z80/z80.exp: Added "suffix" test.
...
* gas/z80/suffix.s: New file.
* gas/z80/suffix.d: New file.
2005-11-06 23:04:53 +00:00
Alan Modra
fee9cbc776
* expr.c (integer_constant): Match only 'B' as binary suffix if
...
NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
otherwise.
2005-11-06 23:04:10 +00:00
Alan Modra
a6c44b3307
daily update
2005-11-06 23:00:06 +00:00
gdbadmin
a7a697d6c4
*** empty log message ***
2005-11-06 00:00:04 +00:00
Alan Modra
72427426f7
daily update
2005-11-05 23:00:06 +00:00
gdbadmin
6f18b2ad5b
*** empty log message ***
2005-11-05 00:00:33 +00:00
Alan Modra
bc557b992b
daily update
2005-11-04 23:00:07 +00:00
H.J. Lu
701aa79212
2005-11-04 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/i386/padlock.d: Support 64bit BFD.
2005-11-04 19:53:02 +00:00
Alexandre Oliva
b54788f893
gas/ChangeLog:
...
* read.c (s_weakref): Do not permit redefinitions.
* symbols.c (colon): Do not permit redefinitions of equated
symbols.
gas/testsuite/ChangeLog:
* gas/all/gas.exp: Remove weakref xfail. Run weakref4.s.
* gas/all/weakref1.s: Move redefinition bits to...
* gas/all/weakref4.s: ... new file.
* gas/all/weakref1.d: Remove command moved to weakref1u. Adjust
remaining command for leading tabs. Regenerate.
* gas/all/weakref1l.d: Regenerate.
* gas/all/weakref1u.d: Likewise.
* gas/all/wealref1w.d: Likewise.
2005-11-04 19:45:25 +00:00
Alan Modra
384a9dda99
* ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
...
(output_statement_newfunc): Rewrite.
(lang_output_section_find_1): Merge into..
(lang_output_section_find): ..here.
(lang_output_section_statement_lookup_1): Rewrite to handle
multiple sections with the same name.
(output_statement_table_init): Commonise error message.
(lang_init, open_output): Likewise.
2005-11-04 13:26:53 +00:00
Jan Beulich
774d73da58
gas/testsuite/
...
2005-11-04 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: xfail weakref dump tests for all targets.
2005-11-04 13:25:59 +00:00
Andrew Stubbs
4b0ad76243
2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
...
* infrun.c (print_stop_reason): Set return_child_result_value on exit.
* main.c (return_child_result): New variable.
(return_child_result_value): Likewise.
(captured_main): Add option --return-child-result.
Replace call to target_detach and exit (in batch mode) with quit_force.
(print_gdb_help): Add option --return-child-result.
* top.c (quit_force): Return child result if appropriate.
docs/
* gdb.texinfo (Choosing modes): Add --return-child-result.
2005-11-04 11:49:12 +00:00
Elena Zannoni
f6235d4cfa
2005-11-03 Wu Zhou <woodzltc@cn.ibm.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (read_structure_type): Add IBM XL C++
specific code to set TYPE_VPTR_FIELDNO and TYPE_VPTR_BASETYPE
of a virtual class if a field named "__vfp" is found.
2005-11-04 02:50:30 +00:00
Elena Zannoni
e2126a1475
2005-11-03 Jim Blandy <jimb@redhat.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-04 02:48:51 +00:00
Elena Zannoni
6a83a1e604
2005-11-03 Jim Blandy <jimb@redhat.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* dwarf2read.c (file_full_name): Cope with file numbers that are
out of range for the given line header.
2005-11-04 02:46:45 +00:00
Elena Zannoni
6255354386
2005-11-03 Daniel Jacobowitz <dan@codesourcery.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* elfread.c (elf_symtab_read): Add number_of_symbols and
symbol_table as arguments. Do not load the symbol table
here.
(elf_symfile_read): Load the static and dynamic symbol tables
here, before calling elf_symtab_read. Also load any synthetic
symbols and process those.
2005-11-04 02:44:25 +00:00
Elena Zannoni
23572ecadc
2005-11-03 Andrew Cagney <cagney@gnu.org>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Handle DW_OP_piece
reads.
2005-11-04 02:42:34 +00:00
gdbadmin
9b1771bc2b
*** empty log message ***
2005-11-04 00:00:03 +00:00
Alan Modra
a3a1086b81
daily update
2005-11-03 23:00:05 +00:00
Daniel Jacobowitz
76f50ad1ce
* linux-nat.c (linux_nat_resume): Add more debugging messages. Do
...
not short-circuit resuming all threads if the signal will be ignored
in linux_nat_wait.
2005-11-03 19:31:38 +00:00
Daniel Jacobowitz
2e6f4fae07
* configure.in: Check for fopen64.
...
* libbfd-in.h (real_fopen): New prototype.
* configure, config.in, libbfd.h: Regenerated.
* bfdio.c (real_fopen): New function.
* opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it.
* cache.c (bfd_open_file): Likewise.
2005-11-03 16:06:11 +00:00
Paul Brook
6f2942edf0
2005-11-03 Paul Brook <paul@codesourcery.com>
...
* scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
* scripttempl/armbpabi.sc: Make init/fini array consistent with
elf.sc.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
2005-11-03 15:01:58 +00:00
Thiemo Seufer
6ece8836a6
* elfxx-mips.c (mips_elf_calculate_relocation): Handle only
...
forced local symbols here.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment.
2005-11-03 11:45:14 +00:00
Alan Modra
7fabd0295e
* ldlang.h (lang_output_section_statement_type): Rearrange. Remove
...
memspec. Make "processed" a bitfield.
(lang_data_statement_type, lang_reloc_statement_type): Rename
output_vma to output_offset.
* ldlang.c (lang_output_section_statement_lookup_1): Init
all_input_readonly. Don't init memspec.
(init_os): Remove incorrect comment.
(print_data_statement, print_reloc_statement): Adjust for
lang_data_statement_type and lang_reloc_statement_type change.
(lang_size_sections_1, lang_add_reloc): Likewise.
* ldwrite.c (build_link_order): Likewise.
2005-11-03 02:54:10 +00:00
Alan Modra
3a800eb947
* elf.c (elf_fake_sections): When calculating tbss size, just use
...
the last link_order.
(assign_file_positions_for_segments): Likewise.
* elflink.c (bfd_elf_final_link): Likewise.
(elf_reloc_link_order): Correct comment.
2005-11-03 02:53:38 +00:00
Alan Modra
6ed89c0008
* bfdlink.h (struct bfd_link_order): Tweak comment.
2005-11-03 02:52:51 +00:00
gdbadmin
a83b3ee0ec
*** empty log message ***
2005-11-03 00:00:03 +00:00
Alan Modra
9c68e8c556
daily update
2005-11-02 23:00:05 +00:00
Daniel Jacobowitz
011a70c2ea
* configure.srv (x86_64-*-linux*): Turn on thread_db support.
...
* linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len)
(x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New.
(the_low_target): Update.
2005-11-02 19:54:44 +00:00