Commit Graph

58158 Commits

Author SHA1 Message Date
Nick Clifton a61ca861bc * ld.texinfo (Orphan Sections): Fix texi typo. 2008-06-04 10:07:22 +00:00
Nick Clifton 696b7ad299 PR ld/6019
* elf32-avr.c (elf32_avr_relax_section): Handle the case where
        there are no local symbols.
2008-06-04 09:59:08 +00:00
Nick Clifton 0fe58ccd2b * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
(ld_options): Add entry for --no-fatal-warnings.
        (parse_args): Handle OPTION_NO_WARN_FATAL.
        * ld.texinfo (Options): Document new command line switch.
2008-06-04 09:45:05 +00:00
Alan Modra d77ec87195 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg. 2008-06-04 07:08:01 +00:00
Alan Modra 1f27ab8de1 * elf32-spu.c (get_sym_h): Don't attempt to read global syms.
(process_stubs): Likewise.
	(discover_functions): Don't used cached symbols.
	(maybe_insert_function): Correct condition under which function
	array is realloc'd.
	(mark_functions_via_relocs): Delete unused variable.
2008-06-04 07:07:19 +00:00
gdbadmin 73e752baef *** empty log message *** 2008-06-04 00:00:35 +00:00
Alan Modra 81c41e7378 daily update 2008-06-04 00:00:05 +00:00
H.J. Lu cb19c0328d gas/
2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (set_sse_check): New.
	(md_pseudo_table): Add "sse_check".

gas/testsuite/

2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/i386.exp: Run sse-check-none and
	x86-64-sse-check-none.

	* gas/i386/sse-check-none.d: New.
	* gas/i386/sse-check-none.s: Likewise.
	* gas/i386/x86-64-sse-check-none.d: Likewise.
2008-06-03 17:31:52 +00:00
Paul Brook 4ecab7d4c2 2008-06-03 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (do_t_rbit): Populate both rm fields.
	gas/testsuite/
	* gas/arm/thumb32.d: Update expected output.
2008-06-03 14:29:07 +00:00
Daniel Jacobowitz 93a57060b7 * solib-svr4.c (struct lm_info): Add lm_addr.
(main_lm_addr): New.
	(svr4_default_sos): Set lm_addr.
	(svr4_current_sos): Set lm_addr and main_lm_addr.
	(svr4_fetch_objfile_link_map): Rewrite.
	(svr4_clear_solib): Clear main_lm_addr.
2008-06-03 12:59:37 +00:00
Joseph Myers 609ba7801a 2008-06-03 Michael Snyder <msnyder@redhat.com>
Joseph Myers  <joseph@codesourcery.com>

	* mips-tdep.c (mips_eabi_return_value): Replace stub that always
	returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2008-06-03 10:53:34 +00:00
gdbadmin 7317d33400 *** empty log message *** 2008-06-03 00:00:33 +00:00
Alan Modra bdac03e477 daily update 2008-06-03 00:00:05 +00:00
Joel Brobecker c95f502610 * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test. 2008-06-02 16:06:52 +00:00
Joel Brobecker e4d8bc0898 * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn. 2008-06-02 16:05:57 +00:00
Nick Clifton 476d8a222c * ldlang.c (closest_target_match): Skip generic big and little
endian ELF targets.

(The patch itself was actually checked in by mistake with a previous delta)
2008-06-02 06:49:58 +00:00
Joel Brobecker 40adab5634 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
treat pointers in data space as function descriptors if the
        target address is also in the data space.
