Daniel Jacobowitz
52efb61a1c
* top.c (execute_command): Select a frame before checking the current
...
language. Only output a message if verbose.
2009-11-05 20:43:52 +00:00
Daniel Jacobowitz
f8b7eaf30a
* config/m68k-emc.exp, lib/emc-support.exp,
...
gdb.trace/gdb_c_test.c: Delete.
* gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
gdb.trace/collection.exp, gdb.trace/deltrace.exp,
gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
casing for m68k-*-elf.
2009-11-05 20:06:03 +00:00
Ian Lance Taylor
12af2ab656
Remove debugging code accidentally included in last commit.
2009-11-05 19:56:41 +00:00
Ian Lance Taylor
96a0d71b76
PR 10910
...
* output.cc (Output_segment::add_output_section): Add missing
return statement.
2009-11-05 19:54:30 +00:00
Tom Tromey
1c9e835890
* symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.
...
* symfile.c (allocate_symtab): Don't use obsavestring on a
constant string.
* stabsread.c (define_symbol): Don't use obsavestring on a
constant string.
* mdebugread.c (parse_type): Don't use obsavestring on a constant
string.
(new_symtab): Likewise.
* elfread.c (elf_symtab_read): Don't use obsavestring on a
constant string.
2009-11-05 19:53:04 +00:00
Nick Clifton
ddbb8a31d5
* lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
...
* ldlang.h (struct lang_input_statement_struct): Rename add_needed
to add_DT_NEEDED_for_dynamic. Rename as_needed to
add_DT_NEEDED_for_regular.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlang.c: Use the new variable names.
* ldgram.y: Likewise.
* emultempl/elf32.em: Likewise.
* ld.texinfo: Document the renamed option. Also mention its
affect on the resolution of dynamic symbols.
* NEWS: Mention the changed option name.
2009-11-05 15:35:50 +00:00
Nick Clifton
3cbc5de02a
* elflink.c (elf_link_add_object_symbols): Improve error
...
message generated when a symbol is left unresolved because a
--no-add-needed command line option has prevented the
inclusion of the DSO defining it.
2009-11-05 15:34:18 +00:00
Nick Clifton
cdcf946711
* gas/i386/i386.exp (space1): Move test inside check for x86
...
target.
2009-11-05 11:02:16 +00:00
Kai Tietz
fa0d16bebf
2009-11-05 Kai Tietz <kai.tietz@onevision.com>
...
* dllwrap.c (is_leading_underscore): New variable.
(cpu_type): New enum type.
(which_cpu): New variable.
(usage): Add new options --no-leading-underscore
and --leading-underscore.
(long_options): Likewise.
(OPTION_NO_LEADING_UNDERSCORE): New define.
(OPTION_LEADING_UNDERSCORE): Likewise.
(main): Initialize which_host, pass new options
to dlltool, do underscoring dependent on
is_leading_underscore, and do '@12' decoration
only for x86.
2009-11-05 09:49:07 +00:00
Ian Lance Taylor
594c8e5ede
PR 10880
...
* object.h (class Object): Add is_needed and set_is_needed
methods. Add is_needed_ field. Make bool fields into bitfields.
* symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
defined in a dynamic object and referenced by a regular object,
set is_needed for the dynamic object.
* layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
if the file is marked with as_needed and it is not needed.
2009-11-05 06:24:39 +00:00
DJ Delorie
946ef19679
[opcodes]
...
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
* rx-decode.c: Regenerate.
* rx-dis.c (cpen): Remove.
[gas]
* config/rx-parse.y (MVTIPL): Update bit pattern.
(cpen): Remove.
[include/opcode]
* rx.h (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
2009-11-05 02:31:40 +00:00
DJ Delorie
0d734b5d06
[opcodes]
...
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
* rx-decode.c: Regenerate.
* rx-dis.c (cpen): Remove.
[gas]
* config/rx-parse.y (MVTIPL): Update bit pattern.
(cpen): Remove.
[include/opcode]
* rx.h (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
2009-11-05 00:38:45 +00:00
gdbadmin
f0b666055b
*** empty log message ***
2009-11-05 00:00:04 +00:00
Tom Tromey
8c2963fbcf
* symfile.c (add_psymbol_to_bcache): Don't copy name. Make
...
'psymbol' non-static.
2009-11-04 23:06:50 +00:00
Alan Modra
d90834c7df
daily update
2009-11-04 23:00:05 +00:00
H.J. Lu
6c78a1f83e
2009-11-04 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/876
* gas/i386/i386.exp: Run space1.
* gas/i386/space1.l: New.
* gas/i386/space1.s: Likewise.
2009-11-04 18:52:03 +00:00
Kai Tietz
decfa41eac
2009-11-04 Kai Tietz <kai.tietz@onevision.com>
...
* emulparams/arm_epoc_pe.sh: Remove ENTRY.
* emulparams/arm_wince_pe.sh: Likewise.
* emulparams/i386pe.sh: Likewise.
* emulparams/i386pe_posix.sh: Likewise.
* emulparams/mcorepe.sh: Likewise.
* emulparams/mipspe.sh: Likewise.
* emulparams/ppcpe.sh: Likewise.
* emulparams/armpe.sh: Likewise.
* emulparams/i386pep.sh: Likewise.
* emulparams/shpe.sh: Likewise.
Additionally cleaned up double-defined
variables SUBSYSTEM and INITIAL_SYMBOL_CHAR.
* emultempl/pe.em: Remove use of ENTRY.
(pe_subsystem): New local variable.
(gld_XXX_before_parse): Don't set default
entry point here.
(set_entry_point): New function to set entry
point.
(set_pe_subsystem): Remove code for entry point.
(gld_XXX_after_parse): Use set_entry_point here.
* emultempl/pep.em: Likewise.
2009-11-04 18:13:05 +00:00
Ian Lance Taylor
22b127cceb
PR 10887
...
* arm.cc (Target_arm::do_finalize_sections): Don't add dynamic
tags if data is discarded by linker script.
* i386.cc (Target_i386::do_finalize_sections): Likewise.
* powerpc.cc (Target_powerpc::do_finalize_sections): Likewise.
* sparc.cc (Target_sparc::do_finalize_sections): Likewise.
* x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
2009-11-04 16:35:51 +00:00
Ian Lance Taylor
f5c870d25d
* layout.cc (Layout::get_output_section): Add is_interp and
...
is_dynamic_linker_section parameters. Change all callers.
(Layout::choose_output_section): Likewise.
(Layout::make_output_section): Likewise.
(Layout::add_output_section_data): Add is_dynamic_linker_section
parameter. Change all callers.
* layout.h (class Layout): Update declarations.
* output.h (class Output_section): Add is_interp, set_is_interp,
is_dynamic_linker_section, set_is_dynamic_linker_section methods.
Add is_interp_, is_dynamic_linker_section_ fields. Change
generate_code_fills_at_write_ to a bitfield.
* output.cc (Output_section::Output_sections): Initialize new
fields.
(Output_segment::add_output_section): Add do_sort parameter.
Change all callers.
2009-11-04 15:56:03 +00:00
Paul Brook
c7cbc7a8c2
Fix ChangeLog typo.
2009-11-04 10:22:03 +00:00
Maxim Kuvyrkov
2c678708e6
2009-11-04 Daniel Jacobowitz <dan@codesourcery.com>
...
Maxim Kuvyrkov <maxim@codesourcery.com>
* config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux.
(CFI_DIFF_LSDA_OK): Define.
* config/te-uclinux.h: New file.
* configure.tgt (m68k-uclinux): Define em.
* dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro.
(dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.
2009-11-04 09:52:00 +00:00
Doug Evans
d51b88d344
* m32c-desc.c: Regenerate.
...
* mep-desc.c: Regenerate.
2009-11-04 06:18:27 +00:00
Doug Evans
fb067cad5a
* arch.c: Regenerate.
...
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.
2009-11-04 05:42:21 +00:00
Doug Evans
1a5691a5c5
* arch.c: Regenerate.
...
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.
2009-11-04 05:16:33 +00:00
Doug Evans
e9c6059176
* arch.c: Regenerate.
...
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpu2.c: Regenerate.
* cpu2.h: Regenerate.
* cpuall.h: Regenerate.
* cpux.c: Regenerate.
* cpux.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* decode2.c: Regenerate.
* decode2.h: Regenerate.
* decodex.c: Regenerate.
* decodex.h: Regenerate.
* model.c: Regenerate.
* model2.c: Regenerate.
* modelx.c: Regenerate.
* sem-switch.c: Regenerate.
* sem.c: Regenerate.
* sem2-switch.c: Regenerate.
* semx-switch.c: Regenerate.
2009-11-04 05:07:00 +00:00
Doug Evans
894a1d7b60
* Makefile.in (mloop.c): Add @true to rule.
...
(mloopx.c, mloop2.c): Ditto.
(stamp-*): Add Makefile dependency.
(arch.c, arch.h, cpuall.h): Specify full path.
(cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto.
(cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto.
(cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.
2009-11-04 05:02:18 +00:00
Doug Evans
fda1c30b0b
* arch.c: Regenerate.
...
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode-compact.c: Regenerate.
* decode-compact.h: Regenerate.
* decode-media.c: Regenerate.
* decode-media.h: Regenerate.
* defs-compact.h: Regenerate.
* defs-media.h: Regenerate.
* sem-compact-switch.c: Regenerate.
* sem-compact.c: Regenerate.
* sem-media-switch.c: Regenerate.
* sem-media.c: Regenerate.
* sh-desc.c: Regenerate.
* sh-opc.h: Regenerate.
2009-11-04 04:40:47 +00:00
Doug Evans
b29791a834
* arch.c: Regenerate.
...
* arch.h: Regenerate.
* cpu.c: Regenerate.
* cpu.h: Regenerate.
* cpuall.h: Regenerate.
* decode.c: Regenerate.
* decode.h: Regenerate.
* model.c: Regenerate.
* sem.c: Regenerate.
2009-11-04 04:33:07 +00:00
Ian Lance Taylor
1ae4d23b73
PR 10860
...
* options.h (class General_options): Add --warn-common.
* resolve.cc (Symbol_table::resolve): Handle --warn-common when
merging two common symbols.
(Symbol_table::should_override): Handle --warn-common when merging
a common symbol with a defined symbol. Use report_resolve_problem
for multiple definitions.
(Symbol_table::report_resolve_problem): New function.
* symtab.h (class Symbol_table): Declare report_resolve_problem.
2009-11-04 01:24:41 +00:00
gdbadmin
690a96ed8c
*** empty log message ***
2009-11-04 00:00:03 +00:00
Alan Modra
f94567824c
daily update
2009-11-03 23:00:03 +00:00
Doug Kwan
55da957988
2009-11-03 Doug Kwan <dougkwan@google.com>
...
* arm.cc (Target_arm::Target_arm): Initialize stub_tables_ and
stub_factory_.
(Target_arm::stub_factory): New method definition.
(Target_arm::new_arm_input_section,
Target_arm::find_arm_input_section, Target_arm::new_stub_table,
Target_arm::reloc_uses_thumb_bit): New method declarations.
(Target_arm::Stub_table_list, Target_arm::Arm_input_section_map):
New type definitions.
(Target_arm::stub_tables_, Target_arm::stub_factory_): New data
member declarations.
(Target_arm::reloc_uses_thumb_bit, Target_arm::new_arm_input_section,
Target_arm::find_arm_input_section, Target_arm::new_stub_table):
New method definitions.
2009-11-03 21:18:13 +00:00
Paul Pluzhnikov
12b6a1106b
2009-11-03 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* linux-thread-db.c (disable_thread_event_reporting): Adjust.
2009-11-03 17:14:56 +00:00
Doug Evans
62d08856b0
* Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
...
(sh-desc.o): New rule.
(sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h.
(all generated file rules): Specify generated file with full path.
2009-11-03 16:56:52 +00:00
Nathan Sidwell
c418769792
* gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
...
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
2009-11-03 16:44:16 +00:00
Ian Lance Taylor
37a9ac43fb
* options.h (class General_options): Add --warn_constructors.
2009-11-03 15:57:02 +00:00
Ian Lance Taylor
b3d6a3d42f
PR 10893
...
* defstd.cc (in_section): Add entries for __rel_iplt_start,
__rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
2009-11-03 15:41:50 +00:00
Ian Lance Taylor
934b01dddc
PR 10895
...
* po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and
--msgid-bugs-address.
(install-pdf): New target.
(install-data_yes): Look up one directory to find mkinstalldirs.
2009-11-03 15:20:30 +00:00
Ian Lance Taylor
f77507bd98
* elfcpp.h: Remove trailing commas from enum definitions.
2009-11-03 15:12:03 +00:00
H.J. Lu
03c1939be4
2009-11-03 H.J. Lu <hongjiu.lu@intel.com>
...
* po/Make-in (.po.gmo): Don't generate .gmo files in source
tree.
2009-11-03 14:43:10 +00:00
Joel Brobecker
b06adb8115
* MAINTAINERS (Responsible Maintainers): Add Tristan Gingold as
...
maintainer of the avr target.
2009-11-03 14:36:11 +00:00
Ulrich Weigand
6567fa84dc
2009-11-03 Alan Modra <amodra@bigpond.net.au>
...
Ulrich Weigand <uweigand@de.ibm.com>
* elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs
(jump tables or other references to code labels) as well.
2009-11-03 13:58:49 +00:00
Paul Brook
1ee6951580
2009-11-03 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls excoding.
gas/testsuite/
* gas/arm/vfp-neon-syntax.d: Update expected results.
* gas/arm/vfp-neon-syntax_t2.d: Update expected results.
2009-11-03 12:37:45 +00:00
Nathan Sidwell
8838b45ede
* configure.ac (i[34567]86-*): Check if we're targetting x86-64
...
with an i686 compiler.
* configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if
needed.
* configure: Rebuilt.
2009-11-03 09:33:18 +00:00
gdbadmin
adcc131549
*** empty log message ***
2009-11-03 00:00:03 +00:00
Alan Modra
3ddeef5ffd
daily update
2009-11-02 23:00:05 +00:00
Daniel Jacobowitz
db16b77203
* lib/gdb.exp (gdb_expect): Fix timeout typo.
2009-11-02 17:28:16 +00:00
Daniel Jacobowitz
ad09a54881
* elfread.c (elf_symfile_segments): Do not warn about
...
uninitialized sections outside of load segments.
2009-11-02 17:16:14 +00:00
Daniel Jacobowitz
bcf7127760
* gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2009-11-02 15:59:01 +00:00
Daniel Jacobowitz
0105cee2be
* gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2009-11-02 15:53:53 +00:00