aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-15 Remove 'run_cleanup'.Vladimir Prus6-60/+17
* defs.h (do_run_cleanups, make_run_cleanup): Remove declarations. * infcmd.c (run_command_1): Call clear_solib instead of do_run_cleanups. * jv-lang.c (java_rerun_cleanup): Remove, for lack of any use. * solib.c (solib_cleanup_queued, do_clear_solib): Remove. (update_solib_lib): Don't setup run cleanup. (no_shared_libraries): Call clear_solib, not do_clear_solib. * utils.c (run_cleanup_chain, make_run_cleanup) (do_run_cleanups): Remove.
2007-11-15 Remove CLEAR_SOLIB use.Vladimir Prus5-13/+12
* corelow.c (core_close): Don't check for CLEAR_SOLIB. * infcmd.c (attach_command): Likewise.
2007-11-15 PR 5328Alan Modra2-8/+14
* opncls.c (separate_debug_file_exists): Use fopen/fread rather than open/read and open in binary mode.
2007-11-15From Craig Silverstein: Add support for --demangle.Ian Lance Taylor12-21/+100
2007-11-15*** empty log message ***gdbadmin1-1/+1
2007-11-14 * buildsym.c (start_subfile,start_symtab): Doc fixes.Doug Evans2-3/+10
2007-11-14daily updateAlan Modra1-1/+1
2007-11-14gas/H.J. Lu18-3434/+3518
2007-11-14 Tristan Gingold <gingold@adacore.com> * config/tc-ia64.c (AR_RUC): Defined. (ar): Add "ar.ruc". (specify_resource): Handle AR_RUC like AR_ITC. gas/testsuite/ 2007-11-14 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-raw-err.s: Add tests for ar.ruc. * gas/ia64/dv-waw-err.s: Likewise. * gas/ia64/invalid-ar.s: Likewise. * gas/ia64/regs.s: Add tests for ar.ruc and ar44. * gas/ia64/dv-raw-err.l: Updated. * gas/ia64/dv-waw-err.l: Likewise. * gas/ia64/invalid-ar.l: Likewise. * gas/ia64/regs.d: Likewise. opcodes/ 2007-11-14 H.J. Lu <hongjiu.lu@intel.com> * ia64-ic.tbl: Updated for Itanium 9100 series. * ia64-raw.tbl: Likewise. * ia64-waw.tbl: Likewise. * ia64-asmtab.c: Regenerated. 2007-11-14 Tristan Gingold <gingold@adacore.com> * ia64-dis.c (print_insn_ia64): Handle ar.ruc. * ia64-gen.c (lookup_regindex): Likewise.
2007-11-14From Cary Coutant: Improve i386 shared library TLS support.Ian Lance Taylor9-48/+535
2007-11-14bfd/Richard Sandiford39-433/+1004
2007-09-18 Richard Sandiford <richard@codesourcery.com> * elfxx-mips.c (mips_got_page_range): New structure. (mips_got_page_entry): Likewise. (mips_got_info): Add page_gotno and got_page_entries fields. (mips_elf_got_per_bfd_arg): Add max_pages field. Delete primary_count and current_count fields. (mips_got_page_entry_hash, mips_got_page_entry_eq): New functions. (mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise. (mips_elf_get_got_for_bfd): New function, split out from mips_elf_make_got_per_bfd. Initialize the page_gotno and got_page_entries fields when creating a new GOT structure. (mips_elf_make_got_pages_per_bfd): New function. (mips_elf_merge_got_with): New function, split out from mips_elf_make_got_per_bfd. Merge page entries as well as non-page entries. Use the minimum of max_pages and the sum of the page_gotnos to estimate the number of page entries. (mips_elf_merge_gots): Use the minimum of max_pages and the bfd's page_gotno to estimate the number of page entries. Use the above functions. (mips_elf_multi_got): Add page entries as well as non-page entries to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages. Initialize the page_gotno and got_page_entries fields when creating a new primary GOT. Use the minimum of pages and page_gotno when adding the number of pages entries to local_gotno. (mips_elf_create_got_section): Initialize the page_gotno and got_page_entries fields of the GOT structure. (mips_elf_rel_relocation_p, mips_elf_read_rel_addend) (mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New functions, split out from... (_bfd_mips_elf_relocate_section): ...here. (_bfd_mips_elf_check_relocs): Record GOT page entries too. (_bfd_mips_relax_section): Use mips_elf_get_section_contents. (_bfd_mips_elf_always_size_sections): Use the smaller of the loadable_size- and page_gotno-derived estimates. ld/testsuite/ 2007-09-18 Richard Sandiford <richard@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ld-mips-elf/got-page-1.d, ld-mips-elf/got-page-1.s, * ld-mips-elf/got-page-2.d, ld-mips-elf/got-page-2.s, * ld-mips-elf/got-page-3.d, ld-mips-elf/got-page-3a.s, * ld-mips-elf/got-page-3b.s, ld-mips-elf/got-page-3c.s, * ld-mips-elf/got-page-1.ld: New tests. * ld-mips-elf/mips-elf.exp: Run them. * ld-mips-elf/multi-got-1.d, ld-mips-elf/multi-got-no-shared.d, * ld-mips-elf/tls-hidden2-got.d, ld-mips-elf/tls-hidden2.d, * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got, * ld-mips-elf/tls-hidden3.r, ld-mips-elf/tls-hidden4.got, * ld-mips-elf/tls-hidden4.r, ld-mips-elf/tls-multi-got-1.d, * ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r, * ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsbin-o32.got, * ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, * ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, * ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, * ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got, * ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-o32-ver.got, * ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.got: Update for GOT allocation changes.
2007-11-14 * elfxx-mips.c (mips_elf_merge_obj_attributes): PreventThiemo Seufer2-0/+7
unwanted fallthroughs in case statement.
2007-11-14From Craig Silverstein: Report output file name with ODR violationIan Lance Taylor4-6/+7
warning message.
2007-11-14If generating a .err file fails, remove it.Ian Lance Taylor2-0/+4
2007-11-14From Craig Silverstein: Clean up DWARF line reader code.Ian Lance Taylor2-10/+2
2007-11-14Add heuristics for undefined symbol warnings.Ian Lance Taylor13-48/+129
2007-11-14Comment out undef_symbol.err for now.Ian Lance Taylor2-5/+7
2007-11-14 * ld-elf/flags1.d: Generalize regexp for section size.Hans-Peter Nilsson2-1/+5
2007-11-14Default to --allow-shlib-undefined for now.Ian Lance Taylor3-3/+7
2007-11-14Revert last patch.Ian Lance Taylor4-25/+1
2007-11-14Support special always-defined symbols for targets.Ian Lance Taylor4-1/+25
2007-11-14Warn about undefined references in shared libraries if we have seenIan Lance Taylor15-75/+361
all the DT_NEEDED entries for that library.
2007-11-14From Craig Silverstein: Rework debug info code a bit, add option forIan Lance Taylor15-75/+174
ODR violations, add test case.
2007-11-14*** empty log message ***gdbadmin1-1/+1
2007-11-13daily updateAlan Modra1-1/+1
2007-11-132007-11-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+17
PR binutils/5307 * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't copy input subsystem if output is different from input.
2007-11-13From Craig Silverstein: First cut at detecting ODR violations.Ian Lance Taylor4-107/+263
2007-11-13 * tui/tui-data.c (tui_prev_win): Guard against NULL.Thiago Jung Bauermann2-1/+6
2007-11-13merge from gccDJ Delorie2-7/+11
2007-11-132007-11-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-1/+39
PR binutils/5233 * ld-elf/flags1.d: New. * ld-elf/flags1.ld: Likewise. * ld-elf/flags1.s: Likewise.
2007-11-13* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be ↵Nick Clifton11-26/+191
generated for alignment fixups. * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation. * elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries. (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted. When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region. Move align relocs forward if there is room for them after the deletion of the region.
2007-11-13 PR 5233Alan Modra2-66/+87
* elf.c (rewrite_elf_program_header): Formatting. Add first_matching_lma and first_suggested_lma booleans and use instead of testing matching_lma and suggested_lma for zero.
2007-11-13From Craig Silverstein: Support debug info for shared libraries.Ian Lance Taylor2-50/+110
2007-11-13merge from gccDJ Delorie2-11/+7
2007-11-13 * floatformat.c (floatformat_ibm_long_double_is_valid): FixJoseph Myers2-7/+11
compiler warnings. (floatformat_ibm_long_double): Use floatformat_ibm_long_double_is_valid.
2007-11-13*** empty log message ***gdbadmin1-1/+1
2007-11-12daily updateAlan Modra1-1/+1
2007-11-12 * gas/macros/purge.s: Delete irpc loops.Alan Modra2-18/+7
2007-11-122007-11-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+23
PR binutils/5299 * peicode.h (pe_bfd_object_p): Save and restore previous bfd state when calling coff_object_p.
2007-11-12From Craig Silverstein: Dwarf_line_info can work with Object ratherIan Lance Taylor2-18/+8
than Sized_relobj.
2007-11-12From Craig Silverstein: Track_relocs doesn't need to hold onto theIan Lance Taylor2-8/+5
object.
2007-11-12From Craig Silverstein: rework DWARF reader code a bit.Ian Lance Taylor3-78/+88
2007-11-12Correct handling of GOT references in a regular object.Ian Lance Taylor5-4/+60
2007-11-12 PR gas/5269Nick Clifton3-737/+751
* config/tc-frv.c (md_show_usage): Rewrite usage description to make it easier to translate. * gas/po/gas.pot: Regenerate.
2007-11-122007-11-12 Markus Deuling <deuling@de.ibm.com>Markus Deuling3-284/+258
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove obsolete comment. (verify_gdbarch, gdbarch_dump): Likewise. (do_read): Update comment. (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat) (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch. * gdbarch.{c,h}: Regenerate.
2007-11-122007-11-12 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-32/+57
* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression. (ARGS_FIRST_REG): Remove. (areg_numer): New function. (xtensa_pseudo_register_read, xtensa_frame_prev_register) (xtensa_extract_return_value, xtensa_store_return_value) (xtensa_frame_cache): Replace AREG_NUMBER by areg_number. (AREG_NUMBER): Remove. (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter. (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY. (xtensa_push_dummy_call): Update use of ARG_NOF. (extract_call_winsize): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. (xtensa_extract_return_value, xtensa_store_return_value): Update call of extract_call_winsize.
2007-11-12 * NEWS: Add entry for new set/show print frame-args command.Joel Brobecker2-0/+11
2007-11-12Fix date in the last entry.Joel Brobecker1-1/+1
2007-11-12 * gdb.texinfo (Print Settings): Add documentation for "set/showJoel Brobecker2-0/+50
print frame-arguments".
2007-11-12 * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbolAlan Modra2-2/+8
pointer when we have a valid symbol. Init udata.p to NULL.
2007-11-12 * gas/ppc/regnames.d: New.Alan Modra4-0/+18
* gas/ppc/regnames.s: Likewise. * gas/ppc/ppc.exp: Run it.