aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-102008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel2-3/+9
* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes of local variables used for mnemonic parsing: prefix, suffix and number.
2008-04-10 * listing.c: Add -ag listing flag to show general information inNick Clifton8-13/+171
listings such as gas version, passed options, and time stamp. (listing_general_info): New function. (print_options): New function. (print_single_option): New function. (print_timestamp): New function. (MAX_DATELEN): Define. (listing_print): Add call to listing_general_info. * listing.h (LISTING_GENERAL): Define. (listing_print): Add new parameter. * as.c (show_usage): Print new switch. (parse_args): Parse new switch. (main): Pass command line on to listing_print. * NEWS: Mention this new feature. * doc/as.texinfo: Document the new sub-option. * gas/all/gas.exp: Check the performance of the -ag command line switch.
2008-04-102008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel5-276/+301
* s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic extensions for conditional jumps (o, p, m, nz, z, nm, np, no). (s390_crb_extensions): New extensions table. (insertExpandedMnemonic): Handle '$' tag. * s390-opc.txt: Remove conditional jump variants which can now be expanded automatically. Replace '*' tag with '$' in the compare and branch instructions. 2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z10.d: Map the compare and branch variants with odd condition code mask to version with an even mask.
2008-04-10 PR gold/5996Ian Lance Taylor5-24/+87
* script-sections.cc (Sections_element::allocate_to_segment): Add orphan parameter. (Output_section_definition::allocate_to_segment): Likewise. (Orphan_output_section::allocate_to_segment): Likewise. (Script_sections::attach_sections_using_phdrs_clause): Don't propagate non-PT_LOAD segments to orphan sections. * testsuite/Makefile.am (script_test_3.stdout): Generate using readelf rather than objdump. * testsuite/script_test_3.sh: Adjust accordingly. Test that .interp section and PT_INTERP segment are the same size. * testsuite/Makefile.in: Rebuild.
2008-04-10Fix typo in comment in last commit.Ian Lance Taylor1-1/+1
2008-04-10daily updateAlan Modra1-1/+1
2008-04-10*** empty log message ***gdbadmin1-1/+1
2008-04-09 * symtab.cc (Symbol_table::add_from_dynobj): Only look for weakIan Lance Taylor9-4/+340
aliases for symbols defined in the same object. * testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test. (weak_alias_test_SOURCES): New variable. (weak_alias_test_DEPENDENCIES): New variable. (weak_alias_test_LDFLAGS): New variable. (weak_alias_test_LDADD): New variable. (weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets. (weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets. (weak_alias_test_3.o): New target. (weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets. * testsuite/weak_alias_test_main.cc: New file. * testsuite/weak_alias_test_1.cc: New file. * testsuite/weak_alias_test_2.cc: New file. * testsuite/weak_alias_test_3.cc: New file.
2008-04-09gdb/ChangeLogMarc Khouzam10-46/+241
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * mi/mi-cmd-var.c: Include "mi-getopt.h". (mi_parse_format): New. Factored out from mi_cmd_var_set_format. (mi_cmd_var_set_format): Use new mi_parse_format. (mi_cmd_var_evaluate_expression): Support for -f option to specify format. * Makefile.in (mi-cmd-var.o): Update dependencies. * varobj.h (varobj_get_formatted_value): Declare. * varobj.c (my_value_of_variable): Added format parameter. (cplus_value_of_variable): Likewise. (java_value_of_variable): Likewise. (c_value_of_variable): Likewise. Evaluate expression based on format parameter. (struct language_specific): Add format parameter to function member *value_of_variable. (varobj_get_formatted_value): New. (varobj_get_value): Added format parameter to method call. gdb/doc/ChangeLog 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * gdb.texinfo (GDB/MI Variable Objects): Add anchor to -var-set-format. Add -f option to -var-evaluate-expression. gdb/testsuite/ChangeLog 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * gdb.mi/mi2-var-display.exp: Added tests for the new -f option of -var-evaluate-expression. * gdb.mi/mi2-var-display.exp: Likewise.
2008-04-09 * options.h (class General_options): Add --noinhibit-exec option.Ian Lance Taylor3-1/+10
* main.cc (main): Check --noinhibit-exec.
2008-04-09 * options.h (class General_options): Define --wrap as a specialIan Lance Taylor9-1/+127
option. Add wrap_symbols_ field. (General_options::any_wrap_symbols): New function. (General_options::is_wrap_symbol): New function. * options.cc (General_options::parse_wrap): New function. (General_options::General_options): Initialize wrap_symbols_. * symtab.cc (Symbol_table::wrap_symbol): New function. (Symbol_table::add_from_object): Handle --wrap. * symtab.h (class Symbol_table): Declare wrap_symbol. * target.h (Target::wrap_char): New function. (Target::Target_info): Add wrap_char field. * i386.cc (Target_i386::i386_info): Initialize wrap_char. * x86_64.cc (Target_x86_64::x86_64_info): Likewise. * testsuite/testfile.cc (Target_test::test_target_info): Likewise.
2008-04-09 * errors.cc (Errors::undefined_symbol): Mention symbol version ifIan Lance Taylor2-3/+12
there is one.
2008-04-09 * layout.h (class Layout): Add added_eh_frame_data_ field.Ian Lance Taylor4-5/+25
* layout.cc (Layout::Layout): Initialize new field. (Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame output section until we find a section we merged successfully. * object.cc (Sized_relobj::check_eh_frame_flags): Don't require that the size be non-zero.
2008-04-09*** empty log message ***gdbadmin1-1/+1
2008-04-09daily updateAlan Modra1-1/+1
2008-04-08 * stabsread.c (cleanup_undefined_types_noname): Manually set theJoel Brobecker2-1/+13
instance flags of the undefined type before calling replace_type.
2008-04-08 * merge.cc (Object_merge_map::get_output_offset): Remove inlineIan Lance Taylor2-1/+6
qualifier.
2008-04-08Fix trailing space.Vladimir Prus1-1/+1
2008-04-08 * target.h (enum strata): Remove the download_stratum.Vladimir Prus2-2/+5
2008-04-08 * configure.ac: Export new conditional variable HAVE_ZLIB.Ian Lance Taylor6-30/+73
* testsuite/Makefile.am (flagstest_o_specialfile): Condition on HAVE_ZLIB. (flagstest_o_specialfile_and_compress_debug_sections): Likewise. * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
2008-04-08 * version.cc (version_string): Set to "1.5".Ian Lance Taylor2-1/+3
2008-04-08 allinsn.exp: Removed target_alias and global_ld_options.M R Swami Reddy2-2/+4
2008-04-08Modified Files:M R Swami Reddy1-0/+7
ChangeLog: Add simulator for National cr16 processor. * cr16: New directory with cr16 simulator files. * configure.ac: Add an entry for National cr16 target. * configure: Regenerate.
2008-04-08Added Files:M R Swami Reddy10-0/+14538
ChangeLog config.in configure configure.ac cr16_sim.h endian.c gencode.c interp.c Makefile.in simops.c: Add these file for CR16 target simulator.
2008-04-08 * configure.ac: Add an entry for National CR16 target.M R Swami Reddy2-0/+12
* configure: Regenerate.
2008-04-08 ChangeLog: sim/cr16/: New directory. Added tests for CR16 simulator.M R Swami Reddy1-0/+43
2008-04-08 ChangeLog: New fileM R Swami Reddy1-0/+23
2008-04-08 New files: Testcases for cr16 instruction set.M R Swami Reddy123-0/+2714
2008-04-08 testutils.inc: New file: Test macros for cr16 target.M R Swami Reddy1-0/+72
2008-04-08 allinsn.exp misc.exp: New files: Test run scriptsM R Swami Reddy2-0/+45
2008-04-08 gennltvals.sh: Add cr16 target sys macros.M R Swami Reddy3-0/+45
nltvals.def: Rebuild.
2008-04-08sim-cr16.h: New file. Added for cr16 target.M R Swami Reddy2-0/+110
2008-04-08Updated the MAINTAINERS file: Add myself as maintainer of cr16 port.M R Swami Reddy1-0/+4
2008-04-08Add myself as maintainer of cr16 port.M R Swami Reddy1-0/+1
2008-04-08 * po/POTFILES.in: Regenerate.Alan Modra2-2/+4
2008-04-08 * dwarf.c: Remove trailing whitespace throughout file.Alan Modra2-19/+23
2008-04-08 * elf32-spu.c (spu_elf_build_stubs): Correct error message.Alan Modra2-3/+9
(mark_functions_via_relocs): Remove premature init of symtab_hdr. (collect_overlays): Commment typo fix.
2008-04-08 * elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack noteAlan Modra2-1/+6
in EXEC_P bfds.
2008-04-08 * x86_64.cc (Target_x86_64::Scan): Change from struct to class.Ian Lance Taylor2-1/+67
Add issued_non_pic_error_ field. Declare check_non_pic. (Target_x86_64::Scan::check_non_pic): New function. (Target_x86_64::Scan::local): Call check_non_pic as appropriate. (Target_x86_64::Scan::global): Likewise.
2008-04-08bfd/Alan Modra5-80/+1410
* elf32-spu.c: Include libiberty.h. (struct spu_link_hash_table): Add local_stire, overlay_fixed, reserved, non_ovly_stub, spu_elf_load_ovl_mgr, spu_elf_open_overlay_script, spu_elf_relink, auto_overlay fields. (AUTO_OVERLAY, AUTO_RELINK, OVERLAY_RODATA): Define. (needs_ovl_stub): Flip test so that call to non-function warning is emitted during relocate_section rather than earlier. (spu_elf_check_vma): Stash --auto-overlay parameters, and clear auto_overlay if no section exceeds local store. (struct call_info): Add count, max_depth, is_pasted fields. (struct function_info): Add rodata, last_caller, call_count, depth, new visit flags. (insert_callee): Increment call count. (copy_callee): New function. (mark_functions_via_relocs): Investigate all reloc types to count possible function pointer stubs for --auto-overlay. Track last_caller and increment function call_count. (pasted_function): Insert a "call" into call info for pasted section. (remove_cycles): Track max depth of calls. Don't emit call graph pruning warning for --auto-overlay. (build_call_tree): Don't transfer_calls for --auto-overlay. Adjust remove_cycles call. (sort_calls, sort_lib, sort_bfds): New functions. (struct _mos_param, struct _uos_param, struct _cl_param): New. (mark_overlay_section, unmark_overlay_section): New functions. (collect_lib_sectios, auto_ovl_lib_functions): New functions. (collect_overlays, find_pasted_call): New functions. (sum_stack): Deal with is_pasted "calls". Exit before printing when --auto-overlay. (spu_elf_auto_overlay): New function. (spu_elf_final_link): Call spu_elf_auto_overlay. * elf32-spu.h (spu_elf_check_vma): Update prototype. ld/ * emultempl/spuelf.em (auto_overlay, auto_overlay_file, auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars. (spu_before_allocation): Warn on --auto-overlay and existing overlays. (struct tflist, clean_tmp): Move. (new_tmp_file): New function, extracted from.. (embedded_spu_file): ..here. (spu_elf_open_overlay_script, spu_elf_relink): New function. (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params. Warn on --auto-overlay and zero local store. (gld${EMULATION_NAME}_choose_target): New function to stash argv. (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK, OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE, OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define. (PARSE_AND_LIST_LONGOPTS): Add entries for new options. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. (LDEMUL_CHOOSE_TARGET): Define.
2008-04-08*** empty log message ***gdbadmin1-1/+1
2008-04-08daily updateAlan Modra1-1/+1
2008-04-07 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_whereAlan Modra2-32/+31
call. Delete out of date comment. (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen. (dwarf2_emit_label): Don't emit unless there has been a previous .file or we are outputting assembler generated debug. dwarf2_consume_line_info after emitting line info, not before. (out_debug_info): Simplify files_in_use test.
2008-04-07 * ld-spu/ovl2.s: Extend to test jump table references andAlan Modra3-29/+95
absolute _SPUEAR_ syms. * ld-spu/ovl2.d: Update.
2008-04-07 * output.cc (Output_reloc<SHT_REL>::local_section_offset): AddIan Lance Taylor7-9/+76
addend parameter. Change caller. Handle merge sections. (Output_reloc<SHT_REL>::symbol_value): Change parameter type from Address to Addend. Don't add in the result of local_section_offset, pass down the addend and use the returned value. * output.h (class Output_reloc<SHT_REL>): Add Addend typedef. Update declarations of local_section_offset and symbol_value. * testsuite/two_file_test_1.cc (t18): New function. * testsuite/two_file_test_2.cc (f18): New function. * testsuite/two_file_test_main.cc (main): Call t18. * testsuite/two_file_test.h (t18, f18): Declare.
2008-04-07 * configure.ac: Don't test for objdump, c++filt, or readelf.Ian Lance Taylor6-135/+143
* testsuite/Makefile.am: Remove READELF and OBJDUMP_AND_CPPFILT conditionals. (TEST_READELF): New variable. (TEST_OBJDUMP, TEST_CXXFILT, TEST_STRIP): New variables. (check_PROGRAMS): Add two_file_strip_test. (two_file_strip_test): New target. (check_PROGRAMS): Add two_file_same_shared_strip_test. (two_file_same_shared_strip_test_SOURCES): New variable. (two_file_same_shared_strip_test_DEPENDENCIES): New variable. (two_file_same_shared_strip_test_LDFLAGS): New variable. (two_file_same_shared_strip_test_LDADD): New variable. (two_file_shared_strip.so): New target. (ver_test_2.syms, ver_test_4.syms): Use TEST_READELF. (ver_test_5.syms, ver_test_7.syms): Likewise. (ver_matching_test.stdout): Use TEST_OBJDUMP and TEST_CXXFILT. (strip_test_3.stdout): Use TEST_OBJDUMP. * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
2008-04-07 * Makefile.def: check-gold depends upon all-binutils.Ian Lance Taylor3-0/+16
* Makefile.in: Regenerate.
2008-04-072008-04-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-106/+111
* i386-dis.c (PREFIX_VEX_38XX): Add a tab. (PREFIX_VEX_3AXX): Likewis.
2008-04-07 * buildsym.h (last_source_file): Add dwarf info to comment.Doug Evans2-2/+9
(last_source_start_addr): Ditto.
2008-04-072008-04-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+4
* i386-opc.tbl: Remove 4 extra blank lines.