2008-06-02 03:12:33 +00:00
gdbadmin 4e53207b52 *** empty log message *** 2008-06-02 00:00:06 +00:00
Alan Modra 29d070cc57 daily update 2008-06-02 00:00:05 +00:00
Alan Modra 0def9f42e1 daily update 2008-06-01 00:00:05 +00:00
gdbadmin e932e889d7 *** empty log message *** 2008-06-01 00:00:03 +00:00
Nick Clifton de7dd2bdee PR ld/6430
* testsuite/ld-elfcomm/elfcomm.exp (test_sort_common): Test the
            ascending/descending argument to the --sort-common command line
            option.
            * testsuite/ld-elfcomm/sort-common.s: New file.
            * ld.h (enum sort_order): New.
            * ldlang.c (lang_check: Fix comment.
            (lang_common): Sort commons in ascending or descending order.
            (lang_one_common): Likewise.
            * lexsup.c (ld_options): Have --sort-common take an option
            argument.
            (parse_args): Handle argument to --sort-common.
            * ld.texinfo (--sort-common): Document new optional argument.
            * NEWS: Mention new feature.
2008-05-31 16:35:56 +00:00
Nick Clifton c7eb6be45e Ooops, omitted from previous delta 2008-05-31 16:04:57 +00:00
gdbadmin 7895b093f6 *** empty log message *** 2008-05-31 00:00:32 +00:00
Alan Modra 942dc83a61 daily update 2008-05-31 00:00:05 +00:00
Cary Coutant 3e90f13524 * archive.cc (Archive::include_all_members) Correct to step
over symbol table and extended name table in thin archives.
2008-05-30 21:24:43 +00:00
H.J. Lu a5dabbb023 gas/testsuite/
2008-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/x86-64-avx.s: Add tests for vmovd on 64bit operands.

	* gas/i386/x86-64-sse2avx.s: Add tests for movd on 64bit
	operands.

	* gas/testsuite/gas/i386/x86-64-avx.d: Updated.
	* gas/testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
	* gas/testsuite/gas/i386/x86-64-sse2avx.d: Likewise.

opcodes/

2008-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-opc.tbl: Add vmovd with 64bit operand.
	* i386-tbl.h: Regenerated.
2008-05-30 19:49:18 +00:00
Joel Brobecker bfd66dd95a * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
the trad-frame register value for the SP register.
2008-05-30 17:03:55 +00:00
Nick Clifton adfef0bd47 PR ld/6511
* elf64-hppa.c (allocate_global_data_opd): Default to using the
        dynamic symbol table for local function names in shared libraries.
2008-05-30 16:13:53 +00:00
Nick Clifton 0a903babef PR 5523
* config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
        relocs here.
2008-05-30 14:20:27 +00:00
gdbadmin c2760c3517 *** empty log message *** 2008-05-30 00:00:34 +00:00
Alan Modra 4199b5c406 daily update 2008-05-30 00:00:04 +00:00
Ian Lance Taylor e09ad04ada PR 6407
* target-reloc.h (relocate_for_relocatable): Fix new_offset
	calculation.
2008-05-29 23:51:30 +00:00
Adam Nemet b15591bb36 * config/tc-mips.c (mips_cpu_info_table): Move records for
ST Loongson-2E/2F processors to a better place.
2008-05-29 16:03:41 +00:00
Mark Kettenis 7ea566bee7 * sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes. 2008-05-29 15:51:37 +00:00
Ulrich Weigand 76b233ddaa * linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer. 2008-05-29 11:53:12 +00:00
Jan Kratochvil 11701589a8 bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust pre-section
	gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
binutils/testsuite/
	* binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY.
	(keep_debug_symbols_and_test_copy): New function.
	(test5, test6): New variables.
2008-05-29 07:07:21 +00:00
Joel Brobecker fcac911af1 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
that identifies function descriptors outside of the .opd section.
2008-05-29 00:19:33 +00:00
Alan Modra 1aafe37a59 daily update 2008-05-29 00:00:05 +00:00
gdbadmin 0ee2386550 *** empty log message *** 2008-05-29 00:00:02 +00:00
Ian Lance Taylor 62b01cb503 elfcpp/:
* dwarf.h (enum DW_FORM): Define.
gold/:
	* reduced_debug_output.cc: New file.
	* reduced_debug_output.h: New file.
	* options.h (class General_optoins): Add --strip-debug-non-line.
	* options.cc (General_options::finalize): Add strip_debug_non_line
	to the strip heirarchy.
	* layout.h (class Layout): Add debug_abbrev_ and debug_info_
	fields.
	* layout.cc: Include "reduced_debug_output.h".
	(Layout::Layout): Initialize new fields.
	(line_only_debug_sections): New static array.
	(is_lines_only_debug_sections): New static inline function.
	(Layout::include_section): Handle --strip-debug-non-line.
	(Layout::make_output_section): If --strip-debug-non-line, build
	new output sections for .debug_abbrev and .debug_info.
	* dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace
	gold.  Warn about possible overflow.
	(read_signed_LEB_128): Likewise.
	* dwarf_reader.h: (read_unsigned_LEB_128): Declare.
	(read_signed_LEB_128): Declare.
	* Makefile.am (CCFILES): Add reduced_debug_output.cc.
	(HFILES): Add reduced_debug_output.h.
	* Makefile.in: Rebuild.
2008-05-28 20:48:16 +00:00
Nick Clifton 1a51c1a48d ld/testsuite/
* ld-arm/arm-elf.exp: Skip farcalls tests for non-ARM-EABI
        targets.
        * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: New file.
        * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.

        ld/
        * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
        only.
2008-05-28 15:38:36 +00:00
Aleksandar Ristovski ade9271736 * breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
temporary catchpoints.  In MI add missing fields 'reason', 'disp',
	'bkptno'.
	(print_mention_exception_catchpoint): Add 'Temporary' for temporary
	catchpoints.
	(handle_gnu_v3_exceptions): Use tempflag.
2008-05-28 14:04:21 +00:00
Vladimir Prus f7f9ae2c16 Refactor varobj_update interface.
* varobj.c (varobj_update): Report changes as vector.  Also
        return not just a list of varobj, but a list of special structures
        that tell what exactly has changed.
        * varobj.h (enum varobj_update_error): Rename to
        varobj_scope_status.
        (struct varobj_update_result_t): New.
        (varobj_update): Adjust prototype.
        * mi/mi-cmd-var.c: Adjust for changes.
2008-05-28 12:06:36 +00:00
Alan Modra 124b52c6d8 * elf32-spu.c (spu_elf_object_p): New function.
(elf_backend_object_p): Define.
	(build_stub): Correct second word of 8 byte overlay stubs.
	(spu_elf_relocate_section): Formatting.
2008-05-28 08:15:27 +00:00
Vladimir Prus ea56f9c264 * varobj.c (varobj_update): Fix comment typo.
Fix indentation.
2008-05-28 06:49:56 +00:00
Alan Modra ec386385a6 daily update 2008-05-28 00:00:05 +00:00
gdbadmin fbcb6f2902 *** empty log message *** 2008-05-28 00:00:02 +00:00
Joel Brobecker c7efd0b9df Set the symtab field of symbols read from ECOFF debugging entries.
* mdebugread.c (add_symbol): Add new parameter symtab.
        (parse_symbol): Update calls to add_symbol throughout.
2008-05-27 20:24:51 +00:00
Andreas Schwab 2a2d4dc301 * symtab.h (enum address_class): Remove LOC_REGPARM and
LOC_COMPUTED_ARG.
	(struct symbol): Add is_argument.
	(SYMBOL_IS_ARGUMENT): Define.

	* ada-lang.c (ada_add_block_symbols): Use SYMBOL_IS_ARGUMENT.
	* buildsym.c (finish_block): Likewise.
	* stack.c (print_frame_args, print_block_frame_locals)
	(print_frame_arg_vars): Likewise.
	* symtab.c (lookup_block_symbol): Likewise.
	* tracepoint.c (add_local_symbols): Likewise.
	* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.

	* coffread.c (process_coff_symbol): Set SYMBOL_IS_ARGUMENT.
	* dwarf2read.c (new_symbol): Likewise.
	* mdebugread.c (parse_symbol): Likewise.
	* stabsread.c (define_symbol): Likewise.

	* ada-exp.y (select_possible_type_sym): Don't handle LOC_REGPARM
	and LOC_COMPUTED_ARG.
	* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
	* ax-gdb.c (gen_var_ref): Likewise.
	* eval.c (evaluate_subexp_for_address): Likewise.
	* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
	* m2-exp.y (yylex): Likewise.
	* printcmd.c (address_info): Likewise.
	* symmisc.c (print_symbol, print_partial_symbols): Likewise.
	* tracepoint.c (collect_symbol, scope_info): Likewise.

testsuite/:
	* gdb.base/frame-args.exp: Handle arguments that are optimized
	out.
2008-05-27 19:29:52 +00:00