aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-21 * coff-sh.c (bfd_pe_print_pdata): Define to NULL for nonNick Clifton5-187/+208
COFF_WITH_PE based SH ports. * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype. * arm-wince-pe.c (bfd_pe_print_pdata): Use _bfd_pe_print_ce_compressed_pdata. (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move to... * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to _bfd_XX_print_ce_compressed_pdata.
2008-07-21 * ld-scripts/include-sections.t: Discard all sections notNick Clifton4-3/+15
explicitly requested by the rest of the linker script. * ld-scripts/include-1.d: Expect test to fail for AIX ports. Do not assume that the .text section will be marked readonly. * ld-scripts/include.s: Replace .section directives with just .text or .data.
2008-07-21 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): DropAlan Modra2-1/+10
unwanted zero terminators.
2008-07-21 * elf32-spu.c (spu_elf_relocate_section): ExpandAlan Modra2-10/+57
RELOC_FOR_GLOBAL_SYMBOL. Don't warn about undefined symbols for R_SPU_PPU32 and R_SPU_PPU64 relocations.
2008-07-212008-07-20 Chris Demetriou <cgd@google.com>Chris Demetriou6-81/+149
* configure.ac (gold_cv_c_random_seed): New configured variable. (RANDOM_SEED_CFLAGS): New substituted variable. * Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Add $(RANDOM_SEED_CFLAGS). * configure: Rebuild. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise.
2008-07-21 * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.Luis Machado7-0/+48
* bfd/elf.c (elfcore_grok_ppc_vsx): New function. (elfcore_write_ppc_vsx): New function (elfcore_grok_note): Handle VSX notes. (elfcore_write_register_note): Handle VSX notes. * include/elf/common.h: Define NT_PPC_VSX. * binutils/readelf.c (get_note_type): Handle VSX notes.
2008-07-212008-07-20 Sergei Poselenov <sposelenov@emcraft.com>Chris Demetriou2-1/+8
Chris Demetriou <cgd@google.com> * elfread.c (elf_symfile_segments): Fix the check that each loadable section fits within an ELF segment to handle ELF segments that hit the end of the address space.
2008-07-21daily updateAlan Modra1-1/+1
2008-07-21*** empty log message ***gdbadmin1-1/+1
2008-07-202008-07-20 Chris Demetriou <cgd@google.com>Chris Demetriou2-0/+5
* MAINTAINERS (Write After Approval): Add self.
2008-07-20daily updateAlan Modra1-1/+1
2008-07-20*** empty log message ***gdbadmin1-1/+1
2008-07-19*** empty log message ***gdbadmin1-1/+1
2008-07-19daily updateAlan Modra1-1/+1
2008-07-18* config/tc-m32c.h (H_TICK_HEX): Define.DJ Delorie7-1/+87
* config/tc-m32c.c (OPTION_H_TICK_HEX): Define. (md_longopts): Add support for it. (md_parse_option): Likewise. * doc/as.texinfo (Overview): Add new m32c options. * doc/c-m32c.texi (M32C-Modifiers): Likewise * as.h: (enable_h_tick_hex): New. * app.c (enable_h_tick_hex): New. (LEX_IS_H): New. (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex. (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00 style hex constants and convert the input stream to 0x00 style. (do_scrub_chars): If a 'X style character constant is found after a symbol character (like you're or X'00), warn the user.
2008-07-18gdbTom Tromey15-77/+389
PR gdb/855: * NEWS: Add entry for macro commands. * Makefile.in (macrocmd.o): Add gdb_string.h. * macroscope.h (user_macro_scope): Declare. (default_macro_scope): Update documentation. (macro_user_macros): Declare. * c-lang.c (c_preprocess_and_parse): Always attempt macro lookup. Use user_macro_scope. (null_macro_lookup): Remove. * macrotab.h (macro_callback_fn): Declare. (macro_for_each): Likewise. (macro_allow_redefinitions): Likewise. * macrotab.c (foreach_macro): New function (macro_for_each): Likewise. (struct macro_table) <redef_ok>: New field. (macro_allow_redefinitions): New function. (new_macro_table): Update. (macro_define_function): Likewise. (macro_define_object): Likewise. * macroscope.c (user_macro_scope): New function. (default_macro_scope): Use it. (macro_user_macros): New global. (standard_macro_lookup): Look in macro_user_macros. (_initialize_macroscope): New function. * macroexp.h (macro_is_whitespace, macro_is_digit, macro_is_identifier_nondigit): Declare. * macroexp.c (macro_is_whitespace): Rename. No longer static. (macro_is_digit): Likewise. (macro_is_identifier_nondigit): Likewise. (get_identifier): Update. (get_pp_number): Likewise. (get_token): Likewise. * macrocmd.c (skip_ws): New function. (extract_identifier): Likewise. (free_macro_definition_ptr): Likewise. (user_macros): Remove. (macro_define_command): Implement. (_initialize_macrocmd): Update. (macro_undef_command): Implement. (print_one_macro): New function. (macro_list_command): Implement. gdb/doc * gdb.texinfo (Macros): Update. Use @code rather than @command. gdb/testsuite * gdb.base/macscp.exp: Add macro tests.
2008-07-18bfd:Joseph Myers30-7/+416
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter. * bfd-in2.h: Regenerate. * elf32-arm.c (struct elf_arm_obj_tdata): Add field no_wchar_size_warning. (bfd_elf32_arm_set_target_relocs): Add new parameter no_wchar_warn. (elf32_arm_merge_eabi_attributes): Give a warning, not an error, for conflicting wchar_t attributes. Do not warn if --no-wchar-size-warning. Make diagnostic text more specific. ld: * ld.texinfo (--no-wchar-size-warning): Document new ARM option. * emultempl/armelf.em (no_wchar_size_warning): New. (arm_elf_create_output_section_statements): Pass no_wchar_size_warning to arm_elf_create_output_section_statements. (OPTION_NO_WCHAR_SIZE_WARNING): New. (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. ld/testsuite: * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, ld-arm/attr-merge-wchar-44.d: New. * ld-arm/arm-elf.exp: Run new tests.
2008-07-18 * configure.ac: Put old value of $LIBS after -lbfd -liberty $intlJoseph Myers3-2/+8
in BFD ELF check. * configure: Regenerate.
2008-07-182008-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+13
PR ld/6748 * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize new fields added for ARM long call support.
2008-07-18 * pe-arm-wince.c (pe_print_compressed_pdata): Define new function toNick Clifton40-52/+458
print compressed pdata structure as described on MSDN. This only applies to a limited set of architectures (ARM, SH4). (slurp_symtab, my_symbol_for_address): Define static helper functions for pe_print_compressed_pdata. * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field. (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define. * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on bfd_coff_backend_data, call the function if non-null. * pei-mcore.c: Add target dependent initialisation for bfd_coff_backend_data. * coff-sh.c: Likewise. * coff64-rs6000.c: Likewise. * coff-rs6000.c: Likewise. * libcoff-in.h: Likewise. * cf-i386lynx.c: Likewise. * coff-alpha.c: Likewise. * coff-apollo.c: Likewise. * coff-arm.c: Likewise. * coff-aux.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-i386.c: Likewise. * coff-i860.c: Likewise. * coff-i960.c: Likewise. * coff-ia64.c: Likewise. * coff-m68k.c: Likewise. * coff-m88k.c: Likewise. * coff-maxq.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff-sparc.c: Likewise. * coff-tic30.c: Likewise. * coff-tic4x.c: Likewise. * coff-tic54x.c: Likewise. * coff-tic80.c: Likewise. * coff-w65.c: Likewise. * coff-we32k.c: Likewise. * coff-x86_64.c: Likewise. * coff-z80.c: Likewise. * coff-z8k.c: Likewise. * pe-mcore.c: Likewise. * pe-mips.c: Likewise. * pe-ppc.c: Likewise. * peXXigen.c: Likewise. * pei-ppc.c: Likewise. * libcoff.h: Regenerate.
2008-07-18 * symtab.cc (Symbol_table::add_from_object): Rewrite the caseIan Lance Taylor8-16/+108
where we see NAME/NULL and NAME/VERSION as separate symbols. * testsuite/ver_test_main.cc (main): Call t4. (t4, t4_2a): Define. * testsuite/ver_test_2.cc (t4_2): Define. * testsuite/ver_test_2.script: Put t4_2a in VER2. * testsuite/ver_test_4.cc (t4_2a): Define. * testsuite/ver_test_4.script: Put t4_2a in VER2. * testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.
2008-07-18 * dynobj.cc (Versions::add_def): If we give an error about aIan Lance Taylor2-5/+7
missing version, go ahead and create the version anyhow.
2008-07-18daily updateAlan Modra1-1/+1
2008-07-18*** empty log message ***gdbadmin1-1/+1
2008-07-17Fix for Linux/VDSO failure.Paul Pluzhnikov2-2/+6
2008-07-17Fix for failing gdb.base/auxv.exp on LinuxPaul Pluzhnikov2-0/+6
2008-07-17Fix for gdb.base/corefile.exp failure on LinuxPaul Pluzhnikov2-1/+6
2008-07-17daily updateAlan Modra1-1/+1
2008-07-17*** empty log message ***gdbadmin1-1/+1
2008-07-16 * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,Bernd Schmidt2-618/+624
bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook, ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE, struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code separate from non-FD-PIC.
2008-07-16daily updateAlan Modra1-1/+1
2008-07-16*** empty log message ***gdbadmin1-1/+1
2008-07-15Revert frame_unwind_caller_pc / frame_unwind_caller_id.Daniel Jacobowitz10-50/+20
2008-07-15* valops.c (value_cast_pointers): Follow typedefs when checkingAndreas Schwab2-397/+402
result of coercion.
2008-07-15Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elfPaul Pluzhnikov2-2/+6
2008-07-15 * block.c (block_function): Renamed to ...Daniel Jacobowitz6-10/+20
(block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this.
2008-07-15 * frame.c (frame_unwind_id): Renamed to ...Daniel Jacobowitz10-20/+50
(frame_unwind_caller_id): ... this. All callers updated. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. All callers updated. * frame.h: Document frame_unwind_caller_WHAT functions. (frame_unwind_id): Renamed to ... (frame_unwind_caller_id): ... this. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment. * stack.c (parse_frame_specification_1): Do not rely on frame_unwind_id.
2008-07-15 * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.Daniel Jacobowitz2-2/+6
2008-07-15 * frame.c (frame_sp_unwind): Delete.Daniel Jacobowitz3-12/+12
(get_frame_sp): Do not use it. * frame.h (frame_sp_unwind): Delete prototype.
2008-07-152008-07-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-16/+12
* objdump.c (load_debug_section): Initialize section_is_compressed for gcc 3.4/ia64. * readelf.c (load_debug_section): Likewise.
2008-07-15* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflowDJ Delorie2-9/+25
checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16 relocs. (mn10300_elf_relax_section): Correct jump offset check when target is in a different section.
2008-07-15 * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.Daniel Jacobowitz2-1/+5
2008-07-15Add missing ChangeLog entries forH.J. Lu1-0/+12
http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html
2008-07-15* dwarf2-frame.c (dwarf2_frame_cache): Update comment.Daniel Jacobowitz5-42/+56
* frame.c (frame_unwind_address_in_block): Delete. (get_frame_address_in_block): Do not use it. Check the type of the next frame first. (frame_cleanup_after_sniffer): Update comment. * frame.h (frame_unwind_address_in_block): Delete prototype. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
2008-07-15* frame.c (frame_func_unwind): Delete.Daniel Jacobowitz5-24/+24
(get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
2008-07-15 * remote-sim.c (init_gdbsim_ops): RemoveStan Shebs2-4/+5
TARGET_REDEFINE_DEFAULT_OPS.
2008-07-15 * findvar.c (read_var_value): Remove unused variable.Daniel Jacobowitz2-2/+4
2008-07-15 * infrun.c (handle_inferior_event): Tag threads as stoppedLuis Machado2-23/+28
before inserting breakpoints.
2008-07-15 bfd/Jie Zhang4-0/+38
* elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
2008-07-15* MAINTAINERS: Added myself to section Write After Approval.Hui Zhu2-0/+5