aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
2007-11-07* doc/binutils.texi: Update to FDL 1.2.Nick Clifton3-152/+245
(Top): consistent punctuation in menu entries. (Index): Rename from Binutils Index. * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi.
2007-10-31Add cast to avoid compile time warningNick Clifton1-1/+1
2007-10-31* dwarf.c (is_relocatable): Remove definition.Nick Clifton5-56/+104
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
2007-10-31 * readelf.c (debug_apply_rela_addends): Clarify FIXME.Alan Modra2-8/+11
2007-10-29* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.Nick Clifton2-1/+10
(is_64bit_abs_reloc): Likewise.
2007-10-28* dwarf.c (process_debug_info): Check for corrupt lengths.Nick Clifton3-140/+337
* readelf.c (get_reloc_type): New function. Returns the reloc number extracted from the info field of a reloc. (get_reloc_symindex): New function. Returns the symbol index (extracted from the info field of a reloc. (dump_relocations): Use the new functions. (slurp_ia64_unwind_table): Use the new functions. (slurp_hppa_unwind_table): Use the new functions. (dump_section_as_bytes): Use the new functions. (get_reloc_size): Delete function. (is_32bit_abs_reloc): New function. Determines if a given reloc type is a 32-bit absolute relocation. (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but for pc-relative relocations. (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but for 64-bit absolute relocations. (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but for 32-bit absolute relocations. (debug_apply_rela_addends): Use the new functions. Skip and warn about any unrecognised relocations.
2007-10-26* doc/binutils.texi: Move top stuff to the top.Nick Clifton2-53/+39
Use @direntry/@dircategory, format entries to play nicely with others. Avoid duplicate copying strings. Don't misspell "Texinfo".
2007-10-26 * binutils-all/windres/windres.exp: Don't xfail.Alan Modra2-18/+4
2007-10-25 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support forDaniel Jacobowitz2-0/+31
Tag_GNU_Power_ABI_Vector. * readelf.c (display_power_gnu_attribute): Add support for Tag_GNU_Power_ABI_Vector. * ppc.h (Tag_GNU_Power_ABI_Vector): New. * ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d, ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d, ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New. * ld-powerpc/powerpc.exp: Run new tests.
2007-10-25 * readelf.c (get_note_type): Handle NT_PPC_VMX.Alan Modra2-0/+6
2007-10-24 * Makefile.am: Run "make dep-am".Alan Modra4-321/+344
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2007-10-24 * strings.c (print_strings): Don't use %L, use %ll in printfAlan Modra2-12/+11
format strings.
2007-10-24 * readelf.c (process_program_headers): Use dynamic segment unlessAlan Modra2-10/+19
dynamic section is found.
2007-10-16 * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.Bob Wilson2-10/+16
(objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e." and change to spell out "for example" in two places.
2007-10-16* configure.in: Build windows tools for --enable-targets=all.Nick Clifton3-0/+21
* configure: Regenerate.
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton5-4/+11
the moment)
2007-10-15 * objdump.c (print_line): Check fwrite return value.Alan Modra4-9/+34
* srconv.c (checksum, wr_tr, wr_cs): Likewise. * sysdump.c (fillup): Return zero on getc or fread EOF. Return count read.
2007-10-10* dwarf.c (process_debug_info): Line up section offsets ofJim Blandy2-2/+6
attribute values with those of dies. (read_and_display_attr): Reduce spacing here.
2007-10-10* dwarf.c (display_debug_lines): Print the offset of each lineJim Blandy2-0/+8
number program header.
2007-10-09binutils/H.J. Lu2-134/+182
2007-10-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4476 * readelf.c (print_dynamic_symbol): New. (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols. ld/testsuite/ 2007-10-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4476 * ld-elf/hash.d: Check "-s -D" for readelf.
2007-10-09*** empty log message ***Carlos O'Donell1-0/+9
2007-10-082007-10-08 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell2-14/+39
* resrc.c (read_rc_file): Rename e to edit, and c to dir. Pass dir to windres_add_include_dir. Add comments. (close_input_stream): Check pclose error, and call fatal if the preprocessor failed. * windres.c (windres_add_include_dir): Assert that p is non-NULL, and not an empty string.
2007-10-04Fix spelling typos.Nick Clifton2-2/+7
2007-10-03 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.Alan Modra2-1/+5
2007-09-25Fix spelling typoNick Clifton2-1/+5
2007-09-17* readelf.c (do_archive_index): New.Nick Clifton4-26/+246
(options): Add -c and --archive-index option. (usage): Add -c option. (parse_args): Add c option parsing. (process_archive): Dump archive index. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature.
2007-09-17Updated Spanish translationNick Clifton2-1158/+1420
2007-09-17* doc/binutils.texi (objdump): Describe the output of the --syms option in ↵Nick Clifton2-5/+14
more detail.
2007-09-17PR binutils/4987Nick Clifton3-6/+94
* resrc.c: (read_rc_file): Move 'filename' default initialization to start of function.
2007-09-14Add AMD SSE5 supportMichael Meissner2-0/+7
2007-09-13 * nm.c (value_format_64bit, set_print_radix, print_value): HandleAlan Modra3-28/+50
BFD_HOST_64BIT_LONG_LONG. * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG. (print_vma): Handle BFD_HOST_64BIT_LONG_LONG. (dump_relocations): Likewise. Expand _bfd_int64_low in a number of places.
2007-09-11PR/5020: STRINGTABLE doesn't work in 2.18 windres.Kai Tietz2-4/+9
2007-09-10 PR 5011Alan Modra2-2/+34
* readelf.c (process_version_sections): Don't read past end of various section buffers.
2007-08-312007-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-9/+15
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * sysdep.h: Include "config.h" first.
2007-08-31* po/sk.po: New Slovakian translation.Nick Clifton4-2/+5622
* configure.in (LINGUAS): Add sk. * configure: Regenerate.
2007-08-30* readelf.c (dump_type): New type used to classify the kinds of dump ↵Nick Clifton10-56/+244
requested by the user. (dump_sects, cmdline_dump_sects): Use the new type. (options): Add --string-dump option. (request_dump): Rename to request_dump_bynumber. Use dump_type. (request_dump_byname): Use dump_type. (parse_args): Parse --string-dump option. (process_section_headers): Fix calls to request_dump. (initialise_dumps_byname): Likewise. (dump_section): Rename to dump_section_as_bytes. (dump_section_as_strings): New function. Display the contents of a section as printable strings. (process_section_contents): String dump the section if requested. (process_object): Use dump_type. (main): Likewise. * Makefile.am: Add dependency for readelf.c on safe-ctype.h. * Makefile.in: Regenerate. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature. * testsuite/binutils-all/dumptest.s: New test file. * testsuite/binutils-all/readelf.exp: Add test of readelf's -p switch.
2007-08-30 * bucomm.c (bfd_nonfatal_message): New.Nathan Sidwell4-78/+172
* bucomm.h (bfd_nonfatal_message): Declare. * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use bfd_nonfatal_message. (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL calls, or replace with bfd_nonfatal_message calls as appropriate. (copy_object, copy_archive, copy_file, setup_section, copy_section, write_debugging_info): Likewise.
2007-08-28bfd:Joseph Myers6-21/+55
2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, then on type. binutils/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * binutils-all/ar.exp (long_filenames): Delete temporary files on the host. * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if host is local. * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the srec file to be passed to binutils_run. (objcopy_test_readelf): Use remote_exec. * binutils-all/readelf.exp (readelf_find_size): Use remote_exec. (readelf_test): Likewise. (readelf_wi_test): Likewise. * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if host is local. Use remote_exec. Use $tempfile not tmpdir/bintest.o. gas: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * as.c (main): Flush stderr before printing listings to ensure consistent output order across platforms. gas/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * lib/gas-defs.exp (gas_version): Use remote_* functions instead of exec. (gas_host_run): New. (gas_run): Use gas_host_run. (gas_start): Likewise. (run_dump_test): Likewise. (objdump): Use gas_host_run. (objdump_start_no_subdir): Likewise. * lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete". * lib/run: Remove. * gas/macros/macros.exp: Download app4b.s to host. * gas/i386/i386.exp (gas_64_check): Use gas_host_run. (gas_32_check): Likewise. * gas/maxq10/maxq10.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/maxq20/maxq20.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/sparc/sparc.exp (gas_64_check): Likewise. * gas/cfi/cfi.exp: Likewise. * gas/elf/elf.exp (run_list_test): Likewise. Use temporary file for readelf output in place of pipe. * gas/all/gas.exp: Download incbin.dat to host. (do_comment): Allow \r\r\n. ld: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ldlang.c (sort_sections_by_lma): Sort by internal id after lma for stable sort. ld/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ld-elfcomm/elfcomm.exp: Use run_host_cmd. Only check "which $CC" if host is local. * ld-checks/checks.exp: Use run_host_cmd. * ld-elf/exclude.exp: Likewise. * ld-elf/elf.exp: Download merge.ld if host is remote. * ld-elf/binutils.exp (binutils_test): Use remote_exec. * ld-elf/tls_common.exp: Use run_host_cmd. * lib/ld-lib.exp (ld_version): Only check "which $ld" if host is local. Use remote_exec. (run_host_cmd): New. (run_host_cmd_yesno): New. (default_ld_relocate): Use run_host_cmd_yesno. (default_ld_link): Likewise. (default_ld_simple_link): Use run_host_cmd. (default_ld_compile): Only check "which $ccprog" if host is local. Use remote_file and remote_exec. (default_ld_assemble): Only check "which $as" if host is local. Use run_host_cmd. (default_ld_nm): Use remote_exec, remote_upload and remote_file. (run_dump_test): Use remote_exec, remote_upload and remote_file. Only check "which $binary" if host is local. (run_ld_link_tests): Use remote_exec, remote_upload and remote_file. * ld-selective/selective.exp: Only check "which $CXX" if host is local. Use remote_exec. * ld-scripts/phdrs.exp: Only check "which $objdump" if host is local. Use run_host_cmd. * ld-scripts/phdrs2.exp: Likewise. * ld-scripts/weak.exp: Likewise. * ld-undefined/weak-undef.exp: Likewise. * ld-scripts/crossref.exp: Only check "which $CC" if host is local. Use run_host_cmd. * ld-scripts/map-address.exp: Upload map_address.map if host is remote. * ld-srec/srec.exp (run_srec_tests): Use run_host_cmd. Only check "which $CC" and "which $CXX" if host is local. * ld-undefined/undefined.exp: Only check "which $CC" if host is local. Use remote_file and run_host_cmd. * config/default.exp: Use remote_exec to create tmpdir.
2007-08-28Mention Coverity's contribution to bfdNick Clifton2-0/+7
2007-08-25include/elf/Alan Modra2-3/+13
* common.h (NT_SPU): Define. bfd/ * elf.c (elfcore_grok_spu_note): New function. (elf_parse_notes): Call it. binutils/ * readelf.c (process_note): Recognize SPU core file notes.
2007-08-24 * configure.in: Install embedspu on powerpc*-*-eabi* also.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2007-08-24Translation updates.Daniel Jacobowitz2-1079/+1347
2007-08-24binutils/Ben Elliston2-3/+8
* doc/binutils.texi (objdump): Document -Mppcps. gas/ * config/tc-ppc.c (parse_cpu): Handle "750cl". (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7". (md_show_usage): Document -m750cl. (md_assemble): Handle two delimiters in succession (eg. `),'). * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl. * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests. * testsuite/gas/ppc/ppc750ps.s: New file. * testsuite/gas/ppc/ppc750ps.d: Likewise. include/opcode/ * ppc.h (PPC_OPCODE_PPCPS): New. opcodes/ * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New. (XOPS, XOPS_MASK, XW, XW_MASK): Likewise. (PPCPS): Likewise. (powerpc_opcodes): Add all pair singles instructions. * ppc-dis.c (powerpc_dialect): Handle "ppcps". (print_ppc_disassembler_options): Document -Mppcps.
2007-08-17 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.Alan Modra2-0/+5
2007-08-16bfd/H.J. Lu2-1/+5
2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c: Revert last change. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c: Revert last change. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h: Revert last change.
2007-08-16bfd/H.J. Lu2-1/+6
2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. (bfd_section_from_phdr): Likewise. (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment if there is an attribute section. (_bfd_elf_map_sections_to_segments): Likewise. (IS_SECTION_IN_INPUT_SEGMENT): Likewise. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h (PT_GNU_STACK): Renamed to ... (PT_GNU_ATTR): This. (PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR.
2007-08-13 * NEWS: Add a marker for the 2.18 features.Daniel Jacobowitz2-0/+5
2007-08-13 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): IncludeDaniel Jacobowitz3-4/+10
$(top_srcdir)/../../bfd/doc. * doc/Makefile.in: Regenerate.
2007-08-10Add M R Swami Reddy as CR16/CRX support maintainer.Nick Clifton2-1/+7
2007-08-10Updated Finnish, Irish and Vietnamese translationsNick Clifton3-3028/+3638