Alan Modra
a16ac506e4
daily update
2009-12-09 23:00:04 +00:00
Daniel Jacobowitz
a747059210
bfd/
...
* elf32-arm.c (elf32_arm_next_input_section): Skip sections without
SEC_CODE.
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add farcall-data.
* ld-arm/farcall-data.d, ld-arm/farcall-data.s: New.
* lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct
regular expression for archives.
2009-12-09 21:42:00 +00:00
H.J. Lu
2f2de24889
2009-12-09 H.J. Lu <hongjiu.lu@intel.com>
...
* testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES):
Replace two_file_shared_1.so with two_file_shared_2.so.
* testsuite/Makefile.in: Regenerated.
2009-12-09 16:26:36 +00:00
Tristan Gingold
2480cfa040
2009-12-03 Tristan Gingold <gingold@adacore.com>
...
* machoread.c (macho_symfile_read): Use symbol_file_add_separate
to add dsym files.
2009-12-09 14:53:25 +00:00
Tristan Gingold
9cce227f8c
2009-12-02 Tristan Gingold <gingold@adacore.com>
...
* symfile.h (symbol_file_add_separate): New prototype.
(find_separate_debug_file_by_buildid): Ditto.
(find_separate_debug_file_by_debuglink): Ditto.
* symfile.c (reread_separate_symbols): Remove.
(find_separate_debug_file): Split into ...
(find_separate_debug_file_by_buildid): ... this and ...
(find_separate_debug_file_by_debuglink): ... this.
(symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs.
Remove separate debug file handling.
(symbol_file_add_separate): New function.
(reread_symbols): Do not considere separate debug files, but free
them while handling their parent. Reindent.
* coffread.c (coff_symfile_read): Handle separate object file.
* elfread.c (elf_symfile_read): Ditto.
2009-12-09 13:44:53 +00:00
Tristan Gingold
be6f64938f
2009-12-09 Tristan Gingold <gingold@adacore.com>
...
* addr2line.c (translate_addresses): Display addresses
if option -a is used.
(with_addresses): New variable.
(long_options): Add option '-a'.
(usage): Add usage for option '-a'.
(main): Handle option '-a'.
* doc/binutils.texi (addr2line): Document option '-a'.
* NEWS: Mention new feature.
2009-12-09 12:58:23 +00:00
Joel Brobecker
03b952fdda
* acinclude.m4: Update comment.
2009-12-09 10:10:49 +00:00
Joel Brobecker
f18c46810d
* acinclude.m4: Link against in-tree libiconv by adding
...
libiconv.a to the LIBS instead of using -liconv.
* configure: Regenerate.
2009-12-09 10:07:15 +00:00
Nick Clifton
07a28fab11
PR 10924
...
* arm-dis.c (print_insn_arm): Mark insns that use the PC in
post-indexed addressing as unpredictable.
2009-12-09 08:38:04 +00:00
Phil Muldoon
8d099ae953
2009-12-09 Phil Muldoon <pmuldoon@redhat.com>
...
* python/py-type.c (typy_range): Initialize variables to zero.
2009-12-09 07:49:31 +00:00
Yoshinori Sato
3a6c31f95c
2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
...
* compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
Index registers not masked memory areas.
Only simply increment or decrement.
* compile.c(store_1): Ditto.
2009-12-09 05:32:16 +00:00
Doug Kwan
4f7872716e
2009-12-08 Doug Kwan <dougkwan@google.com>
...
* Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc.
(HFILES): Add attributes.h and int_encoding.h.
* Makefile.in: Regenerate.
* dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move
function definitions to int_encoding.cc
* dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move
prototypes to int_encoding.h
* reduced_debug_output.cc (int_encoding.h): New include.
(write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move
function definitions to int_encoding.cc
(insert_into_vector, read_from_pointer): Move template definitions to
int_encoding.h
* attributes.cc: New file.
* attributes.h: New file.
* int_encoding.cc: New file.
* int_encoding.h: New file.
2009-12-09 03:02:28 +00:00
Alan Modra
829da89821
PR ld/11012
...
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd ..
(INITIAL_RELOC_SECTIONS): .. to here. New define.
* scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.
2009-12-09 01:26:03 +00:00
gdbadmin
76c239510f
*** empty log message ***
2009-12-09 00:00:03 +00:00
Alan Modra
f1b1fcd149
daily update
2009-12-08 23:00:04 +00:00
Cary Coutant
357da2877f
* dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
...
(debug_displays): Remove duplicate entry for debug_pubtypes.
2009-12-08 19:01:51 +00:00
Phil Muldoon
361ae04250
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
...
PR python/10804
* python/py-type.c (typy_range): New Function.
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-type.exp (test_range): New test.
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Types In Python): Describe range function.
2009-12-08 14:06:04 +00:00
Doug Evans
40b5c9fb4b
* charset.c: Include environ.h.
...
(ignore_line_p): New function.
(find_charset_names): Handle older versions of iconv that print
human-readable output even if stdout is not a tty.
2009-12-08 07:25:32 +00:00
Doug Evans
16b8170d50
* pex-unix.c (pex_unix_exec_child): Save/restore environ.
2009-12-08 07:15:36 +00:00
Alan Modra
3281215912
* elf.c (write_zeros): New function.
...
(assign_file_positions_for_load_sections): Allocate file space for
NOBITS sections that are followed by PROGBITS sections in a segment.
2009-12-08 03:43:23 +00:00
H.J. Lu
087d837e04
Call symbol_same_p to check to if 2 symbols are the same.
...
gas/
2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11037
* expr.c (resolve_expression): Call symbol_same_p to check
if 2 symbols are the same.
* symbols.c (symbol_same_p): New.
* symbols.h (symbol_same_p): Likewise.
gas/testsuite/
2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11037
* gas/i386/intelpic.s: Add testcases.
* gas/i386/intelpic.d: Updated.
2009-12-08 03:14:29 +00:00
Kevin Buettner
34207b9e41
* NEWS: Announce Renesas RX support.
2009-12-08 00:17:45 +00:00
gdbadmin
26da80b4d6
*** empty log message ***
2009-12-08 00:00:33 +00:00
Alan Modra
03722bbc8c
daily update
2009-12-07 23:00:04 +00:00
Rafael Ávila de Espíndola
20b52f1af3
2009-12-07 Rafael Avila de Espindola <espindola@google.com>
...
PR gold/11055
* incremental-dump.cc (dump_incremental_inputs): New.
(main): Use dump_incremental_inputs.
2009-12-07 21:36:52 +00:00
Kaveh Ghazi
d9b76ff95d
Sync with GCC:
...
PR middle-end/30447
PR middle-end/30789
PR other/40302
* configure.ac: Require MPC.
* configure: Regenerate.
* configure.ac: Update minimum MPC version to 0.8.
* configure: Regenerate.
2009-12-07 20:24:59 +00:00
Kevin Buettner
baa835b4f4
* configure.tgt: Add rx-*-elf target.
...
* rx-tdep.c: New target.
2009-12-07 19:58:41 +00:00
H.J. Lu
53d7974cd8
2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
...
PR gold/10893
* i386.cc (Target_i386::Scan::globa): Use is_func instead of
checking elfcpp::STT_FUNC.
(Target_i386::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Scan::global): Likewise.
* symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC
symbols from shared libraries into normal FUNC symbols.
* symtab.h (Symbol): Add is_func and use it.
2009-12-07 17:14:55 +00:00
Tristan Gingold
f43525316b
2009-12-07 Tristan Gingold <gingold@adacore.com>
...
* symfile.h (struct sym_fns): Adjust comment on sym_read.
* symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
* dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
adjust header comment.
* elfread.c (elf_symfile_read): Ditto.
* somread.c (som_symfile_read): Ditto.
* xcoffread.c (xcoff_initial_scan): Ditto.
* coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
* machoread.c (macho_symfile_read): Ditto.
* mipsread.c (mipscoff_symfile_read): Ditto.
2009-12-07 09:47:40 +00:00
Tristan Gingold
de1d8fb992
2009-12-07 Tristan Gingold <gingold@adacore.com>
...
* dbxread.c (dbx_symfile_read): No need to test mainline to call
init_psymbol_list.
* xcoffread.c (xcoff_initial_scan): Ditto;
* coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
* elfread.c (elf_symfile_read): Ditto.
* machoread.c (macho_symfile_read): Ditto.
2009-12-07 09:36:44 +00:00
gdbadmin
e1c9c36ff6
*** empty log message ***
2009-12-07 00:00:33 +00:00
Alan Modra
8875744070
daily update
2009-12-06 23:00:05 +00:00
Doug Kwan
05a352e6a7
2009-12-05 Doug Kwan <dougkwan@google.com>
...
elfcpp/ChangeLog:
* arm.h: Define enums for Tag_CPU_arch EABI attribute.
gold/ChangeLog:
* arm.cc (Target_arm::arm_info): Initialize new fields
attributes_section and attributes_vendor.
* i386.cc (Target_i386::i386_info): Same.
* object.cc (Sized_relobj::do_layout): Skip attribute section.
* gold/powerpc.cc (Target_powerpc::powerpc_info): Initialize new
fields attributes_section and attributes_vendor.
* sparc.cc (Target_sparc::sparc_info): Same.
* target.h (Target::attributes_section, Target::attributes_vendor,
Target::is_attributes_section, Target::attribute_arg_type,
Target::attributes_order): New method definitions.
(Target::Target_info::attributes_section,
Target::Target_info::attributes_vendor): New fields.
(Target::do_attribute_arg_type, Target::do_attributes_order): New
virtual method definitions.
* x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
attributes_section and attributes_vendor.
* testsuite/testfile.cc (Target_test::test_target_info): Same.
2009-12-06 02:49:46 +00:00
Doug Kwan
f4e5969cc0
2009-12-05 Doug Kwan <dougkwan@google.com>
...
* arm.cc: Update comments about interworking and stub generation.
(Target_arm::Relocate::reloc_is_non_pic): Update list of relocations
considered as non-PIC.
(Arm_relocate_functions::base_abs): Fix formatting.
(Arm_relocate_functions::got_prel): Fix comment. Change interface
of function to use GOT entry address instead of offset.
(Target_arm::Scan::global): Issue an error if a symbol would need a
PLT does not get one because it is untyped. Remove code to create
dynamic symbols for relative branches.
(Target_arm::Relocate::relocate: Use 0 instead of false since function
takes unsigned integer instead of boolean.
2009-12-06 02:20:53 +00:00
gdbadmin
e4d730da37
*** empty log message ***
2009-12-06 00:00:33 +00:00
H.J. Lu
1abce4a658
2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
...
* testsuite/Makefile.am (constructor_test_LDADD): New. Empty.
(two_file_test_LDADD): Likewise.
(common_test_1_LDADD): Likewise.
(exception_test_LDADD) Likewise.
(weak_test_LDADD): Likewise.
(many_sections_test_LDADD): Likewise.
(initpri1_LDADD): Likewise.
(script_test_1_LDADD): Likewise.
(script_test_2_LDADD): Likewise.
(justsyms_LDADD): Likewise.
(binary_test_LDADD): Likewise.
(large_LDADD): Likewise.
* testsuite/Makefile.in: Regenerated.
2009-12-05 23:22:54 +00:00
Alan Modra
8f7447a22c
daily update
2009-12-05 23:00:04 +00:00
H.J. Lu
adcf2816e2
2009-12-04 H.J. Lu <hongjiu.lu@intel.com>
...
* resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL.
(Symbol_table::override_with_special): Likewise.
(Symbol_table::add_from_object): Likewise.
2009-12-05 07:28:45 +00:00
gdbadmin
6b372c7dcf
*** empty log message ***
2009-12-05 00:00:03 +00:00
Alan Modra
1df7a8d997
daily update
2009-12-04 23:00:04 +00:00
Daniel Jacobowitz
7f79b1c54f
* valops.c (value_struct_elt_for_reference): Do not rely on
...
field order.
2009-12-04 20:26:33 +00:00
Rafael Ávila de Espíndola
28e67f5d75
2009-12-04 Rafael Avila de Espindola <espindola@google.com>
...
* incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
Don't set the data_offset twice.
2009-12-04 18:18:18 +00:00
Rafael Ávila de Espíndola
ae10a10115
pda
2009-12-04 15:47:49 +00:00
H.J. Lu
eacc9c891d
Support fxsave64 and fxrstor64.
...
gas/testsuite/
2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run x86-64-fxsave and x86-64-fxsave-intel.
* gas/i386/rex.d: Updated for fxsave64.
* gas/i386/x86-64-fxsave-intel.d: New.
* gas/i386/x86-64-fxsave.d: Likewise.
* gas/i386/x86-64-fxsave.s: Likewise.
opcodes/
2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (FXSAVE_Fixup): New.
(FXSAVE): Likewise.
(mod_table): Use FXSAVE on fxsave and fxrstor.
* i386-opc.tbl: Add fxsave64 and fxrstor64.
* i386-tbl.h: Regenerated.
2009-12-04 07:51:41 +00:00
Jie Zhang
90f5d9d961
* ld.texinfo: Make it clear that --nmagic disables linking
...
against shared libraries.
2009-12-04 07:28:13 +00:00
gdbadmin
3d2a8c7328
*** empty log message ***
2009-12-04 00:00:03 +00:00
Doug Kwan
f59f41f3e6
2009-12-03 Doug Kwan <dougkwan@google.com>
...
* arm.cc: Remove comment about missing .ARM.exidx section symbols.
(Target_arm::do_finalize_sections): Add parameter for symbol table
pointer. Add __exidx_start and __exidx_end symbols as appropriate.
* i386.cc (Target_i386::do_finalize_sections): Add an additional
parameter for symbol table pointer.
* layout.cc (Layout::finalize): Call Target::finalize_sections with
an additional parameter for a pointer to symbol table.
* powerpc.cc (Target_powerpc::do_finalize_sections): Add an additional
parameter for a symbol table pointer.
* sparc.cc (Target_sparc::do_finalize_sections): Ditto.
* target.h (Target::finalize_sections, Target::do_finalize_sections):
Ditto.
* x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional
parameter for a symbol table pointer.
2009-12-03 23:13:55 +00:00
Alan Modra
6bfd70b9fd
daily update
2009-12-03 23:00:04 +00:00
Phil Muldoon
bfd31e7118
2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
...
* python/py-type.c (convert_field): New attribute "is_base_class".
doc/
2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
* gdb.texinfo (Types In Python): Describe "is_base_class".
testsuite/
2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
PR python/10805
* gdb.python/py-type.exp: New file.
* gdb.python/py-type.c: New file.
* Makefile.in: Add py-type.
2009-12-03 21:19:49 +00:00
Tom Tromey
57a1d73695
gdb
...
* python/python.c (gdbpy_parse_and_eval): New function.
(GdbMethods): Add "parse_and_eval".
gdb/testsuite
* gdb.python/py-value.exp (test_parse_and_eval): New
function.
gdb/doc
* gdb.texinfo (Basic Python): Document gdb.parse_and_eval.
2009-12-03 18:30:02 +00:00