Jan Kratochvil [Sun, 7 Nov 2010 22:25:16 +0000 (22:25 +0000)]
gdb/
* infrun.c (restore_inferior_thread_state): Use
discard_inferior_thread_state to free the data.
(discard_inferior_thread_state): xfree also siginfo_data.
gdbadmin [Sun, 7 Nov 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 6 Nov 2010 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 6 Nov 2010 10:47:32 +0000 (10:47 +0000)]
* ld-plugin/plugin-6.d: Relax file name match.
gdbadmin [Sat, 6 Nov 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 5 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
Cary Coutant [Fri, 5 Nov 2010 21:14:33 +0000 (21:14 +0000)]
PR gold/10708
* copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the
object when reading from the file.
* gold.cc (queue_middle_tasks): Hold a lock on the object when doing
second layout pass.
* icf.cc (preprocess_for_unique_sections): Hold a lock on the object
when reading section contents.
(get_section_contents): Likewise.
(icf::find_identical_sections): Likewise.
* mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the
object when reading from the file.
* plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on
the object when doing deferred section layout.
DJ Delorie [Fri, 5 Nov 2010 18:06:02 +0000 (18:06 +0000)]
merge from gcc
Richard Sandiford [Fri, 5 Nov 2010 17:21:06 +0000 (17:21 +0000)]
Fix spacing.
Richard Sandiford [Fri, 5 Nov 2010 17:20:17 +0000 (17:20 +0000)]
ld/
2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr>
* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
Doug Evans [Fri, 5 Nov 2010 17:07:36 +0000 (17:07 +0000)]
* gdb.python/py-param.exp: Delete, contents moved to ...
* gdb.python/py-parameter.exp: ... here. New file.
Add test for gdb.parameter ("directories").
Doug Evans [Fri, 5 Nov 2010 16:55:40 +0000 (16:55 +0000)]
Make gdb.parameter("directories") work.
New command "set directories".
* NEWS: Document them.
* source.c (set_directories_command): New function.
(show_directories_1): Renamed from show_directories.
All callers updated.
(show_directories_command): New function.
(_initialize_source): Install "directories" as a set/show
variable instead of just a show command.
doc/
* gdb.texinfo (Source Path): Document "set directories".
testsuite/
* gdb.base/help.exp: Update expected output.
* gdb.python/py-parameter.exp: New file.
Ken Werner [Fri, 5 Nov 2010 14:31:30 +0000 (14:31 +0000)]
gdb:
* NEWS: Mention OpenCL C language support.
* Makefile.in (SFILES): Add opencl-lang.c.
(COMMON_OBS): Add opencl-lang.o.
* opencl-lang.c: New File
* defs.h (enum language): Add language_opencl.
* dwarf2read.c (read_file_scope): Handle DW_AT_producer for the
IBM XL C OpenCL compiler.
* c-lang.h: Include "parser-defs.h".
(evaluate_subexp_c): Declare.
* c-lang.c (evaluate_subexp_c): Remove the static qualifier.
(c_op_print_tab): Add declaration.
* eval.c (binop_promote): Handle language_opencl.
* c-exp.y: Lookup the primitive types instead of referring to the
builtins.
gdb/testsuite:
* Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
* configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
* configure: Regenerate.
* gdb.opencl/Makefile.in: New File.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/datatypes.cl: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/operators.cl: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
* gdb.opencl/vec_comps.cl: Likewise.
* gdb.opencl/convs_casts.exp: Likewise.
* gdb.opencl/convs_casts.cl: Likewise.
* lib/opencl.exp: Likewise.
* lib/opencl_hostapp.c: Likewise.
* lib/opencl_kernel.cl: Likewise.
* lib/cl_util.c: Likewise.
* lib/cl_util.c: Likewise.
* gdb.base/default.exp (set language): Add "opencl" to the list of
languages.
gdb/doc:
* gdb.texinfo: (Summary) Add mention about OpenCL C language support.
(OpenCL C): New node.
Michael Eager [Fri, 5 Nov 2010 14:09:25 +0000 (14:09 +0000)]
Fix typo in microblaze license.
Joseph Myers [Fri, 5 Nov 2010 13:04:07 +0000 (13:04 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New.
(elf32_tic6x_merge_attributes): Use
_bfd_elf_merge_unknown_attribute_low and
_bfd_elf_merge_unknown_attribute_list.
(elf_backend_obj_attrs_handle_unknown): Define.
ld/testsuite:
* ld-tic6x/attr-unknown-1.d, ld-tic6x/attr-unknown-1000-1.s,
ld-tic6x/attr-unknown-1000-2.s, ld-tic6x/attr-unknown-1024-1.s,
ld-tic6x/attr-unknown-2.d, ld-tic6x/attr-unknown-3.d,
ld-tic6x/attr-unknown-4.d, ld-tic6x/attr-unknown-5.d,
ld-tic6x/attr-unknown-54-1.s, ld-tic6x/attr-unknown-55-a.s,
ld-tic6x/attr-unknown-6.d, ld-tic6x/attr-unknown-7.d,
ld-tic6x/attr-unknown-71-a.s, ld-tic6x/attr-unknown-71-b.s: New
tests.
Joseph Myers [Fri, 5 Nov 2010 13:02:09 +0000 (13:02 +0000)]
* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
_bfd_elf_merge_unknown_attribute_list): Correct test for matching
string attributes.
Alan Modra [Fri, 5 Nov 2010 12:01:48 +0000 (12:01 +0000)]
missed from last commit
Nick Clifton [Fri, 5 Nov 2010 11:08:27 +0000 (11:08 +0000)]
* config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
MAX_REG.
(getprocregp_image): Likewise.
Alan Modra [Fri, 5 Nov 2010 10:50:59 +0000 (10:50 +0000)]
* bin2c.c: Remove internationalization and version report.
* Makefile.am: Update bin2c rule.
* Makefile.in: Regenerate.
Tristan Gingold [Fri, 5 Nov 2010 10:25:11 +0000 (10:25 +0000)]
bfd/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/bfd.pot: Regenerate
binutils/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/binutils.pot: Regenerate
gas/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/gas.pot: Regenerate
* po/POTFILES.in: Regenerate
gprof/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/gprof.pot: Regenerate
ld/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/ld.pot: Regenerate
* po/POTFILES.in: Regenerate
opcodes/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/opcodes.pot: Regenerate
Tristan Gingold [Fri, 5 Nov 2010 08:58:20 +0000 (08:58 +0000)]
bfd/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.21.51
* configure: Regenerate.
Tristan Gingold [Fri, 5 Nov 2010 08:33:51 +0000 (08:33 +0000)]
binutils/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.21.
gas/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.21.
ld/
2010-11-05 Tristan Gingold <gingold@adacore.com>
* NEWS: Add marker for 2.21.
Dave Korn [Fri, 5 Nov 2010 07:23:10 +0000 (07:23 +0000)]
* ld-plugin/plugin.exp (testobjfiles): Dont use HOSTING_CRT0.
(testobjfiles_notext): Likewise.
(libs): Don't use HOSTING_LIBS; fill with default symbol defs instead.
* lib/ld-lib.exp (ld_simple_link_defsyms): Add cygming clause.
Dave Korn [Fri, 5 Nov 2010 07:20:07 +0000 (07:20 +0000)]
* plugin.h (plugin_active_plugins_p): New prototype.
(is_ir_dummy_bfd): Delete prototype.
* plugin.c: Fix formatting issues.
(is_ir_dummy_bfd): Make static.
(plugin_active_plugins_p): New function.
* ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins
are loaded. Always close file descriptor after claim handler returns.
* ldmain.c (add_archive_element): Likewise.
Alan Modra [Fri, 5 Nov 2010 05:56:53 +0000 (05:56 +0000)]
* ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD.
(map_input_to_output_sections): Likewise.
(lang_size_sections_1): Likewise.
(IGNORE_SECTION): Don't test SEC_NEVER_LOAD.
(lang_check_section_addresses): Likewise.
Dave Korn [Fri, 5 Nov 2010 04:59:53 +0000 (04:59 +0000)]
* ChangeLog: Add missing 'PR' designator to previous entry.
Dave Korn [Fri, 5 Nov 2010 04:58:24 +0000 (04:58 +0000)]
* config/obj-coff.c (weak_altname2name): Don't infer from the presence
of a period that the symbol has been already uniquify-d.
(weak_uniquify): Don't worry that the symbol might have been already
uniquify-d.
Alan Modra [Fri, 5 Nov 2010 03:54:21 +0000 (03:54 +0000)]
* ld-elfvers/vers32c.dsym, * ld-elfvers/vers32c.ver: Delete.
* ld-elfvers/vers32d.ver: Delete.
* ld-elfvers/vers.exp: Don't run them.
Jan Kratochvil [Fri, 5 Nov 2010 01:50:18 +0000 (01:50 +0000)]
gdb/
Fix configure --enable-plugins --without-python.
* configure.ac (for ELF support in BFD) <"$plugins" = "yes">: New.
* configure: Regenerate.
Jan Kratochvil [Fri, 5 Nov 2010 01:40:28 +0000 (01:40 +0000)]
gdb/
* solib.c (solib_read_symbols): Call exception_fprintf even without
FROM_TTY. Print also so->so_name.
gdbadmin [Fri, 5 Nov 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Richard Henderson [Thu, 4 Nov 2010 23:41:21 +0000 (23:41 +0000)]
Use spawnve on cygwin.
* configure.ac (AC_CHECK_HEADERS): Add process.h.
(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
* configure, config.in: Rebuild.
* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
Alan Modra [Thu, 4 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
Sami Wagiaalla [Thu, 4 Nov 2010 20:43:25 +0000 (20:43 +0000)]
Fix derived class overload problem.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdbtypes.h (struct rank): Created subrank.
* gdbtypes.c: Initialized subrank for all
'BADNESS' constants.
(distance_to_ancestor): New function.
(is_ancestor): Use distance_to_ancestor.
(is_public_ancestor): Ditto.
(sum_ranks): Handle subrank.
(compare_ranks): Ditto.
(rank_one_type): Subrank base conversions.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/overload.exp: Added test for inheritance
overload.
* gdb.cp/overload.cc: Ditto.
* gdb.cp/oranking.exp: Removed releveant kfails.
Sami Wagiaalla [Thu, 4 Nov 2010 20:26:23 +0000 (20:26 +0000)]
Create and use struct rank.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdbtypes.h: Create struct rank.
Convert all 'BADNESS' macros to const struct rank declarations.
(sum_ranks): New function.
(compare_ranks): New function.
* valops.c (find_oload_champ): Updated.
(classify_oload_match): Use compare_ranks.
Improved comments.
(compare_parameters): Use compare_ranks.
* gdbtypes.c: Initialize 'BADNESS' constants.
(sum_ranks): New function.
(compare_ranks): New function.
(compare_badness): Use compare_ranks.
(rank_function): Use global constants instead of literals.
(rank_one_type): Ditto.
Return struct rank.
Use sum_ranks.
Doug Evans [Thu, 4 Nov 2010 20:18:42 +0000 (20:18 +0000)]
* python/py-prettyprint.c (find_pretty_printer_from_gdb): Fix comment.
(find_pretty_printer): Fix comments.
Jan Kratochvil [Thu, 4 Nov 2010 18:52:11 +0000 (18:52 +0000)]
gdb/testsuite/
* gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
check test_compiler_info.
Maciej W. Rozycki [Thu, 4 Nov 2010 18:00:54 +0000 (18:00 +0000)]
PR ld/10144
* elfxx-mips.c (_bfd_mips_elf_check_relocs)
[R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from
SEC_DEBUGGING sections.
Tristan Gingold [Thu, 4 Nov 2010 16:17:44 +0000 (16:17 +0000)]
2010-11-04 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (vms_write_index): Fix thinko: reverse the loop.
Use bfd_zmalloc instead of bfd_malloc. Fix comment.
Kai Tietz [Thu, 4 Nov 2010 16:03:25 +0000 (16:03 +0000)]
bfd/
2010-11-04 Kai Tietz <kai.tietz@onevision.com>
* coffcode.h (GNU_LINKONCE_WT): New.
(sec_to_styp_flags): Add handling of new debug
section.
(styp_to_sec_flags): Likewise.
ld/
010-11-04 Kai Tietz <kai.tietz@onevision.com>
* scripttempl/pe.sc (.debug_types): New.
* scripttempl/pep.sc: Likewise.
Tristan Gingold [Thu, 4 Nov 2010 13:51:37 +0000 (13:51 +0000)]
2010-11-04 Tristan Gingold <gingold@adacore.com>
* makefile.vms (CFLAGS): Make badalias warnings informational.
* vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer.
Alan Modra [Thu, 4 Nov 2010 12:44:54 +0000 (12:44 +0000)]
* plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd.
Joseph Myers [Thu, 4 Nov 2010 11:35:01 +0000 (11:35 +0000)]
* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
_bfd_elf_merge_unknown_attribute_list): New.
* elf-bfd.h (struct elf_backend_data): Add
obj_attrs_handle_unknown.
(_bfd_elf_merge_unknown_attribute_low,
_bfd_elf_merge_unknown_attribute_list): Declare.
* elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New. Split
out from elf32_arm_merge_eabi_attributes.
(elf32_arm_merge_eabi_attributes): Use
_bfd_elf_merge_unknown_attribute_low and
_bfd_elf_merge_unknown_attribute_list.
(elf_backend_obj_attrs_handle_unknown): Define.
* elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define.
(elfNN_bed): Update initializer.
Hui Zhu [Thu, 4 Nov 2010 04:48:21 +0000 (04:48 +0000)]
2010-11-04 Hui Zhu <teawater@gmail.com>
* tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma.
Alan Modra [Thu, 4 Nov 2010 03:30:05 +0000 (03:30 +0000)]
* config/tc-ppc.c (nop_limit): New var.
(OPTION_NOPS): Define.
(md_longopts): Add --nops.
(md_parse_option): Handle it.
(md_show_usage): Publish.
(ppc_handle_align): Pad with a branch followed by nops if more
than nop_limit nops.
gdbadmin [Thu, 4 Nov 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Wed, 3 Nov 2010 23:20:33 +0000 (23:20 +0000)]
[Ada] move some variables to scope where they are used
I noticed that some variables are only used inside one side of
an if/else blob. So I moved these variables inside that block for
better clarity.
gdb/ChangeLog:
* ada-valprint.c (ada_val_print_array): Move variables `eltlen'
and `len' declaration and computation inside block where they
are being used.
Joel Brobecker [Wed, 3 Nov 2010 23:20:13 +0000 (23:20 +0000)]
[Ada] fix warning when printing empty array
This patch should fix the following regression:
(gdb) print my_table
-$1 = ()
-(gdb) PASS: gdb.ada/null_array.exp: print my_table
+$1 = (warning: unable to get bounds of array, assuming null array
+)
+(gdb) FAIL: gdb.ada/null_array.exp: print my_table
The problem was introduced by a change in val_print_array_elements
which removed a check for the case where the array's high bound
is smaller than the array's low bound (empty array).
This change restores the check and forces the len to zero in that case.
Looking at the patch that caused the regression, I suspect that we may
have other parts that might have been broken (non-zero array low bound?).
gdb/ChangeLog:
* valprint.c (val_print_array_elements): Put back handling of
empty arrays.
Alan Modra [Wed, 3 Nov 2010 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Wed, 3 Nov 2010 17:18:23 +0000 (17:18 +0000)]
PR ld/12001
* ldlang.c (ldlang_def_chain_list): New variable. Contains a list
of symbols defined via the --defsym command line option and
currently waiting assignment.
(insert_defined): Add a defined symbol to the symbol table.
(ldlang_add_def): Add a entry to the ldlang_def_chain_list.
(lang_place_defineds): Walk ldlang_def_chain_list defining the
symbols.
(lang_process): Call lang_place_defineds.
(lang_add_assignment): If the assignment has come from a --defsym
command line option then call lang_add_def.
* ld-script/default-script2.d: Fix expected address for text
section.
PR gold/12001
* script.h (class Symbol_assignment: name): New member. Returns
the name of the symbol.
* scrfipt.cc (Script_options::is_pending_assignment): New member.
Returns true if the given symbol name is on the list of
assignments wating to be processed.
* archive.cc (should_incldue_member): If the symbol is undefined,
check to see if it is on the list of symbols pending assignment.
Dave Korn [Wed, 3 Nov 2010 14:27:06 +0000 (14:27 +0000)]
Sync from gcc/
PR lto/46273
* configure.ac: Remove libelf tests. Build lto-plugin on ELF always
and on other supported platforms whenever LTO is enabled.
* configure: Rebuild.
Ken Werner [Wed, 3 Nov 2010 14:21:58 +0000 (14:21 +0000)]
gdb:
* dwarf2read.c (read_array_type): Read the DW_AT_byte_size from the
DIE and set the length of the type.
* gdbtypes.h (get_array_bounds): Move here from valprint.h.
* gdbtypes.c (get_array_bounds): Move here from valprint.c and
return 0 if the corresponding bounds of the type are undefined.
* valprint.h (get_array_bounds): Move declaration to gdbtypes.h.
* valprint.c (get_array_bounds): Move implementation to gdbtypes.c.
(val_print_array_elements): Use get_array_bounds to compute the number
of array elements instead of dividing the length of the array by the
length of the element types.
* valarith.c (vector_binop): Likewise.
* valops.c (value_cast): Likewise.
* c-valprint.c (c_val_print): Likewise.
* c-typeprint.c (c_type_print_varspec_suffix): Likewise.
gdb/testsuite:
* gdb.base/gnu_vector.exp: Adjust expect messages.
H.J. Lu [Wed, 3 Nov 2010 14:18:43 +0000 (14:18 +0000)]
Properly fold _GLOBAL_OFFSET_TABLE_ in Intel syntax.
gas/
2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/12186
* config/tc-i386-intel.c (i386_intel_fold): Properly fold
_GLOBAL_OFFSET_TABLE_.
gas/testsuite/
2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/12186
* gas/i386/gotpc.s: Add more _GLOBAL_OFFSET_TABLE_ test.
* gas/i386/gotpc.d: Updated.
Ian Lance Taylor [Wed, 3 Nov 2010 14:07:49 +0000 (14:07 +0000)]
* script-sections.cc (Script_sections::find_memory_region): Check
for a NULL output section pointer.
Ken Werner [Wed, 3 Nov 2010 14:06:27 +0000 (14:06 +0000)]
gdb:
* valarith.c (value_pos, value_neg, value_complement): Handle
vector types.
* valops.c (value_one): Likewise.
gdb/testsuite:
* gdb.base/gnu_vector.exp: Add unary operator tests.
Ken Werner [Wed, 3 Nov 2010 13:49:38 +0000 (13:49 +0000)]
gdb:
* value.h (value_non_lval): Declare.
* value.c (value_non_lval): New function.
* eval.c (evaluate_subexp_standard) <UNOP_POSTINCREMENT,
UNOP_POSTDECREMENT>: Call value_non_lval to ensure to return a
non-lvalue.
gdb/testsuite:
* gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
Alan Modra [Wed, 3 Nov 2010 03:22:01 +0000 (03:22 +0000)]
* Makefile.am (eelf64hppa.c): Correct dependencies.
* Makefile.in: Regenerate.
H.J. Lu [Wed, 3 Nov 2010 02:31:02 +0000 (02:31 +0000)]
Don't display bits only used for BFD in abfd->flags.
bfd/
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New.
* bfd-in2.h: Regenerated.
binutils/
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* objdump.c (dump_bfd_header): Don't display
BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
gdbadmin [Wed, 3 Nov 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 2 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
Doug Evans [Tue, 2 Nov 2010 22:44:13 +0000 (22:44 +0000)]
New python module gdb.printing, and new commands info pretty-printer,
enable pretty-printer, disable pretty-printer.
* NEWS: Mention them.
* data-directory/Makefile.in (PYTHON_FILES): Add gdb/printing.py,
gdb/command/__init__.py, gdb/command/pretty_printers.py.
* python/lib/gdb/__init__.py: Install pretty-printer commands.
* python/lib/gdb/printing.py: New file.
* python/lib/gdb/command/__init__.py: New file.
* python/lib/gdb/command/pretty_printers.py: New file.
doc/
* gdb.texinfo (Pretty Printing): Expand into three sections,
introduction, example, and commands.
(Python API): Delete section Disabling Pretty-Printers, merge into
Selecting Pretty-Printers.
(Writing a Pretty-Printer): New section. Move the pretty-printer
example here, and reformat to match python coding style. Add a second
example using the gdb.printing module.
(Python modules): Add gdb.printing.
testsuite/
* gdb.python/py-pp-maint.c: New file.
* gdb.python/py-pp-maint.exp: New file.
* gdb.python/py-pp-maint.py: New file.
Tom Tromey [Tue, 2 Nov 2010 18:55:54 +0000 (18:55 +0000)]
gdb
* NEWS: Mention Guile removal.
* defs.h (enum language) <language_scm>: Remove.
* Makefile.in (SFILES): Remove scm-exp.c, scm-lang.c,
scm-valprint.c.
(HFILES_NO_SRCDIR): Remove scm-lang.h, scm-tags.h.
(COMMON_OBS): Remove scm-exp.o, scm-lang.o, scm-valprint.o.
* scm-exp.c, scm-lang.c, scm-valprint.c, scm-lang.h, scm-tags.h:
Remove.
gdb/testsuite
* gdb.base/default.exp: Remove "scheme" from language list.
Doug Evans [Tue, 2 Nov 2010 16:48:43 +0000 (16:48 +0000)]
* top.c: #include "python/python.h".
(gdb_init): Add a comment regarding initialize_all_files.
Call finish_python_initialization at the end.
* python/python.h (finish_python_initialization): Declare.
* python/python.c (finish_python_initialization): New function.
(_initialize_python): Move python-implemented initialization there
and call it.
(GdbMethods): Use #ifdef HAVE_PYTHON for consistency.
DJ Delorie [Tue, 2 Nov 2010 15:20:47 +0000 (15:20 +0000)]
merge from gcc
Joseph Myers [Tue, 2 Nov 2010 14:36:39 +0000 (14:36 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
Tag_ABI_compatibility, treat odd tags as strings and even ones as
integers.
(elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
elf32_tic6x_array_alignment_to_tag): New.
(elf32_tic6x_merge_attributes): Handle more attributes. Set type
for merged attributes.
(elf_backend_obj_attrs_order): Define.
binutils:
* readelf.c (display_tic6x_attribute): Handle more attributes.
gas:
* config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
New enum values.
(md_longopts): Add options mpid, mpic and mno-pic.
(tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
tic6x_pid_types, tic6x_use_pid): New.
(md_parse_option): Handle new options.
(md_show_usage): Output help text for new options.
(tic6x_set_attributes): Set PID and PIC attributes.
* doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
* doc/c-tic6x.texi (TIC6X Options): Likewise.
gas/testsuite:
* gas/tic6x/attr-array-directive-1.d,
gas/tic6x/attr-array-directive-1.s,
gas/tic6x/attr-array-directive-2.d,
gas/tic6x/attr-array-directive-2.s,
gas/tic6x/attr-array-directive-3.d,
gas/tic6x/attr-array-directive-3.s,
gas/tic6x/attr-array-directive-4.d,
gas/tic6x/attr-array-directive-4.s,
gas/tic6x/attr-conformance-directive-1.d,
gas/tic6x/attr-conformance-directive-1.s,
gas/tic6x/attr-conformance-directive-2.d,
gas/tic6x/attr-conformance-directive-2.s,
gas/tic6x/attr-pic-directive-1.d,
gas/tic6x/attr-pic-directive-1.s,
gas/tic6x/attr-pic-directive-2.d,
gas/tic6x/attr-pic-directive-2.s,
gas/tic6x/attr-pic-opts-mno-pic.d, gas/tic6x/attr-pic-opts-mpic.d,
gas/tic6x/attr-pid-directive-1.d,
gas/tic6x/attr-pid-directive-1.s,
gas/tic6x/attr-pid-directive-2.d,
gas/tic6x/attr-pid-directive-2.s,
gas/tic6x/attr-pid-opts-mpid-far.d,
gas/tic6x/attr-pid-opts-mpid-near.d,
gas/tic6x/attr-pid-opts-mpid-no.d,
gas/tic6x/attr-stack-directive-1.d,
gas/tic6x/attr-stack-directive-1.s,
gas/tic6x/attr-stack-directive-2.d,
gas/tic6x/attr-stack-directive-2.s,
gas/tic6x/attr-wchar-directive-1.d,
gas/tic6x/attr-wchar-directive-1.s,
gas/tic6x/attr-wchar-directive-2.d,
gas/tic6x/attr-wchar-directive-2.s: New tests.
include/elf:
* tic6x-attrs.h (Tag_ABI_wchar_t, Tag_ABI_stack_align_needed,
Tag_ABI_stack_align_preserved, Tag_ABI_PID, Tag_ABI_PIC,
Tag_ABI_array_object_alignment,
Tag_ABI_array_object_align_expected, Tag_ABI_conformance): Define.
ld/testsuite:
* ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d,
ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d,
ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d,
ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d,
ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d,
ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d,
ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s,
ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d,
ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d,
ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d,
ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d,
ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d,
ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d,
ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s,
ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d,
ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d,
ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d,
ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d,
ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d,
ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d,
ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s,
ld-tic6x/attr-conformance-10-10.d,
ld-tic6x/attr-conformance-10-11.d,
ld-tic6x/attr-conformance-10-none.d,
ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d,
ld-tic6x/attr-conformance-11-11.d,
ld-tic6x/attr-conformance-11-none.d,
ld-tic6x/attr-conformance-11.s,
ld-tic6x/attr-conformance-none-10.d,
ld-tic6x/attr-conformance-none-11.d,
ld-tic6x/attr-conformance-none-none.d,
ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s,
ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d,
ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d,
ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s,
ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d,
ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s,
ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d,
ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s,
ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d,
ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d,
ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d,
ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d,
ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d,
ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d,
ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d,
ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s,
ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d,
ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s,
ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d,
ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s,
ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d,
ld-tic6x/attr-wchar-22.d: New tests.
H.J. Lu [Tue, 2 Nov 2010 13:47:44 +0000 (13:47 +0000)]
Include compressed DWARF debug sections in ELF linker scripts.
binutils/testsuite/
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/libdw2.out: Also accept MIPS_DWARF.
ld/
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/armbpabi.sc: Include compressed DWARF debug
sections.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32cr16.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/ip2k.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/v850.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
ld/testsuite/
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/compress1a.d: Also check MIPS_DWARF.
* ld-elf/compress1b.d: Likewise.
* ld-elf/compress1c.d: Likewise.
Jan Kratochvil [Tue, 2 Nov 2010 01:37:32 +0000 (01:37 +0000)]
gdb/
Revert:
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
* gdbthread.h (currently_stepping): New declaration.
* infrun.c (currently_stepping): Remove the forward declaration.
(currently_stepping): Make it global.
* linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New
variables tp and step, initialized them. Pass STEP to to_resume.
Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP.
* remote.c (currently_stepping_callback): New.
(remote_vcont_resume)
<ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>:
New variable tp. Call currently_stepping_callback and step such
thread.
gdb/testsuite/
Revert:
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/sigstep-threads.exp: New file.
* gdb.threads/sigstep-threads.c: New file.
Alan Modra [Tue, 2 Nov 2010 00:22:10 +0000 (00:22 +0000)]
PR binutils/12110
* configure.ac: Error when source path contains spaces.
* configure: Regenerate.
gdbadmin [Tue, 2 Nov 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 1 Nov 2010 23:00:05 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Mon, 1 Nov 2010 09:53:55 +0000 (09:53 +0000)]
* config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
reloc supplied.
(mips_ip)['o']: Initialise offset_reloc.
Hui Zhu [Mon, 1 Nov 2010 07:00:13 +0000 (07:00 +0000)]
2010-10-31 Hui Zhu <teawater@gmail.com>
* tracepoint.c (tfile_xfer_partial): Change lma to vma.
gdbadmin [Mon, 1 Nov 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 31 Oct 2010 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 31 Oct 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 30 Oct 2010 23:00:05 +0000 (23:00 +0000)]
daily update
Kai Tietz [Sat, 30 Oct 2010 17:14:02 +0000 (17:14 +0000)]
2010-10-30 Kai Tietz <kai.tietz@onevision.com>
* dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
directives.
Doug Evans [Sat, 30 Oct 2010 04:39:47 +0000 (04:39 +0000)]
* gdb.texinfo (Python): Fix long line.
DJ Delorie [Sat, 30 Oct 2010 00:01:15 +0000 (00:01 +0000)]
merge from gcc
gdbadmin [Sat, 30 Oct 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 29 Oct 2010 23:00:04 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Fri, 29 Oct 2010 21:28:31 +0000 (21:28 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo.
Doug Kwan [Fri, 29 Oct 2010 20:49:20 +0000 (20:49 +0000)]
2010-10-29 Doug Kwan <dougkwan@google.com>
* arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to
Output_section::add_relaxed_input_section.
* output.cc (Output_section::add_relaxed_input_section): Add new
arguments LAYOUT and NAME. Set section order index.
(Output_section::convert_input_sections_in_list_to_relaxed_sections):
Copy section order index.
* output.h (Output_section::add_relaxed_input_section): Add new
arguments LAYOUT and NAME.
H.J. Lu [Fri, 29 Oct 2010 19:56:00 +0000 (19:56 +0000)]
Use uLong on compressed_size when using zlib.
2010-10-29 Pawel Sikora <pluto@pld-linux.org>
PR binutils/12075
* compress.c (bfd_compress_section_contents): Use uLong on
compressed_size.
Joseph Myers [Fri, 29 Oct 2010 16:47:55 +0000 (16:47 +0000)]
bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
Tag_ABI_compatibility not Tag_compatibility.
(elf32_tic6x_merge_attributes): Update compatibility attribute
name in comment. Return FALSE if merging common attributes fails.
binutils:
* readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
not hardcoded 32. Display name of this attribute.
gas:
* doc/c-tic6x.texi (TIC6X Directives): Mention
Tag_ABI_compatibility.
gas/testsuite:
* gas/tic6x/attr-compatibility-directive-1.d,
gas/tic6x/attr-compatibility-directive-1.s,
gas/tic6x/attr-compatibility-directive-2.d,
gas/tic6x/attr-compatibility-directive-2.s: New tests.
include/elf:
* tic6x-attrs.h (Tag_ABI_compatibility): Define.
ld/testsuite:
* ld-tic6x/attr-compatibility-gnu-gnu.d,
ld-tic6x/attr-compatibility-gnu-other.d,
ld-tic6x/attr-compatibility-gnu.s,
ld-tic6x/attr-compatibility-other-gnu.d,
ld-tic6x/attr-compatibility-other-other.d,
ld-tic6x/attr-compatibility-other.s: New tests.
H.J. Lu [Fri, 29 Oct 2010 16:16:59 +0000 (16:16 +0000)]
Only run ld-elf/compress1c.d for Linux targets.
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/compress1c.d: Only run for Linux targets.
Ian Lance Taylor [Fri, 29 Oct 2010 15:45:40 +0000 (15:45 +0000)]
* testsuite/Makefile.am: Move gcctestdir/ld rule to
NATIVE_OR_CROSS_LINKER.
* testsuite/Makefile.in: Regenerate.
Nick Clifton [Fri, 29 Oct 2010 13:20:04 +0000 (13:20 +0000)]
PR bintils/6962
* coffcode.h (handle_COMDAT): Only check the base type when
looking for a section symbol.
H.J. Lu [Fri, 29 Oct 2010 12:10:39 +0000 (12:10 +0000)]
Add compressed debug section support to binutils and ld.
bfd/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
Cary Coutant <ccoutant@google.com>
* archive.c (bfd_openr_next_archived_file): Copy BFD_COMPRESS
and BFD_DECOMPRESS.
* bfd.c (BFD_COMPRESS): New.
(BFD_DECOMPRESS): Likewise.
(BFD_FLAGS_SAVED): Likewise.
(bfd_preserve_save): Replace BFD_IN_MEMORY with BFD_FLAGS_SAVED.
* compress.c (bfd_uncompress_section_contents): Removed.
(get_uncompressed_size): New.
(decompress_contents): Likewise.
(bfd_compress_section_contents): Likewise.
(bfd_get_full_section_contents): Likewise.
(bfd_is_section_compressed): Likewise.
(bfd_init_section_decompress_status): Likewise.
(bfd_init_section_compress_status): Likewise.
* dwarf2.c (dwarf_debug_sections): New.
(dwarf_debug_section_enum): Likewise.
(read_section): Remove section_name and compressed_section_name.
Add dwarf_debug_section_enum. Try compressed debug section.
(read_indirect_string): Updated.
(read_abbrevs): Likewise.
(decode_line_info): Likewise.
(read_debug_ranges): Likewise.
(find_line): Updated.
* ecoff.c (bfd_debug_section): Add compress_status and
compressed_size.
* elf.c (_bfd_elf_make_section_from_shdr): Call
bfd_is_section_compressed to check if a DWARF debug section is
compressed. Call bfd_init_section_compress_status or
bfd_init_section_decompress_status if needed.
* elflink.c (elf_link_input_bfd): Replace bfd_get_section_contents
with bfd_get_full_section_contents.
* merge.c (_bfd_add_merge_section): Likewise.
* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* elfxx-target.h (TARGET_BIG_SYM): Allow BFD_COMPRESS and
BFD_DECOMPRESS.
(TARGET_LITTLE_SYM): Likewise.
* libbfd-in.h (dwarf_debug_section): New.
(dwarf_debug_sections): Likewise.
* libbfd.c (_bfd_generic_get_section_contents): Issue an error
when getting contents on compressed/decompressed section.
* section.c (COMPRESS_SECTION_NONE): New.
(COMPRESS_SECTION_DONE): Likewise.
(DECOMPRESS_SECTION_SIZED): Likewise.
(BFD_FAKE_SECTION): Add compress_status and compressed_size.
(bfd_malloc_and_get_section): Replace bfd_get_section_contents
with bfd_get_full_section_contents.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
binutils/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* addr2line.c (process_file): Set BFD_DECOMPRESS.
* objcopy.c (do_debug_sections): New.
(OPTION_COMPRESS_DEBUG_SECTIONS): New.
(OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
(copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
OPTION_DECOMPRESS_DEBUG_SECTIONS.
(copy_usage): Add --compress-debug-sections and
--decompress-debug-sections.
(copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
(copy_section): Replace bfd_get_section_contents with
bfd_get_full_section_contents.
(copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
rename DWARF debug sections.
* objdump.c (load_specific_debug_section): Replace
bfd_get_section_contents with bfd_get_full_section_contents.
Remove bfd_uncompress_section_contents.
(dump_section): Replace bfd_get_section_contents with
bfd_get_full_section_contents.
(display_file): Set BFD_DECOMPRESS if needed.
* readelf.c (uncompress_section_contents): Set buffer to NULL
to indiate decompression failure.
(load_specific_debug_section): Always call
uncompress_section_contents.
* doc/binutils.texi: Document --compress-debug-sections and
--decompress-debug-sections.
binutils/testsuite/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/compress.exp: New.
* binutils-all/dw2-1.S: Likewise.
* binutils-all/dw2-2.S: Likewise.
* binutils-all/libdw2-compressed.out: Likewise.
* binutils-all/libdw2.out: Likewise.
gas/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* write.c (compress_debug): Optimize section flags check.
gas/testsuite/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* elf/dwarf2-1.s: Replace .zdebug_abbrev section with
.debug_abbrev section.
* elf/dwarf2-2.3: Likewise.
* elf/dwarf2-1.d: Pass --compress-debug-sections to assembler.
Updated.
* elf/dwarf2-2.d: Likewise.
* gas/i386/i386.exp: Remove xfail on dw2-compress-2 and
x86-64-dw2-compress-2.
ld/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after
bfd_openr returns.
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
* scripttempl/elf.sc: Include compressed DWARF debug sections.
ld/testsuite/
2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/compress.exp: New.
* ld-elf/compress1.s: Likewise.
* ld-elf/compress1a.d: Likewise.
* ld-elf/compress1b.d: Likewise.
* ld-elf/compress1c.d: Likewise.
Nick Clifton [Fri, 29 Oct 2010 08:47:02 +0000 (08:47 +0000)]
PR binutils/12058
* ar.c (usage): Revert previous change. Describe how 's' can be
used as a command letter.
* doc/binutils.texi (ar cmdline): Describe how 's' can be used as
a command letter.
Alan Modra [Fri, 29 Oct 2010 01:53:19 +0000 (01:53 +0000)]
* gprof.texi (Deprecated Options): Move introduction out of the table.
Joseph Myers [Fri, 29 Oct 2010 00:15:59 +0000 (00:15 +0000)]
bfd:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
of DSBT attributes.
binutils:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
gas:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
values.
(md_longopts): Add mdsbt and mno-dsbt.
(tic6x_dsbt): New static variable.
(md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
(md_show_usage): Output help text for -mdsbt and -mno-dsbt.
(TAG): Add comma at the end.
(tic6x_set_attributes): Set Tag_ABI_DSBT.
* doc/as.texinfo: Document -mdsbt and -mno-dsbt.
* doc/c-tic6x.texi (TIC6X Options): Likewise.
(TIC6X Directives): Mention Tag_ABI_DSBT.
gas/testsuite:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* gas/tic6x/attr-dsbt-directive-1.d,
gas/tic6x/attr-dsbt-directive-1.s,
gas/tic6x/attr-dsbt-directive-2.d,
gas/tic6x/attr-dsbt-directive-2.s,
gas/tic6x/attr-dsbt-opts-mdsbt.d,
gas/tic6x/attr-dsbt-opts-mno-dsbt.d: New tests.
include/elf:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* tic6x-attrs.h (Tag_ABI_DSBT): New.
ld/testsuite:
2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d,
ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s,
ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests.
gdbadmin [Fri, 29 Oct 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 28 Oct 2010 23:00:04 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 28 Oct 2010 14:11:29 +0000 (14:11 +0000)]
PR binutils/12058
* ar.c (usage): Remove spurious 's' from list of accepted command
letters.
Maciej W. Rozycki [Thu, 28 Oct 2010 13:49:51 +0000 (13:49 +0000)]
* mips-opc.c (mips_builtin_opcodes): Fix formatting of "ld".
Alan Modra [Thu, 28 Oct 2010 12:06:27 +0000 (12:06 +0000)]
* ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR.
Alan Modra [Thu, 28 Oct 2010 11:40:26 +0000 (11:40 +0000)]
Add directory section for info document.
Thomas Schwinge [Thu, 28 Oct 2010 09:10:08 +0000 (09:10 +0000)]
ld/testsuite/
* ld-scripts/script.exp: Sort all filename globs.
gas/testsuite/
* gas/iq2000/load-hazards.exp: Sort all filename globs.
* gas/iq2000/yield.exp: Likewise.
* gas/mt/errors.exp: Likewise.
Alan Modra [Thu, 28 Oct 2010 09:08:35 +0000 (09:08 +0000)]
* ld-elfvers/vers.exp: Enable test for powerpc64.
* ld-elfweak/elfweak.exp: Likewise
* ld-shared/shared.exp: Likewise. Xfail non-pic dso tests for ppc64.
* ld-elfvers/vers1.dsym, * ld-elfvers/vers1.sym,
* ld-elfvers/vers2.dsym, * ld-elfvers/vers3.dsym,
* ld-elfvers/vers4.sym, * ld-elfvers/vers4a.dsym,
* ld-elfvers/vers4a.sym, * ld-elfvers/vers6.dsym,
* ld-elfvers/vers6.sym, * ld-elfvers/vers7a.dsym,
* ld-elfvers/vers7a.sym, * ld-elfvers/vers9.dsym,
* ld-elfvers/vers9.sym, * ld-elfvers/vers15.dsym,
* ld-elfvers/vers15.sym, * ld-elfvers/vers16.dsym,
* ld-elfvers/vers16a.dsym, * ld-elfvers/vers17.dsym,
* ld-elfvers/vers18.dsym, * ld-elfvers/vers18.sym,
* ld-elfvers/vers19.dsym, * ld-elfvers/vers20.dsym,
* ld-elfvers/vers21.dsym, * ld-elfvers/vers21.sym,
* ld-elfvers/vers22.dsym, * ld-elfvers/vers22a.dsym,
* ld-elfvers/vers22a.sym, * ld-elfvers/vers22b.dsym,
* ld-elfvers/vers23.dsym, * ld-elfvers/vers23a.dsym,
* ld-elfvers/vers23a.sym, * ld-elfvers/vers23b.dsym,
* ld-elfvers/vers25a.dsym, * ld-elfvers/vers26a.dsym,
* ld-elfvers/vers27a.dsym, * ld-elfvers/vers27d.dsym,
* ld-elfvers/vers27d.sym, * ld-elfvers/vers27d4.dsym,
* ld-elfvers/vers28b.dsym, * ld-elfvers/vers28c.dsym,
* ld-elfvers/vers29.dsym, * ld-elfvers/vers30.dsym,
* ld-elfvers/vers31.dsym, * ld-elfvers/vers32a.dsym,
* ld-elfvers/vers32b.dsym, * ld-elfvers/vers32c.dsym,
* ld-elfweak/dso.dsym, * ld-elfweak/dsodata.dsym,
* ld-elfweak/dsow.dsym, * ld-elfweak/dsowdata.dsym,
* ld-elfweak/strong.sym, * ld-elfweak/strongcomm.sym,
* ld-elfweak/strongdata.sym, * ld-elfweak/weak.dsym,
* ld-elfweak/weakdata.dsym: Relax whitespace matching, tighten
non-whitespace matching. Match powerpc64 functions in .opd section.
* ld-shared/elf-offset.ld: Place powerpc64 .toc sections.