summaryrefslogtreecommitdiff
path: root/binutils
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Xilinx MicroBlaze processor.Nick Clifton2009-08-062-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}. * bfd/Makefile.in: Same. * bfd/archures.c: Add bfd_arch_microblaze. * bfd/bfd-in2.h: Regenerate. * bfd/config.bfd: Add microblaze target. * bfd/configure: Add bfd_elf32_microblaze_vec target. * bfd/configure.in: Same. * bfd/cpu-microblaze.c: New. * bfd/elf32-microblaze.c: New. * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc(). * bfd/libbfd.h: Regenerate. * bfd/reloc.c: Add MICROBLAZE relocations. * bfd/section.c: Add struct relax_table and relax_count to section. * bfd/targets.c: Add bfd_elf32_microblaze_vec. * binutils/MAINTAINERS: Add self as maintainer. * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE & EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(), get_machine_name(). * config.sub: Add microblaze target. * configure: Same. * configure.ac: Same. * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add DEP_microblaze_elf target. * gas/Makefile.in: Same. * gas/config/tc-microblaze.c: Add MicroBlaze assembler. * gas/config/tc-microblaze.h: Add header for tc-microblaze.c. * gas/configure: Add microblaze target. * gas/configure.in: Same. * gas/configure.tgt: Same. * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. * gas/doc/Makefile.in: Same. * gas/doc/all.texi: Set MICROBLAZE. * gas/doc/as.texinfo: Add MicroBlaze doc links. * gas/doc/c-microblaze.texi: New MicroBlaze docs. * include/dis-asm.h: Decl print_insn_microblaze(). * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD. * include/elf/microblaze.h: New reloc definitions. * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to ALL_EMULATIONS, targets. * ld/Makefile.in: Same. * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets. * ld/emulparams/elf32mb_linux.sh: New. * ld/emulparams/elf32microblaze.sh. New. * ld/scripttempl/elfmicroblaze.sc: New. * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to CFILES, microblaze-dis.lo to ALL_MACHINES, targets. * opcodes/Makefile.in: Same. * opcodes/configure: Add bfd_microblaze_arch target. * opcodes/configure.in: Same. * opcodes/disassemble.c: Define ARCH_microblaze, return print_insn_microblaze(). * opcodes/microblaze-dis.c: New MicroBlaze disassembler. * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions. * opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
* Correct date.H.J. Lu2009-08-061-1/+1
|
* 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-08-064-0/+21
| | | | | | | | PR binutils/10492 * binutils-all/objcopy.exp: Run strip-10. * binutils-all/strip-10.d: New. * binutils-all/unique.s: Likewise.
* 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-08-032-4/+13
| | | | | | PR binutils/10364 * objcopy.c (strip_main): Check return from smart_rename. (copy_main): Likewise.
* binutils/testsuite/Daniel Jacobowitz2009-07-312-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * binutils-all/arm/thumb2-cond.s: Use instructions instead of .short. gas/ * config/obj-elf.c (obj_elf_ident): Notify section change to the hook. * config/tc-arm.c (make_mapping_symbol): New function, from mapping_state. Save mapping symbols in the frag. (insert_data_mapping_symbol): New. (mapping_state): Use make_mapping_symbol, improve state transitions. (mapping_state_2): New. Provide dummy definition. (opcode_select): Do not call mapping_state. (s_bss): Call md_elf_section_change_hook instead of mapping_state. (output_inst): Update use of tc_frag_data. (new_automatic_it_block): Call mapping_state before emitting the IT instruction. (md_assemble): Move mapping_state to just before outputting the new instruction. (arm_handle_align): Update use of tc_frag_data. Call insert_data_mapping_symbol. (arm_init_frag): Update use of tc_frag_data. Call mapping_state_2. (arm_elf_change_section): Always update the mapping symbol FSM state. (check_mapping_symbols): New function. (arm_adjust_symtab): Use check_mapping_symbols. * config/tc-arm.h (struct arm_frag_type): New. (TC_FRAG_TYPE): Change to struct arm_frag_type. (TC_FRAG_INIT): Pass max_chars. (arm_init_frag): Update prototype. gas/testsuite/ * gas/arm/mapdir.d, gas/arm/mapdir.s: New files. * gas/arm/mapping.d: Adapted to new symbols generation. * gas/arm/mapping2.d: New test case. * gas/arm/mapping2.s: New file. * gas/arm/mapping3.d: New test case. * gas/arm/mapping3.s: New file. * gas/arm/mapping4.d: New test case. * gas/arm/mapping4.s: New file. * gas/arm/mapshort-eabi.d: Adapted to new symbols generation. * gas/elf/section2.e-armeabi: Adapted to new symbols generation.
* * binutils-all/testranges.s: Replace .value with .short.Alan Modra2009-07-292-1/+5
|
* PR 10413Nick Clifton2009-07-272-18/+27
| | | | | * objdump.c (dump_section_header): Skip sections that we are ignoring.
* bfd/H.J. Lu2009-07-252-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * archures.c (bfd_architecture): Add bfd_arch_l1om. (bfd_l1om_arch): New. (bfd_archures_list): Add &bfd_l1om_arch. * bfd-in2.h: Regenerated. * config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if bfd_elf64_x86_64_vec is supported. Add bfd_elf64_l1om_freebsd_vec if bfd_elf64_x86_64_freebsd_vec is supported. (targ_selvecs): Likewise. * configure.in: Support bfd_elf64_l1om_vec and bfd_elf64_l1om_freebsd_vec. * configure: Regenerated. * cpu-l1om.c: New. * elf64-x86-64.c (elf64_l1om_elf_object_p): New. (bfd_elf64_l1om_vec): Likewise. (bfd_elf64_l1om_freebsd_vec): Likewise. * Makefile.am (ALL_MACHINES): Add cpu-l1om.lo. (ALL_MACHINES_CFILES): Add cpu-l1om.c. * Makefile.in: Regenerated. * targets.c (bfd_elf64_l1om_vec): New. (bfd_elf64_l1om_freebsd_vec): Likewise. (_bfd_target_vector): Add bfd_elf64_l1om_vec and bfd_elf64_l1om_freebsd_vec. binutils/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (guess_is_rela): Handle EM_L1OM. (dump_relocations): Likewise. (get_machine_name): Likewise. (get_section_type_name): Likewise. (get_elf_section_flags): Likewise. (get_symbol_index_type): Likewise. (is_32bit_abs_reloc): Likewise. (is_32bit_pcrel_reloc): Likewise. (is_64bit_abs_reloc): Likewise. (is_64bit_pcrel_reloc): Likewise. (is_none_reloc): Likewise. gas/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add l1om. (check_cpu_arch_compatible): New. (set_cpu_arch): Use it. (i386_arch): New. (i386_mach): Return bfd_mach_l1om for Intel L1OM. (md_show_usage): Display l1om. (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if cpu_arch_isa_flags.bitfield.cpul1om is set. * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()). (i386_arch): New. (ELF_TARGET_L1OM_FORMAT): Likewise. * doc/c-i386.texi: Document l1om. gas/testsuite/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/l1om.d: New. * gas/i386/l1om-inval.l: Likewise. * gas/i386/l1om-inval.s: Likewise. * gas/i386/i386.exp: Run l1om-inval and l1om. include/elf/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * common.h (EM_L1OM): New. ld/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. (targ_extra_emuls): Likewise. * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and eelf_l1om_fbsd.o (eelf_l1om.c): New. (eelf_l1om_fbsd.c): Likewise. * Makefile.in: Regenerated. * emulparams/elf_l1om.sh: New. * emulparams/elf_l1om_fbsd.sh: Likewise. ld/testsuite/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/abs-l1om.d: New. * ld-x86-64/protected2-l1om.d: Likewise. * ld-x86-64/protected3-l1om.d: Likewise. * ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and protected3-l1om. opcodes/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Handle bfd_l1om_arch. * disassemble.c (disassembler): Likewise. * configure: Regenerated. * i386-dis.c (print_insn): Handle bfd_mach_l1om and bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM. * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM. Add CPU_L1OM_FLAGS. (cpu_flags): Add CpuL1OM. (set_bitfield): Take an argument to set the value field. (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY). (process_i386_opcode_modifier): Updated. (process_i386_operand_type): Likewise. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. * i386-opc.h (CpuL1OM): New. (CpuXsave): Updated. (i386_cpu_flags): Add cpul1om.
* * config/obj-elf.c (obj_elf_type): Add code to support a type ofNick Clifton2009-07-233-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnu_unique_object. * doc/as.texinfo: Document new feature of .type directive. * NEWS: Mention support for gnu_unique_object symbol type. * common.h (STB_GNU_UNIQUE): Define. * NEWS: Mention the linker's support for symbols with a binding of STB_GNU_UNIQUE. * gas/elf/type.s: Add unique global symbol definition. * gas/elf/type.e: Add expected readelf output for global unique symbol. * elfcpp.h (enum STB): Add STB_GNU_UNIQUE. * readelf.c (get_symbol_binding): For Linux targeted files return UNIQUE for symbols with the STB_GNU_UNIQUE binding. * doc/binutils.texi: Document the meaning of the 'u' symbol binding in the output of nm and objdump --syms. * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field. * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols with the BSF_GNU_UNIQUE flag bit set. * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag for symbols with STB_GNU_UNIQUE binding. * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols with the STB_GNU_UNIQUE binding. (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for symbols with STB_GNU_UNIQUE binding. Set STB_GNU_UNIQUE for symbols with the unique_global field set. (elf_link_output_extsym): Set unique_global field for symbols with the STB_GNU_UNIQUE binding. * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit. (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE symbols. (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE symbols. * bfd-in2.h: Regenerate.
* 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-204-2/+36
| | | | | | | | | | | | | * NEWS: Mention --insn-width. * objdump.c (insn_width): New. (usage): Display --insn-width. (option_values): Add OPTION_INSN_WIDTH. (long_options): Add --insn-width. (disassemble_bytes): Handle insn_width. (main): Handle OPTION_INSN_WIDTH. * doc/binutils.texi: Document --insn-width.
* * dwarf.c (display_debug_lines): If do_debug_lines has not beenNick Clifton2009-07-172-0/+8
| | | | set then default to displaying raw .debug_line section contents.
* 2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>H.J. Lu2009-07-162-2/+8
| | | | | | | H.J. Lu <hongjiu.lu@intel.com> * binutils-all/objcopy.exp: Run testranges and testranges-ia64 for ELF targets only.
* 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-165-0/+83
| | | | | | | | | * binutils-all/objcopy.exp; Run testranges-ia64. * binutils-all/testranges.d: Don't run for ia64. * binutils-all/testranges-ia64.d: New. * binutils-all/testranges-ia64.s: Likewise.
* binutils/Jan Kratochvil2009-07-147-106/+195
| | | | | | | | | | | | | | Support unordered .debug_info references to .debug_ranges. * dwarf.c (struct range_entry, range_entry_compar): New. (display_debug_ranges): Remove variables last_offset, first, j, seen_first_offset, use_debug_info and next. New variables range_entries and range_entry_fill. Create the sorted copy range_entries. Remove the FIXME error on detected unordered references. * dwarf.h (debug_info <range_lists>): New comment. binutils/testsuite/ * binutils-all/objcopy.exp (testranges): New test. * binutils-all/testranges.d, binutils-all/testranges.s: New files.
* PR 10380Nick Clifton2009-07-142-1/+17
| | | | * README: Document use of LDFLAGS="--static".
* bfd/H.J. Lu2009-07-103-6/+11
| | | | | | | | | | | | | | | | | | | | | 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. binutils/ 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. gas/ 2009-07-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated.
* bfdTom Tromey2009-07-104-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. (elf-eh-frame.lo): Likewise. (elf32-bfin.lo): Likewise. (elf32-frv.lo): Likewise. (elf32-xc16x.lo): Likewise. * Makefile.in: Rebuild. * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. * elf-eh-frame.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-xc16x.c: Likewise. binutils * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. * Makefile.in: Rebuild. * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. gas * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not elf/dwarf2.h. (DEPTC_alpha_elf): Likewise. (DEPTC_alpha_evax): Likewise. (DEPTC_arm_elf): Likewise. (DEPTC_hppa_elf): Likewise. (DEPTC_i386_aout): Likewise. (DEPTC_i386_coff): Likewise. (DEPTC_i386_elf): Likewise. (DEPTC_m68k_aout): Likewise. (DEPTC_m68k_coff): Likewise. (DEPTC_m68k_elf): Likewise. (DEPTC_mips_coff): Likewise. (DEPTC_mips_ecoff): Likewise. (DEPTC_mips_elf): Likewise. (DEPTC_ppc_coff): Likewise. (DEPTC_ppc_elf): Likewise. (DEPTC_s390_elf): Likewise. (DEPTC_sh_coff): Likewise. (DEPTC_sh_elf): Likewise. (DEPTC_sh64_elf): Likewise. (DEPTC_sparc_aout): Likewise. (DEPTC_sparc_coff): Likewise. (DEPTC_sparc_elf): Likewise. (as.o): Likewise. (dwarf2dbg.o): Likewise. (dw2gencfi.o): Likewise. (ehopt.o): Likewise. (read.o): Likewise. * Makefile.in: Rebuild. * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. gdb * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h. * dwarf2expr.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * sh-tdep.c: Likewise. * xtensa-tdep.c: Likewise. include * dwarf2.h: New file, moved from elf/. include/elf * dwarf2.h: Move to `..'.
* 2009-07-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-07-064-31/+34
| | | | | | | * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf sections. * dwarf.h (struct dwarf_section_display): Remove eh_frame field. * dwarf.c (debug_displays): Adjust for removed field.
* * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_valueJakub Jelinek2009-07-032-0/+18
| | | | | | | and DW_OP_stack_value. * dwarf.c (decode_location_expression): Handle DW_OP_stack_value and DW_OP_implicit_value.
* PR 6714Nick Clifton2009-07-012-3/+23
| | | | | | | * rclex.c (handle_quotes): Do not complain about whitespace separating quoted strings. (rclex_string): Ignore whitespace when looking for a new opening quote following a closing quote.
* 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-06-273-2/+13
| | | | | | | PR binutils/10321 * bucomm.c (get_file_size): Return -1 on error. * objcopy.c (copy_file): Report empty file.
* * binutils-all/objcopy.exp: Move XFAIL from objcopy_test to copy_executable.Christopher Faylor2009-06-262-1/+6
|
* * binutils-all/objcopy.exp: Always treat objcopy_test as XFAIL on cygwin.Christopher Faylor2009-06-252-0/+6
|
* * dwarf.c (display_debug_lines_raw): Include the name of theNick Clifton2009-06-245-333/+393
| | | | | | | | | | | | | | | | | | | | section in warning message. (struct debug_display): Enable reloc processing for .debug_line and .debug_ranges sections. * readelf.c: Add --relocated-dump command line option to dump the relocated contents of a specified section. (request_dump): New function. (parse_args): Use it. (dump_section_as_bytes): Add parameter to indicate whether the contents should be relocated. (target_specific_reloc_handling): Add code for a R_MN10300_16 reloc found after a R_MN10300_SYM_DIFF reloc. (debug_apply_relocations): Rename to apply_relocations. (get_section_contents): New function. Replaces common code found in dump_section_as_strings and dump_section_as_bytes. * doc/binutils.texi: Document new command line option. * NEWS: Mention the new feature.
* * readelf.c (target_specific_reloc_handling): New function:Nick Clifton2009-06-223-6/+66
| | | | | | | | Processes relocs in a target specific manner. (debug_apply_relocations): Use the new function. * dwarf.c (display_debug_loc): End the dump with a blank line. (struct debug_display): Enable reloc processing for .debug_aranges and .debug_loc sections.
* * ar.c (usage): Do not use #ifdef inside _("...).Nick Clifton2009-06-193-6/+15
| | | | * nm.c (usage): Likewise.
* PR 10288Nick Clifton2009-06-183-2/+25
| | | | | | | | | | | | | | | | | | | | | | * arm-dis.c (print_insn_coprocessor): Check that a user specified ARM architecture supports the matched instruction. (print_insn_arm): Likewise. (select_arm_features): New function. Fills in the fields of an arm_feature_set structure based on a given arm machine number. (print_insn): Initialise an arm_feature_set structure. * objdump.c (disassemble_bytes): Set the USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure if the user has invoked the -m switch. * doc/binutils.texi: Document the additional behaviour of objdump's -m switch for ARM targets. * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags field of struct disassemble_info. * gas/arm/align.s: Add labels so that COFF based targets can correctly locate THUMB code. * gas/arm/copro.d: Do not pass --architecture switch to objdump.
* 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>Dave Korn2009-06-183-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge cegcc and mingw32ce target name changes from CeGCC project, replacing "arm-*-" by "arm*-*-" where needed. 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> ld/ * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to ${tooldir}/lib/w32api. 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> bfd/ * config.bfd: Add arm*-*-cegcc* target. 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> binutils/ * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets. * configure: Regenerate. 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> gas/ * configure.tgt: Add arm*-*-cegcc* target. 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> ld/ * configure.tgt: Add arm*-*-cegcc* target. 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> bfd/ * config.bfd: Add arm-*-mingw32ce* target. 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> gas/ * configure.tgt: Add arm-*-mingw32ce* target. 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> ld/ * configure.tgt: Add arm-*-mingw32ce* target.
* PR 10263Nick Clifton2009-06-152-2/+9
| | | | | | | | | | | | * arm-dis.c (print_insn): Ignore is_data if the user has requested the disassembly of data as well as instructions. * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in the flags field of the disassemble_info structure if the -D switch is in operation. * dis-asm.h (struct disassemble_info): New value for the flags field.
* * corefile.c (num_of_syms_in): New function - computes the numberNick Clifton2009-06-122-0/+7
| | | | | | | | | | | | | | of symbols in a given file. (core_create_syms_from): New function - populates a symbol table from the symbols found in a specified file. * corefile.h: Prototype core_create_syms_from. * gprof.c (long_options): Add --external-symbol-table. (usage): Mention it. (main): Initiailize external_symbol_table from --external-symbol-table option. If set use it. * gprof.texi: Document the new option. * NEWS: Mention new feature added to gprof.
* * readelf.c (process_symbol_table): Set gnubuckets to NULL afterNick Clifton2009-06-122-2/+7
| | | | freeing it and before returning.
* * readelf.c (process_symbol_table): Don't return early ifJakub Jelinek2009-06-122-15/+37
| | | | .hash/.gnu.hash is empty/unusable and not -D.
* PR 10165Nick Clifton2009-06-092-1/+15
| | | | | * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
* * strings.c (main): Delay parsing of decimal digits.Alan Modra2009-06-042-3/+12
|
* * dep-in.sed: Don't use \n in replacement part of s command.Alan Modra2009-06-044-3/+17
| | | | | | * Makefile.am (DEP1): LC_ALL for uniq. Run "make dep-am". * Makefile.in: Regenerate.
* 2009-06-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-06-032-0/+5
| | | | * MAINTAINERS: Add myself as Mach-O maintainer.
* PR 10199Alan Modra2009-06-012-1/+9
| | | | * doc/binutils.texi (nm): Correct -S description.
* * po/da.po: Updated Danish translation.Nick Clifton2009-05-282-1666/+3237
|
* 2009-05-28 Nick Clifton <nickc@redhat.com>Nick Clifton2009-05-283-0/+19
| | | | | | | | | | | | | | | | | | * targets.c (_bfd_target_vector): Only include plugin target in all-targets build if BFD_SUPPORTS_PLUGINS is non-zero. 2009-05-27 Rafael Avila de Espindola <espindola@google.com> * plugin.c (program_name): Remove. (plugin_program_name): New. (bfd_plugin_set_program_name): New. (try_load_plugin): Use plugin_program_name. * plugin.h (bfd_plugin_set_program_name): New. 2009-05-27 Rafael Avila de Espindola <espindola@google.com> * ar.c (main): Call bfd_plugin_set_program_name. * nm.c (main): Call bfd_plugin_set_program_name.
* * readelf.c (display_debug_section): Do not display debug sectionsNick Clifton2009-05-282-0/+14
| | | | with the NOBITS section type.
* * plugins.m4: New.Nick Clifton2009-05-275-37/+35
| | | | | | | | * aclocal.m4: Include ../config/plugins.m4. * configure.in: Use AC_PLUGINS. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
* * sysdump.c (tab): Use puts rather than two printfs.Nathan Sidwell2009-05-272-2/+5
|
* Update Indonesian translations.Nick Clifton2009-05-263-979/+1400
| | | | Update translation templates.
* * Makefile.am: Run "make dep-am".Nick Clifton2009-05-267-28/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (AM_CPPFLAGS): New. (LIBDL): New. (ALL_MACHINES): Add cpu-plugin.lo. (ALL_MACHINES_CFILES): Add cpu-plugin.c. (BFD32_BACKENDS): Add plugin.lo. (BFD32_BACKENDS_CFILES): Add plugin.c. (libbfd_la_LIBADD): Add LIBDL * archures.c (bfd_architecture): Add bfd_arch_plugin. (bfd_plugin_arch): Declare. * bfd-in.h (BFD_SUPPORTS_PLUGINS): New. * bfd.c (bfd): Add plugin_data. * config.bfd: Handle the plugin target. * configure.in: Check for --enable-plugins. (LT_INIT): Use the dlopen option. * cpu-plugin.c: New. * plugin.c: New. * plugin.h: New. * targets.c (plugin_vec): Declare. (_bfd_target_vector): Add plugin_vec. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * ar.c: Include plugin.h. (main): Handle the --plugin option. * nm.c: Include plugin.h. (OPTION_PLUGIN): New. (long_options): Add plugin. (main): Handle OPTION_PLUGIN. * NEWS: Mention the new feature. * doc/binutils: Documement the new command line options. * configure.in: Check for --enable-plugins. * configure: Regenerate.
* * dep-in.sed: Output one filename per line with all lines havingAlan Modra2009-05-264-549/+1761
| | | | | | | | | continuation backslash. Prefix first line with "A", following lines with "B". * Makefile.am (DEP): Don't use dep.sed here. (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, sort and uniq. * Makefile.in: Regenerate.
* 2009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-05-253-56/+41
| | | | | | * makefile.vms-in: Fix CFLAGS, add addr2line.exe target. * configure.com: Fix it: handle alloca and define TARGET in config.h.
* Run "make dep-am" and regenerateAlan Modra2009-05-223-2/+11
|
* * objcopy.c (set_long_section_mode): Check input_bfd is coffAlan Modra2009-05-122-1/+7
| | | | before accessing coff specific fields of bfd.
* * MAINTAINERS: Add myself as PE/COFF co-maintainer.Dave Korn2009-05-092-0/+5
|
* 2009-05-08 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-05-082-1/+7
| | | | | | * winduni.c (iconv_onechar): Only define when HAVE_ICONV is defined, but not when __CYGWIN__ or _WIN32 are defined. See wind_iconv_cp for call logic of this local funtion.