aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
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
2007-08-10patch: Correct documentation of windmc.Kai Tietz2-3/+6
2007-08-09 * windres/windres.exp: Return unsupported rather than fail ifAlan Modra2-1/+7
windows.h not found.
2007-08-09binutils/testsuite/Alan Modra4-5/+9
* binutils-all/copy-2.d (not-target): Match *-*-*aout. * binutils-all/copy-3.d (not-target): Likewise. * binutils-all/objcopy.exp (objcopy_test): Remove extraneous setup_xfail. gas/testsuite/ * gas/all/weakref1u.d (not-target): Match *-*-*aout.
2007-08-04 PR 4888Alan Modra2-10/+27
* objcopy.c (setup_section): Do modify section flags for ELF STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent header rewrite by twiddling input section flags instead. Simplify code setting SHT_NOBITS.
2007-07-28* MAINTAINERS: Update my email address.Christopher Faylor2-1/+5
2007-07-27 * readelf.c (process_archive): Also skip Irix6-style archive symbolAdam Nemet2-1/+7
tables.
2007-07-24* readelf.c (NUM_ELEM): Remove redundant macro; replace references to itNick Clifton2-34/+54
with references to ARRAY_SIZE. Add support for CR16. Fix formatting.
2007-07-19PR binutils/4802Nick Clifton2-4/+8
* srconv.c (strip_suffix): Add const qualifier to argument
2007-07-16Fix spelling typoNick Clifton1-1/+1
2007-07-16Update Dutch opcodes translation.Nick Clifton4-2/+5617
Add new Ukranian binutils translation.
2007-07-10 * objdump.c (dump_dwarf): Correct setting of is_relocatable.Alan Modra2-18/+21
2007-07-09.Roland McGrath1-0/+5
2007-07-092007-07-09 Roland McGrath <roland@redhat.com>Roland McGrath1-2/+27
* readelf.c (get_gnu_elf_note_type): New function. (process_note): Use it for "GNU" name.
2007-07-08 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.Andreas Schwab1-0/+7
(CFILES): Add unwind-ia64.c. Regenerate dependencies. * Makefile.in: Regenerate.
2007-07-08 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.Andreas Schwab2-12/+22
(CFILES): Add unwind-ia64.c. Regenerate dependencies. * Makefile.in: Regenerate.
2007-07-05Change sources over to using GPLv3Nick Clifton95-332/+559
2007-07-05* resrc.c: (read_rc_file): Add include path of user passed rc input file.Nick Clifton4-11/+53
* windres.c: (windres_add_include_dir): New. (main): Use of windres_add_include_dir. * windres.h: (windres_add_include_dir): Add prototype.