OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years agoImplement ld --print-output-format.
roland [Sat, 16 Jul 2011 07:58:40 +0000 (07:58 +0000)]
Implement ld --print-output-format.

12 years agodaily update
amodra [Sat, 16 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 16 Jul 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * options.h (class General_options): Add --print-output-format.
ian [Fri, 15 Jul 2011 21:43:08 +0000 (21:43 +0000)]
* options.h (class General_options): Add --print-output-format.
Move -EL next to -EB, for  better --help output.
* target-select.cc: Include <cstdio>, "options.h", and
"parameters.h".
(Target_selector::do_target_bfd_name): New function.
(print_output_format): New function.
* target-select.h (class Target_selector): Update declarations.
(Target_selector::target_bfd_name): New function.
(print_output_format): Declare.
* main.cc: Include "target-select.h".
(main): Handle --print-output-format.
* gold.cc: Include "target-select.h".
(queue_initial_tasks): Handle --print-output-format when there are
no input files.
* parameters.cc (parameters_force_valid_target): Give a better
error message if -EB/-EL does not match target.
* freebsd.h (Target_selector_freebsd::do_target_bfd_name): New
function.

12 years agocorrect comment
cgf [Fri, 15 Jul 2011 20:59:30 +0000 (20:59 +0000)]
correct comment

12 years ago* cygwinenv.sgml (using-cygwinenv): Clarify "glob" works.
cgf [Fri, 15 Jul 2011 20:59:07 +0000 (20:59 +0000)]
* cygwinenv.sgml (using-cygwinenv): Clarify "glob" works.

12 years agogdb/
jkratoch [Fri, 15 Jul 2011 20:54:30 +0000 (20:54 +0000)]
gdb/
Code cleanup.
* dwarf2-frame.c (dwarf2_frame_ctx_funcs): New.
(execute_stack_op): Use dwarf2_frame_ctx_funcs
* dwarf2expr.c (dwarf_get_base_type): Access get_base_type via funcs.
(execute_stack_op): Access read_reg, get_frame_base, read_mem,
get_frame_cfa, get_tls_address and dwarf_call via funcs.
* dwarf2expr.h (struct dwarf_expr_context): New forward declaration.
(struct dwarf_expr_context_funcs): New, move here methods from ...
(struct dwarf_expr_context): ... here.  New fields funcs.
* dwarf2loc.c (dwarf_expr_dwarf_call): Access get_frame_pc via funcs.
(dwarf_expr_ctx_funcs): New.
(dwarf2_evaluate_loc_desc_full): Use dwarf_expr_ctx_funcs.
(needs_frame_dwarf_call): Access get_frame_pc via funcs.
(needs_frame_ctx_funcs): New.
(dwarf2_loc_desc_needs_frame): Use needs_frame_ctx_funcs.

12 years agogdb/testsuite/
jkratoch [Fri, 15 Jul 2011 18:46:10 +0000 (18:46 +0000)]
gdb/testsuite/
Code cleanup.
* gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
it.  Substitute it instead of test_compiler_info everywhere.

12 years ago2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
jjohnstn [Fri, 15 Jul 2011 17:20:14 +0000 (17:20 +0000)]
2011-07-15  Yufeng Zhang  <yufeng.zhang@arm.com>

        * libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type
        int.  *length is set to the value of (rev - digits) regardless
        of whether _MB_CAPABLE is defined or not.  Replace BUF with len
        in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE
        is not defined.
        (_VFWPRINTF_R): Call wcvt with an extra argument.  Call wcvt
        again with allocated new buffer if buf is not large enough for
        the conversion.
        * testsuite/newlib.stdio/stdio.exp: New.
        * testsuite/newlib.stdio/swprintf.c: Likewise.

12 years ago * i386.cc (class Output_data_plt_i386): Add layout_ field.
ian [Fri, 15 Jul 2011 15:31:54 +0000 (15:31 +0000)]
* i386.cc (class Output_data_plt_i386): Add layout_ field.
(Output_data_plt_i386::Output_data_plt_i386): Initialize layout_.
(Output_data_plt_i386::do_write): Write address of .dynamic
section to first entry in .got.plt section.
* x86_64.cc (class Output_data_plt_x86_64): Add layout_ field.
(Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
Initialize layout_.
(Output_data_plt_x86_64::do_write): Write address of .dynamic
section to first entry in .got.plt section.
* layout.h (Layout::dynamic_section): New function.

12 years ago2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com>
fawzi [Fri, 15 Jul 2011 15:27:48 +0000 (15:27 +0000)]
2011-07-15  Fawzi Mohamed  <fawzi.mohamed@nokia.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

12 years ago2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com>
fawzi [Fri, 15 Jul 2011 15:01:02 +0000 (15:01 +0000)]
2011-07-15  Fawzi Mohamed  <fawzi.mohamed@nokia.com>

* dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure
that CIE pointer of an FDE really points to a CIE .

12 years ago * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
uweigand [Fri, 15 Jul 2011 14:13:00 +0000 (14:13 +0000)]
* gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
remote targets as well.

12 years ago * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
uweigand [Fri, 15 Jul 2011 14:11:22 +0000 (14:11 +0000)]
* lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
* gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.

12 years ago * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
uweigand [Fri, 15 Jul 2011 14:10:25 +0000 (14:10 +0000)]
* lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
a remote machine, not the host.
(gdb_compile_shlib): Set soname if target is remote.

12 years ago * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r
corinna [Fri, 15 Jul 2011 08:04:17 +0000 (08:04 +0000)]
* libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r
to make sure CHECK_INIT is called.
(_fscanf_r): Ditto.
* /libc/stdio/scanf.c (scanf): Ditto.
(_scanf_r): Ditto.
* libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of
__svfwscanf_r to make sure CHECK_INIT is called.
(_fwscanf_r): Ditto.
* libc/stdio/wscanf.c (wscanf): Ditto.
(_wscanf_r): Ditto.

12 years agoinclude/
amodra [Fri, 15 Jul 2011 02:36:32 +0000 (02:36 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Use ENUM_BITFIELD for strip,
discard, common_skip_ar_symbols, unresolved_syms_in_objects, and
unresolved_syms_in_shared_libs fields.  Move emit_note_gnu_build_id
out of bitfields.  Reorder bitfields.
bfd/
* configure.in: Bump version.
* configure: Regenerate.

12 years ago2011-07-15 Hui Zhu <teawater@gmail.com>
teawater [Fri, 15 Jul 2011 02:07:43 +0000 (02:07 +0000)]
2011-07-15  Hui Zhu  <teawater@gmail.com>

* remote.c (remote_get_trace_status): Add comments.

12 years ago * Makefile.am (e*.c): Sort.
amodra [Fri, 15 Jul 2011 01:45:49 +0000 (01:45 +0000)]
* Makefile.am (e*.c): Sort.
* Makefile.in: Regenerate.

12 years ago*** empty log message ***
gdbadmin [Fri, 15 Jul 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoCleanup: kill trailing whitespace
ppluzhnikov [Thu, 14 Jul 2011 16:41:56 +0000 (16:41 +0000)]
Cleanup: kill trailing whitespace

12 years ago2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Thu, 14 Jul 2011 16:33:21 +0000 (16:33 +0000)]
2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.cp/minsym-fallback.exp: Link in C++ mode.

12 years agogdb/
jkratoch [Thu, 14 Jul 2011 15:00:15 +0000 (15:00 +0000)]
gdb/
Code cleanup - constify struct lval_funcs.
* dwarf2loc.c (pieced_value_funcs): Make it const.
* infrun.c (siginfo_value_funcs): Likewise.
* opencl-lang.c (opencl_value_funcs): Likewise.
* valops.c (value_assign, value_ind): Make the funcs variable const.
* value.c (struct value): Make location.computed.funcs target const.
Rearrange the comments.
(allocate_computed_value): Make the funcs parameter target const.
(value_computed_funcs): Return the funcs target const.
(value_free, value_copy, set_value_component_location): Make the funcs
variable const.
* value.h (allocate_computed_value): Make the funcs parameter target
const.
(value_computed_funcs): Return the funcs target const.
* windows-tdep.c (tlb_value_funcs): Make it const.

12 years agoAlso check ignored "-z relro".
hjl [Thu, 14 Jul 2011 14:54:52 +0000 (14:54 +0000)]
Also check ignored "-z relro".

2011-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/binutils.exp (binutils_test): Also check ignored
"-z relro".

12 years agoRevert the last change.
hjl [Thu, 14 Jul 2011 14:51:08 +0000 (14:51 +0000)]
Revert the last change.

12 years agoSkip relro tests on ia64.
hjl [Thu, 14 Jul 2011 14:49:37 +0000 (14:49 +0000)]
Skip relro tests on ia64.

2011-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/binutils.exp: Skip relro tests on ia64.

12 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option,
amodra [Thu, 14 Jul 2011 12:43:34 +0000 (12:43 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option,
gld${EMULATION_NAME}_list_options): Don't condition -z relro
and -z norelro on COMMONPAGESIZE being defined.

12 years ago * fhandler_console.cc (fhandler_console::input_tcsetattr): Revert to
corinna [Thu, 14 Jul 2011 10:02:09 +0000 (10:02 +0000)]
* fhandler_console.cc (fhandler_console::input_tcsetattr): Revert to
setting ENABLE_PROCESSED_INPUT depending on ISIG and IGNBRK.
(fhandler_console::tcgetattr): Set ISIG depending on
ENABLE_PROCESSED_INPUT as well.

12 years ago * ld-scripts/section-flags.exp: Pass --local-store 0:0 for
amodra [Thu, 14 Jul 2011 06:49:44 +0000 (06:49 +0000)]
* ld-scripts/section-flags.exp: Pass --local-store 0:0 for
spu.  Rewrite using foreach.

12 years ago * linker.c (_bfd_generic_section_already_linked): Set l_flags.
amodra [Thu, 14 Jul 2011 06:22:56 +0000 (06:22 +0000)]
* linker.c (_bfd_generic_section_already_linked): Set l_flags.
* elf-bfd.h (struct already_linked): Forward declare.

12 years ago2011-07-14 Hui Zhu <teawater@gmail.com>
teawater [Thu, 14 Jul 2011 04:46:42 +0000 (04:46 +0000)]
2011-07-14  Hui Zhu  <teawater@gmail.com>

* remote.c (remote_get_trace_status): Initialize p.

12 years agowhitespace regen
amodra [Thu, 14 Jul 2011 04:02:32 +0000 (04:02 +0000)]
whitespace regen

12 years ago * elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms.
amodra [Thu, 14 Jul 2011 03:57:18 +0000 (03:57 +0000)]
* elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms.
(_bfd_elf_adjust_dynamic_symbol): Remove FIXME.

12 years agobfd/
amodra [Thu, 14 Jul 2011 03:28:20 +0000 (03:28 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain.
(build_plt_stub): Add plt_static_chain param, don't load r11 if false.
(build_tls_get_addr_stub): Likewise.
(ppc_build_one_stub): Update calls to above.
(ppc_size_one_stub): Adjust stub size.
(ppc64_elf_size_stubs): Add plt_static_chain param, save to htab.
* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
ld/
* emultempl/ppc64elf.em (plt_static_chain): New var.
(gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
--plt-static-chain and --no-plt-static-chain.
ld/testsuite/
* ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d,
* ld-powerpc/tlstocso.d: Update for plt stub change.

12 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
amodra [Thu, 14 Jul 2011 02:38:42 +0000 (02:38 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options):
Provide --build-id, -z defs, -z muldefs, -z max-page-size,
-z common-page-size, -z execstack, -z noexecstack for all targets.
Add help for --exclude-libs.
(OPTION_LD_GENERATED_UNWIND_INFO,
OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this..
(gld${EMULATION_NAME}_handle_option): ..and code handling
--ld-generated-unwind-info and --no-ld-generated-unwind-info..
* emulparams/plt_unwind.sh: ..to here.  New file.  Add help.
* emulparams/elf32_x86_64.sh: Include plt_unwind.sh.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_l1om.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.

12 years ago2011-07-13 Sriraman Tallam <tmsriram@google.com>
tmsriram [Thu, 14 Jul 2011 00:55:17 +0000 (00:55 +0000)]
2011-07-13  Sriraman Tallam  <tmsriram@google.com>

* plugin-api.h
(ld_plugin_section): New struct.
(ld_plugin_get_section_count): New typedef.
(ld_plugin_get_section_type): New typedef.
(ld_plugin_get_section_name): New typedef.
(ld_plugin_get_section_contents): New typedef.
(ld_plugin_update_section_order): New typedef.
(ld_plugin_allow_section_ordering): New typedef.
(LDPT_GET_SECTION_COUNT): New enum value.
(LDPT_GET_SECTION_TYPE): New enum value.
(LDPT_GET_SECTION_NAME): New enum value.
(LDPT_GET_SECTION_CONTENTS): New enum value.
(LDPT_UPDATE_SECTION_ORDER): New enum value.
(LDPT_ALLOW_SECTION_ORDERING): New enum value.
(tv_get_section_count): New struct members.
(tv_get_section_type): New struct members.
(tv_get_section_name): New struct members.
(tv_get_section_contents): New struct members.
(tv_update_section_order): New struct members.
(tv_allow_section_ordering): New struct members.
* archive.cc (Archive::get_elf_object_for_member): Add extra parameter
to claim_file call.
* layout.cc (Layout::Layout): Initialize section_ordering_specified_,
input_section_position_, and input_section_glob_.
(read_layout_from_file): Call function section_ordering_specified.
* layout.h (is_section_ordering_specified): New function.
(section_ordering_specified): New function.
(section_ordering_specified_): New boolean member.
* main.cc(main): Call load_plugins after layout object is defined.
* output.cc (Output_section::add_input_section): Use
function section_ordering_specified to check if section ordering is
needed.
* output.cc (Output_section::add_relaxed_input_section): Use
function section_ordering_specified to check if section ordering is
needed.
(Output_section::update_section_layout): New function.
(Output_section::sort_attached_input_sections): Check if input section
must be reordered.
* output.h (Output_section::update_section_layout): New function.
* plugin.cc (get_section_count): New function.
(get_section_type): New function.
(get_section_name): New function.
(get_section_contents): New function.
(update_section_order): New function.
(allow_section_ordering): New function.
(Plugin::load): Add the new interfaces to the transfer vector.
(Plugin_manager::load_plugins): New parameter.
(Plugin_manager::all_symbols_read): New parameter.
(Plugin_manager::claim_file): New parameter. Save the elf object for
unclaimed objects.
(Plugin_manager::get_elf_object): New function.
(Plugin_manager::get_view): Change to directly use the bool to check
if get_view is called from claim_file_hook.
* plugin.h (input_objects): New function
(Plugin__manager::load_plugins): New parameter.
(Plugin_manager::claim_file): New parameter.
(Plugin_manager::get_elf_object): New function.
(Plugin_manager::in_claim_file_handler): New function.
(Plugin_manager::in_claim_file_handler_): New member.
(layout): New function.
* readsyms.cc (Read_symbols::do_read_symbols): Call the claim_file
handler with an extra parameter. Make the elf object before calling
claim_file handler.
* testsuite/plugin_test.c (get_section_count): New function pointer.
(get_section_type): New function pointer.
(get_section_name): New function pointer.
(get_section_contents): New function pointer.
(update_section_order): New function pointer.
(allow_section_ordering): New function pointer.
(onload): Check if the new interfaces exist.

12 years ago*** empty log message ***
gdbadmin [Thu, 14 Jul 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Thu, 14 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * i386.cc (Target_i386::got_section): If -z now, make .got.plt a
ian [Wed, 13 Jul 2011 22:47:07 +0000 (22:47 +0000)]
* i386.cc (Target_i386::got_section): If -z now, make .got.plt a
relro section.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_now_test.
(relro_now_test_SOURCES): New variable.
(relro_now_test_DEPENDENCIES): New variable.
(relro_now_test_LDFLAGS): New variable.
(relro_now_test_LDADD): New variable.
(relro_now_test.so): New target.
* testsuite/Makefile.in: Rebuild.

12 years ago * fhandler_serial.cc (fhandler_serial::raw_read): Handle non-blocking
corinna [Wed, 13 Jul 2011 18:59:41 +0000 (18:59 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Handle non-blocking
case more thoroughly.

12 years ago* setup_handler (setup_handler): Change break to goto out, missed in 2011-07-06
cgf [Wed, 13 Jul 2011 17:53:21 +0000 (17:53 +0000)]
* setup_handler (setup_handler): Change break to goto out, missed in 2011-07-06
changes.

12 years agogdb/
jkratoch [Wed, 13 Jul 2011 17:07:13 +0000 (17:07 +0000)]
gdb/
Work around kgdb.
* remote.c (remote_get_trace_status): New variable ex.  Put
remote_get_noisy_reply into TRY_CATCH.  Call exception_fprintf for it.

12 years ago* gdb.python/py-objfile-script-gdb.py: Renamed to
ratmice [Wed, 13 Jul 2011 17:00:55 +0000 (17:00 +0000)]
* gdb.python/py-objfile-script-gdb.py: Renamed to
py-objfile-script-gdb.py.in.
* gdb.python/py-objfile-script-gdb.py.in: Renamed from
py-objfile-script-gdb.py.
* gdb.python/py-objfile-script.exp: Update reference to
py-objfile-script-gdb.py.

12 years ago * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use
tromey [Wed, 13 Jul 2011 16:51:21 +0000 (16:51 +0000)]
* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use
value_from_contents for final conversion.

12 years agogdb/testsuite/
jkratoch [Wed, 13 Jul 2011 15:18:12 +0000 (15:18 +0000)]
gdb/testsuite/
* gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
reference undefined label.

12 years agogdb/
jkratoch [Wed, 13 Jul 2011 15:15:36 +0000 (15:15 +0000)]
gdb/
Code cleanup.
* dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full):
Indent prototypes so they do not get into tags.

12 years ago * arm/crt0.S: Support armv6-m processors in libgloss.
nickc [Wed, 13 Jul 2011 15:06:20 +0000 (15:06 +0000)]
* arm/crt0.S: Support armv6-m processors in libgloss.
* arm/swi.h: Likewise.
* arm/trap.S: Likewise.
* arm/redboot-crt0.S: Likewise.
* arm/linux-crt0.c: Likewise.
* arm/arm.h: New.

12 years ago * libm/complex/cacos.c: Use temporaries and correct sequencing
corinna [Wed, 13 Jul 2011 07:18:54 +0000 (07:18 +0000)]
* libm/complex/cacos.c: Use temporaries and correct sequencing
error in previous reordering change.

12 years ago*** empty log message ***
gdbadmin [Wed, 13 Jul 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Wed, 13 Jul 2011 00:00:08 +0000 (00:00 +0000)]
daily update

12 years ago PR gold/12980
ian [Tue, 12 Jul 2011 22:29:09 +0000 (22:29 +0000)]
PR gold/12980
* i386.cc (Target_i386::Scan::global): For a GOT reloc, use a
GLOB_DAT relocation rather than a RELATIVE relocation for a
protected symbol when creating a shared library.
* x86_64.cc (Target_x86_64::Scan::global): Likewise.
* testsuite/protected_1.cc (f2, get_f2_addr): New functions.
* testsuite/protected_main_1.cc (main): Test that protected
function has same address.

12 years agogdb/
jkratoch [Tue, 12 Jul 2011 21:16:46 +0000 (21:16 +0000)]
gdb/
Code cleanup making also optimized out values lazy.
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use
allocate_optimized_out_value.  Twice.
(loclist_read_variable)  Use allocate_optimized_out_value.  Once.
* findvar.c (read_var_value): Likewise.
* value.c (allocate_optimized_out_value): New function.
* value.h (allocate_optimized_out_value): New declaration.

12 years agogdb/
jkratoch [Tue, 12 Jul 2011 20:59:02 +0000 (20:59 +0000)]
gdb/
Fix occasional crash of CTRL-C during DWARF read in.
* dwarf2read.c (dwarf2_mark_helper): Return on NULL CU.

12 years agosim: include sim-options.h for command prototype
vapier [Tue, 12 Jul 2011 20:21:27 +0000 (20:21 +0000)]
sim: include sim-options.h for command prototype

The sim_args_command prototype is in sim-options.h, so pull it in
directly rather than assuming a common header does it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: fix broken skel configure.ac example
vapier [Tue, 12 Jul 2011 20:20:32 +0000 (20:20 +0000)]
sim: fix broken skel configure.ac example

Shell code before AC_INIT will be silently culled, and since the common
aclocal.m4 includes inline shell code, the file cannot be included before
AC_INIT.  So update the example to show people including the file after
that rather than before to avoid random breakage.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: use AC_REQUIRE with AC_PROG_CC
vapier [Tue, 12 Jul 2011 20:19:49 +0000 (20:19 +0000)]
sim: use AC_REQUIRE with AC_PROG_CC

The autoconf guys point out that our usage of AC_PROG_CC in the
SIM_AC_COMMON does not jive with their intended use.
http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required

So utilize AC_REQUIRE to make the warnings go away and generate
the correct code with different autoconf versions.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago * elf32-arm.c (elf32_arm_section_flags): Delete.
nickc [Tue, 12 Jul 2011 15:17:41 +0000 (15:17 +0000)]
* elf32-arm.c (elf32_arm_section_flags): Delete.
(elf_backend_section_flags): Remove.

12 years ago * arm-dis.c (print_insn_arm): Revert previous, undocumented,
nickc [Tue, 12 Jul 2011 08:45:44 +0000 (08:45 +0000)]
* arm-dis.c (print_insn_arm): Revert previous, undocumented,
accidental change.

12 years ago PR 12983
ccoutant [Tue, 12 Jul 2011 04:47:49 +0000 (04:47 +0000)]
PR 12983
* binutils/nm.c (display_file): Decompress debug sections when
printing line numbers.

12 years agodaily update
amodra [Tue, 12 Jul 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 12 Jul 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agosim: m32c/rx: rename configure.in to match rest of the tree
vapier [Mon, 11 Jul 2011 19:00:17 +0000 (19:00 +0000)]
sim: m32c/rx: rename configure.in to match rest of the tree

The sim dir has 30 configure.ac files and 2 configure.in files.
So rename the minority to be consistent.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: m32c/rx: fix typo in copyright updating
vapier [Mon, 11 Jul 2011 18:45:45 +0000 (18:45 +0000)]
sim: m32c/rx: fix typo in copyright updating

12 years agoAlso skip BFD_PLUGIN when setting stack_flags.
hjl [Mon, 11 Jul 2011 18:39:12 +0000 (18:39 +0000)]
Also skip BFD_PLUGIN when setting stack_flags.

2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12982
* elflink.c (bfd_elf_size_dynamic_sections): Also skip BFD_PLUGIN
when setting stack_flags.

12 years ago * regcache.c (struct regcache_descr): Fix typo.
tromey [Mon, 11 Jul 2011 17:19:14 +0000 (17:19 +0000)]
* regcache.c (struct regcache_descr): Fix typo.
* i387-tdep.c (i387_supply_xsave): Fix typo.

12 years ago * dwarf2read.c (handle_DW_AT_stmt_list): New function.
tromey [Mon, 11 Jul 2011 17:17:25 +0000 (17:17 +0000)]
* dwarf2read.c (handle_DW_AT_stmt_list): New function.
(read_file_scope, read_type_unit_scope): Use it.

12 years ago PR gold/12979
ian [Mon, 11 Jul 2011 16:19:50 +0000 (16:19 +0000)]
PR gold/12979
* options.h (class General_options): Add -Bgroup.
* options.cc (General_options::finalize): If -Bgroup is set,
default to --unresolved-symbols=report-all.
* layout.cc (Layout::finish_dynamic_section): Implement -Bgroup.
* target-reloc.h (issue_undefined_symbol_error): Handle
--unresolved-symbols=report-all.

12 years agoinclude/ChangeLog
clm [Mon, 11 Jul 2011 15:03:02 +0000 (15:03 +0000)]
include/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

* bfdlink.h (flag_type): New enumeration.
(flag_info_list): New structure.
(flag_info): New structure.

bfd/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

* aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition.
* aout-target.h (MY_bfd_lookup_section_flags): New definition.
* aout-tic30.c (MY_bfd_lookup_section_flags): New definition.
        * bfd-in2.h: Regenerated.
* bfd.c (bfd_lookup_section_flags): New definition.
* binary.c (binary_bfd_lookup_section_flags): New definition.
* bout.c (b_out_bfd_lookup_section_flags): New definition.
* coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
* coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
* coff-rs6000.c (rs6000coff_vec): Include
bfd_generic_lookup_section_flags.
(pmac_xcoff_vec): Likewise.
* coffcode.h (coff_bfd_lookup_section_flags): New definition.
* coff64-rs6000.c (rs6000coff64_vec): Include
bfd_generic_lookup_section_flags.
(aix5coff64_vec): Likewise.
* ecoff.c (bfd_debug_section): Initialize flag_info field.
* elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare.
(bfd_elf_lookup_section_flags): Declare.
* elflink.c (bfd_elf_lookup_section_flags): New function.
* elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define.
(elf_backend_lookup_section_flags_hook): Define.
(elf_backend_data): Add elf_backend_lookup_section_flags_hook.
* i386msdos.c (msdos_bfd_lookup_section_flags): New define.
* i386os9k.c (os9k_bfd_lookup_section_flags): New define.
* ieee.c (ieee_bfd_lookup_section_flags): New define.
* ihex.c (ihex_bfd_lookup_section_flags): New define.
* libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare.
(bfd_generic_lookup_section_flags): Declare.
* libbfd.h: Regenerated.
* mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New.
* mmo.c (mmo_bfd_lookup_section_flags): New definition.
* nlm-target.h (nlm_bfd_lookup_section_flags): New definition.
* oasys.c (oasys_bfd_lookup_section_flags): New definition.
* pef.c (bfd_pef_bfd_lookup_section_flags): New definition.
* plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition.
* ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition.
* reloc.c (bfd_generic_lookup_section_flags): New function.
* som.c (som_bfd_lookup_section_flags): New definition.
* srec.c (srec_bfd_lookup_section_flags): New definition.
* targets.c (flag_info): Declare.
(NAME##_bfd_lookup_section_flags): Add to LINK jump table.
(_bfd_lookup_section_flags): New.
* tekhex.c (tekhex_bfd_lookup_section_flags): New definition.
* versados.c (versados_bfd_lookup_section_flags): New definition.
* vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition.
* xsym.c (bfd_sym_bfd_lookup_section_flags): New definition.

ld/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

* ld.h (section_flag_list): Add field to struct wildcard_spec.
* ld.texinfo (INPUT_SECTION_FLAGS): Document.
* ldgram.y (flag_info_list, flag_info): Add to union.
(INPUT_SECTION_FLAGS): New token.
(wildcard_spec): Initialize section_flag_list to NULL for
each alternative.
(sect_flag_list, sect_flags): New rules.
(input_section_spec_no_keep): Add alternatives to recognize
sect_flags.
* ldlang.c (walk_wild_consider_section): Initialize
section_flag_info field of the section struct.
(lang_add_section): Check input section flags.
(lang_add_wild): Initialize section_flag_list field of
the statement struct.
* ldlang.h (lang_input_statement_struct): Add section_flag_list field.
(lang_wild_statement_struct): Likewise.
* ldlex.l (INPUT_SECTION_FLAGS): New token.
* mri.c (mri_draw_tree): Initialize section_flag_list to NULL.
* NEWS: Announce INPUT_SECTION_FLAGS enhancement.

ld/testsuite/ChangeLog
2011-07-11 Catherine Moore  <clm@cm00re.com>

* ld-scripts/section-flags-1.s: New.
* ld-scripts/section-flags-1.t: New.
* ld-scripts/section-flags-2.s: New.
* ld-scripts/section-flags-2.t: New.
* ld-scripts/section-flags.exp: New.

12 years agoFix a typo in elfnn-ia64.c (count_dyn_reloc).
hjl [Mon, 11 Jul 2011 13:54:51 +0000 (13:54 +0000)]
Fix a typo in elfnn-ia64.c (count_dyn_reloc).

2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12978
* elfnn-ia64.c (count_dyn_reloc): Fix a typo.

12 years agogdb/
jkratoch [Mon, 11 Jul 2011 13:40:23 +0000 (13:40 +0000)]
gdb/
* dwarf2expr.c (read_sleb128): Fix signed extension overflowing host
`int'.

gdb/testsuite/
* gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
(DW_AT_high_pc, DW_AT_low_pc): Remove them.
(val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
* gdb.dwarf2/dw2-const.exp (print/x val8): New test.

12 years ago2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 11 Jul 2011 13:07:36 +0000 (13:07 +0000)]
2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12438
* python/python.c: Set gdbpy_should_print_stack default to off.
(set_python): Deprecate maint set python print-stack to
class_deprecate.
(_initialize_python): Deprecate maint set/show python print-stack.
Add new prefix command, python.  Add new setting, print-backtrace.
* NEWS: Document set python print-stack.  Document default change.

2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12438
* gdb.texinfo (Python Commands): Add deprecate note to maint
          set/show python print-stack.  Document set/show python
          print-backtrace.

2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12438
* gdb.python/python.exp: Add maint set/show python print-stack
          deprecated tests.  Add set/show python print-backtrace tests.

12 years ago2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 11 Jul 2011 12:10:19 +0000 (12:10 +0000)]
2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-inferior.c (infpy_dealloc): New function.
        (inferior_to_inferior_object): Return a new object, or a
new reference to the existing object.
        (find_thread_object): Cleanup references to inferior.
        (delete_thread_object): Ditto.
        * python/py-infthread.c (create_thread_object): Do not increment
inferior reference count.

12 years ago2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 11 Jul 2011 12:10:06 +0000 (12:10 +0000)]
2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-inferior.c (infpy_dealloc): New function.
        (inferior_to_inferior_object): Return a new object, or a
new reference to the existing object.
        (find_thread_object): Cleanup references to inferior.
        (delete_thread_object): Ditto.
        * python/py-infthread.c (create_thread_object): Do not increment
inferior reference count.

12 years ago * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out,
amodra [Mon, 11 Jul 2011 12:03:55 +0000 (12:03 +0000)]
* ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out,
* ld-powerpc/tocopt2.d: New test.
* ld-powerpc/tocopt3.s, * ld-powerpc/tocopt3.d: New test.
* ld-powerpc/powerpc.exp (ppc64elftests) Run them.

12 years ago* fhandler_tty.cc (fhandler_pty_slave::ioctl): Remove erroneous support for
cgf [Mon, 11 Jul 2011 00:03:54 +0000 (00:03 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::ioctl): Remove erroneous support for
TIOCLINUX for pty.  Get rid of unneeded EINVAL handling in wake of tty removal.
Remove now-unneeded variable.

12 years agodaily update
amodra [Mon, 11 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 11 Jul 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * include/netdb.h (gethostbyname2): Declare.
corinna [Sun, 10 Jul 2011 13:22:48 +0000 (13:22 +0000)]
* include/netdb.h (gethostbyname2): Declare.

12 years agopthread_sigmask: fix return value to match POSIX
ericb [Sun, 10 Jul 2011 00:01:32 +0000 (00:01 +0000)]
pthread_sigmask: fix return value to match POSIX

* signal.cc (handle_sigprocmask): Return error rather than setting
errno, for pthread_sigmask.
(sigprocmask): Adjust caller.

12 years agodaily update
amodra [Sun, 10 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sun, 10 Jul 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago PR gold/11985
ian [Sat, 9 Jul 2011 06:33:59 +0000 (06:33 +0000)]
PR gold/11985
* layout.cc (Layout::create_initial_dynamic_sections): Don't crash
if linker script discards key sections.
(Layout::create_dynamic_symtab): Likewise.
(Layout::assign_local_dynsym_offsets): Likewise.
(Layout::sized_create_version_sections): Likewise.
(Layout::create_interp): Likewise.
(Layout::finish_dynamic_section): Likewise.
(Layout::set_dynamic_symbol_size): Likewise.

12 years ago PR ld/12942
amodra [Sat, 9 Jul 2011 06:20:50 +0000 (06:20 +0000)]
PR ld/12942
bfd/
* elflink.c (elf_link_add_object_symbols): Use elf_discarded_section
rather than kept_section to determine whether a symbol is from
a discarded section.
* cofflink.c (coff_link_add_symbols): Make symbols from discarded
sections appear undefined.

* elf-bfd.h (_bfd_elf_section_already_linked): Replace
"asection *" with "struct already_linked *".
* libbfd-in.h (_bfd_nolink_section_already_linked): Likewise.
(_bfd_generic_section_already_linked): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(struct already_linked): New.
(struct bfd_section_already_linked): Use it.
* elflink.c (_bfd_elf_section_already_linked): Replace.
"asection *" with "struct already_linked *".  Replace the plugin
dummy with the LTO output.
* linker.c (_bfd_generic_section_already_linked): Likewise.
* targets.c (struct already_linked): Add forward declaration.
(bfd_target): Replace "struct bfd_section *" with
"struct already_linked *" in _section_already_linked.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

include/
* bfdlink.h (bfd_link_info): Add loading_lto_outputs.

ld/
* ldlang.c (section_already_linked): Pass "struct already_linked *"
to bfd_section_already_linked.
(lang_process): Set link_info.loading_lto_outputs before
loading LTO outputs.
* plugin.c: Include "libbfd.h".
(add_symbols): Call bfd_section_already_linked with comdat_key.

12 years ago PR gold/12386
ian [Sat, 9 Jul 2011 06:11:34 +0000 (06:11 +0000)]
PR gold/12386
* options.h (class General_options): Add --unresolved-symbols.
* target-reloc.h (issue_undefined_symbol_error): Check
--unresolved-symbols.  Add comments.

12 years ago * testsuite/odr_violation2.cc (Ordering::operator()): Make
ian [Sat, 9 Jul 2011 05:09:51 +0000 (05:09 +0000)]
* testsuite/odr_violation2.cc (Ordering::operator()): Make
expression more complex.

12 years ago PR gold/11317
ian [Sat, 9 Jul 2011 00:47:11 +0000 (00:47 +0000)]
PR gold/11317
* target-reloc.h (issue_undefined_symbol_error): New inline
function, broken out of relocate_section.
(relocate_section): Call issue_undefined_symbol_error.
* i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
there is no TLS segment if we are about to issue an undefined
symbol error.
* x86_64.cc (Target_x86_64::relocate_tls): Likewise.

12 years agodaily update
amodra [Sat, 9 Jul 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 9 Jul 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago PR gold/12279
ian [Fri, 8 Jul 2011 23:49:11 +0000 (23:49 +0000)]
PR gold/12279
* resolve.cc (Symbol_table::should_override): Add fromtype
parameter.  Change all callers.  Give error when linking together
TLS and non-TLS symbol.
(Symbol_table::should_override_with_special): Add fromtype
parameter.  Change all callers.
* i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
there is no TLS segment if we have reported some errors.
* x86_64.cc (Target_x86_64::relocate_tls): Likewise.

12 years ago PR gold/12372
ian [Fri, 8 Jul 2011 22:48:07 +0000 (22:48 +0000)]
PR gold/12372
* target.h (Target::plt_address_for_global): New function.
(Target::plt_address_for_local): New function.
(Target::plt_section_for_global): Remove.
(Target::plt_section_for_local): Remove.
(Target::do_plt_address_for_global): New virtual function.
(Target::do_plt_address_for_local): New virtual function.
(Target::do_plt_section_for_global): Remove.
(Target::do_plt_section_for_local): Remove.
(Target::register_global_plt_entry): Add Symbol_table and Layout
parameters.
* output.cc (Output_data_got::Got_entry::write): Use
plt_address_for_global and plt_address_for_local.
* layout.cc (Layout::add_target_dynamic_tags): Use size and
address of output section.
* i386.cc (class Output_data_plt_i386): Add irelative_rel_,
got_irelative_, and irelative_count_ fields.  Update
declarations.
(Output_data_plt_i386::has_irelative_section): New function.
(Output_data_plt_i386::entry_count): Add irelative_count_.
(Output_data_plt_i386::set_final_data_size): Likewise.
(class Target_i386): Add got_irelative_ and rel_irelative_
fields.  Update declarations.
(Target_i386::Target_i386): Initialize new fields.
(Target_i386::do_plt_address_for_global): New function replacing
do_plt_section_for_global.
(Target_i386::do_plt_address_for_local): New function replacing
do_plt_section_for_local.
(Target_i386::got_section): Create got_irelative_.
(Target_i386::rel_irelative_section): New function.
(Output_data_plt_i386::Output_data_plt_i386): Initialize new
fields.  Don't define __rel_iplt_{start,end}.
(Output_data_plt_i386::add_entry): Add symtab and layout
parameters.  Change all callers.  Use different PLT and GOT for
IFUNC symbols.
(Output_data_plt_i386::add_local_ifunc_entry): Add symtab and
layout parameters.  Change all callers.  Use different PLT and
GOT.
(Output_data_plt_i386::rel_tls_desc): Fix formatting.
(Output_data_plt_i386::rel_irelative): New function.
(Output_data_plt_i386::address_for_global): New function.
(Output_data_plt_i386::address_for_local): New function.
(Output_data_plt_i386::do_write): Write out IRELATIVE area.  Use
IRELATIVE GOT when changing IFUNC GOT entries.
(Target_i386::Scan::global): Use IRELATIVE GOT for IRELATIVE
reloc.
(Target_i386::do_finalize_sections): Create the __rel_iplt symbols
if we didn't create an IRELATIVE GOT.
(Target_i386::Relocate::relocate): Use plt_address_for_global and
plt_address_for_local.
(Target_i386::do_dynsym_value): Use plt_address_for_global.
* x86_64.cc (class Output_data_plt_x86_64): Add irelative_rel_,
got_irelative_, and irelative_count_ fields.  Update
declarations.
(Output_data_plt_x86_64::Output_data_plt_x86_64) [both versions]:
Initialize new fields.  Remove symtab parameter.  Change all
callers.
(Output_data_plt_x86_64::get_tlsdesc_plt_offset): Add
irelative_count_.
(Output_data_plt_x86_64::has_irelative_section): New function.
(Output_data_plt_x86_64::entry_count): Add irelative_count_.
(class Target_x86_64): Add got_irelative_ and rel_irelative_
fields.  Update declarations.
(Target_x86_64::Target_x86_64): Initialize new fields.
(Target_x86_64::do_plt_address_for_global): New function replacing
do_plt_section_for_global.
(Target_x86_64::do_plt_address_for_local): New function replacing
do_plt_section_for_local.
(Target_x86_64::got_section): Create got_irelative_.
(Target_x86_64::rela_irelative_section): New function.
(Output_data_plt_x86_64::init): Remove symtab parameter.  Change
all callers.  Don't create __rel_iplt_{start,end}.
(Output_data_plt_x86_64::add_entry): Add symtab and layout
parameters.  Change all callers.  Use different PLT and GOT for
IFUNC symbols.
(Output_data_plt_x86_64::add_local_ifunc_entry): Add symtab and
layout parameters.  Change all callers.  Use different PLT and
GOT.
(Output_data_plt_x86_64::add_relocation): Add symtab and layout
parameters.  Change all callers.  Use different PLT and GOT for
IFUNC symbols.
(Output_data_plt_x86_64::rela_tlsdesc): Fix formatting.
(Output_data_plt_x86_64::rela_irelative): New function.
(Output_data_plt_x86_64::address_for_global): New function.
(Output_data_plt_x86_64::address_for_local): New function.
(Output_data_plt_x86_64::set_final_data_size): Likewise.
(Output_data_plt_x86_64::do_write): Write out IRELATIVE area.
(Target_x86_64::init_got_plt_for_update): Create got_irelative_.
(Target_x86_64::register_global_plt_entry): Add symtab and layout
parameters.
(Target_x86_64::Scan::global): Use IRELATIVE GOT for IRELATIVE
reloc.
(Target_x86_64::do_finalize_sections): Create the __rela_iplt
symbols if we didn't create an IRELATIVE GOT.
(Target_x86_64::Relocate::relocate): Use plt_address_for_global and
plt_address_for_local.
(Target_x86_64::do_dynsym_value): Use plt_address_for_global.
* testsuite/ifuncvar1.c: New test file.
* testsuite/ifuncvar2.c: New test file.
* testsuite/ifuncvar3.c: New test file.
* testsuite/Makefile.am (check_PROGRAMS): Add ifuncvar.
(ifuncvar1_pic.o, ifuncvar2_pic.o, ifuncvar.so): New targets.
(ifuncvar_SOURCES, ifuncvar_DEPENDENCIES): New variables.
(ifuncvar_LDFLAGS, ifuncvar_LDADD): New variables.
* testsuite/Makefile.in: Rebuild.

12 years ago * dwarf2loc.c (locexpr_regname): New function.
tromey [Fri, 8 Jul 2011 19:54:53 +0000 (19:54 +0000)]
* dwarf2loc.c (locexpr_regname): New function.
(locexpr_describe_location_piece): Use it.
(disassemble_dwarf_expression): Add per_cu argument.  Use
locexpr_regname.
<DW_OP_GNU_deref_type, DW_OP_GNU_const_type,
DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>:
New cases.
(locexpr_describe_location_1): Add per_cu argument.
(locexpr_describe_location): Update.
(loclist_describe_location): Update.

12 years ago * dwarf2expr.c (execute_stack_op): Add QUIT.
tromey [Fri, 8 Jul 2011 16:02:57 +0000 (16:02 +0000)]
* dwarf2expr.c (execute_stack_op): Add QUIT.

12 years ago * ld-insn.c (print_insn_words): For fields, print conditionals.
hp [Fri, 8 Jul 2011 08:37:26 +0000 (08:37 +0000)]
* ld-insn.c (print_insn_words): For fields, print conditionals.

12 years agoTweak heading of last entry
hp [Fri, 8 Jul 2011 06:26:14 +0000 (06:26 +0000)]
Tweak heading of last entry

12 years ago Correct handling of constant fields.
hp [Fri, 8 Jul 2011 06:24:11 +0000 (06:24 +0000)]
Correct handling of constant fields.
* gen.c (insn_field_cmp): Tweak comment about neither field
being an insn_field_string with a cond_eq-to-value condition.
(insns_bit_useless) <case insn_field_string, case
decode_find_mixed>: Handle cond_eq-to-value fields as
insn_field_int.
* gen-idecode.c (print_idecode_validate): Handle
insn_field_string cond-equal-to-value fields as insn_field_int.
* gen-icache.c (print_icache_body): Add comment why constant
string fields are handled.

12 years ago * Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
hp [Fri, 8 Jul 2011 03:41:13 +0000 (03:41 +0000)]
* Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
$(SIM_EXTRA_DEPS).

12 years ago * Makefile.in (tmp-mach-multi): Exit early when igen fails.
hp [Fri, 8 Jul 2011 03:18:56 +0000 (03:18 +0000)]
* Makefile.in (tmp-mach-multi): Exit early when igen fails.

12 years ago Remove all #if 0'd code.
hp [Fri, 8 Jul 2011 02:27:18 +0000 (02:27 +0000)]
Remove all #if 0'd code.
* filter.c: Remove #if 0'd function it_is.
(main): Remove #if 0'd code.
* gen-engine.c: Remove #if 0'd functions print_jump,
print_jump_insn, print_jump_definition,
print_jump_internal_function, print_jump_body.
(gen_engine_c): Remove #if 0'd code.
* gen-idecode.c: Remove #if 0'd functions print_jump print_jump,
print_jump_insn, print_jump_definition,
print_jump_internal_function, print_jump_until_stop_body.
* gen-model.c: Remove #if 0'd functions model_c_or_h_data,
model_c_or_h_function, gen_model_h, model_c_insn,
model_c_function, gen_model_c and types model_c_passed_data
and struct _model_c_passed_data.
* gen.c: Remove #if 0'd type constant_field_types and function
insn_field_is_constant.
(gen_entry_find_opcode_field): Remove #if 0'd code.
* ld-insn.c (parse_insn_model_record): Remove #if 0'd code.
* misc.h (STRDUP, STRNDUP): Remove #if 0'd macros.

12 years ago * MAINTAINERS: Remove Thiemo Seufer.
hp [Fri, 8 Jul 2011 01:43:09 +0000 (01:43 +0000)]
* MAINTAINERS: Remove Thiemo Seufer.

12 years agodaily update
amodra [Fri, 8 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update