aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all
AgeCommit message (Collapse)AuthorFilesLines
2009-09-02update copyright datesAlan Modra14-14/+17
2009-08-17 * binutils-all/strip-10.d: Accept "<OS specific>: 10" for the typeNick Clifton1-1/+1
of the UNIQUE symbol.
2009-08-07 binutils/testsuite/Daniel Jacobowitz1-27/+27
* binutils-all/testranges.s: Use %progbits. Use ";#" for comments.
2009-08-062009-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+13
PR binutils/10492 * binutils-all/objcopy.exp: Run strip-10. * binutils-all/strip-10.d: New. * binutils-all/unique.s: Likewise.
2009-07-31 binutils/testsuite/Daniel Jacobowitz1-5/+7
* 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.
2009-07-29 * binutils-all/testranges.s: Replace .value with .short.Alan Modra1-1/+1
2009-07-162009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>H.J. Lu1-2/+2
H.J. Lu <hongjiu.lu@intel.com> * binutils-all/objcopy.exp: Run testranges and testranges-ia64 for ELF targets only.
2009-07-162009-07-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+74
* 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.
2009-07-14binutils/Jan Kratochvil3-0/+72
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.
2009-06-26* binutils-all/objcopy.exp: Move XFAIL from objcopy_test to copy_executable.Christopher Faylor1-1/+1
2009-06-25* binutils-all/objcopy.exp: Always treat objcopy_test as XFAIL on cygwin.Christopher Faylor1-0/+1
2009-04-16binutils/testsuite/Alan Modra2-13/+13
* binutils-all/localize-hidden-1.s: Use "==" instead of ".set". * binutils-all/localize-hidden-2.s: Likewise. gas/testsuite/ * gas/all/gas.exp: Disable assign and assign-ok tests on blackfin. * gas/all/p2425.s: Use "==" instead of "=". * gas/all/weakref1.s: Likewise. * gas/macros/and.s: Likewise. * gas/macros/test1.s: Likewise. * gas/hppa/parse/parse.exp: Remove xfail on block1. ld/testsuite/ * ld-libs/lib-1.s: Use "==" instead of ".set". * ld-libs/lib-2.s: Likewise. * ld-scripts/defined.s: Likewise.
2009-04-02 * inutils-all/objcopy.exp (strip_executable): Delete remote destDave Korn1-0/+3
file before downloading. (strip_executable_with_saving_a_symbol): Likewise. (keep_debug_symbols_and_test_copy): Likewise.
2009-03-11 * binutils-all/objdump.W, binutils-all/objdump.s: Don't matchJoseph Myers2-2/+2
literal "tmpdir/" in expected output.
2009-03-11[bfd/ChangeLog]Chris Demetriou1-0/+45
2009-03-11 Chris Demetriou <cgd@google.com> * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. * bfd-in2.h: Regenerate. * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file mode. (bsd_write_armap): Likewise. (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT flag is set, do nothing. (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for timestamp. [binutils/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * ar.c (deterministic): New global variable. (main): Recognize new 'D' option, which enables 'deterministic mode'. (usage): Document new 'D' option. (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's flags if deterministic mode was requested. * doc/binutils.texi (ar): Document deterministic mode ('D' option). [binutils/testsuite/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * binutils-all/ar.exp (deterministic_archive): New test.
2009-03-10binutils/H.J. Lu2-0/+10
2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * objcopy.c (filter_symbols): Properly handle common symbols in relocatable file. binutils/testsuite/ 2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * binutils-all/copy-4.d: New. * binutils-all/objcopy.exp: Run copy-4.
2009-03-02 * binutils-all/localize-hidden-1.s: Change .equ to .set.Dave Anglin2-13/+13
* binutils-all/localize-hidden-2.s: Likewise.
2009-01-29 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.Nick Clifton1-4/+4
* gas/all/gas.exp: Expect forward test to fail for MeP. Expect relax test to fail for MeP. * gas/mep/relocs.d: Update expected disassembly. * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of targets which do not support garbage collection. * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP. * ld-elf/group8a.d: Likewise. * ld-elf/group8b.d: Likewise. * ld-elf/group9a.d: Likewise. * ld-elf/group9b.d: Likewise. * binutils-all/objdump.W: Do not assume that high and low PC addresses will have been computed.
2008-10-06 * dwarf.c (display_debug_frames): Change text for uniformity.Nick Clifton1-1/+1
(process_debug_info): Likewise. (display_debug_aranges): Likewise. Indent address output. (display_debug_pubnames): Print offset in hex. * binutils-all/objdump.W: Update. * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d, gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d, gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d, gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d, gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d, gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d, gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf change. * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Update for readelf change.
2008-10-03binutils/testsuite/H.J. Lu6-18/+18
2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/group.s: Updated. * binutils-all/group-2.s: Likewise. * binutils-all/group-3.s: Likewise. * binutils-all/group-4.s: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/strip-9.d: Likewise. ld/testsuite/ 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/group5.d: Updated. * ld-elf/group6.d: Likewise.
2008-10-022008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+38
* binutils-all/group-4.s: New. * binutils-all/strip-8.d: Likewise. * binutils-all/strip-9.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-4.s. Run strip-8 and strip-9.
2008-10-012008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+40
* binutils-all/group-3.s: New. * binutils-all/strip-6.d: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-3.s. Run strip-6 and strip-7.
2008-10-012008-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+40
* binutils-all/group-2.s: New. * binutils-all/strip-4.d: Likewise. * binutils-all/strip-5.d: Likewise. * binutils-all/objcopy.exp: Test objcopy on group-2.s. Run strip-4 and strip-5.
2008-07-26 * binutils-all/objdump.exp: Run compressed debug test only for ELF.Alan Modra1-31/+33
2008-07-11 * binutils-all/objdump.W: Generalize to adjust for targets withHans-Peter Nilsson1-1/+1
non-byte-size instructions.
2008-07-10bfd/Craig Silverstein6-0/+460
* Makefile.am (BFD32_LIBS): Add compress.lo. (BFD32_LIBS_CFILES): Add compress.c. (BFD_H_FILES): Likewise. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * config.in: Add HAVE_ZLIB_H * configure.in: Add test for libz and zlib.h * configure: Regenerate. * dwarf2.c (read_section): New function. (read_indirect_string): Call new function read_section. (read_abbrevs): Likewise. (decode_line_info): Likewise. (read_debug_ranges): Likewise. (find_line): Call new function read_section when just one .zdebug_info section is found, otherwise read and compress multiple sections. (_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr. * elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix. (special_sections_z): New struct. (special_sections): Refer to special_sections_z. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize sections named .zdebug_*. (_bfd_mips_elf_fake_sections): Likewise. * compress.c: New file. (bfd_uncompress_section_contents): New function. bfd/doc/ * Makefile.am (BFD_H_DEP): Add ../compress.c. * Makefile.in: Regenerate. binutils/ * config.in: Add HAVE_ZLIB_H * configure.in: Add test for libz and zlib.h * configure: Regenerate. * dwarf.c (debug_displays): Add .zdebug_* strings. * dwarf.h (struct dwarf_section): Add fields uncompressed_namd and compressed_name. * objdump.c (load_debug_section): Call bfd_uncompress_section_contents when loading a compressed section. (dump_dwarf_section): Recognize compressed section name. (mach_o_dwarf_sections): Rename as mach_o_uncompressed_dwarf_sections. (mach_o_compressed_dwarf_sections): New variable. (generic_dwarf_section): Rename as generic_uncompressed_dwarf_sections. (generic_compressed_dwarf_sections): New variable. (check_mach_o_dwarf): Save and restore mach_o_compressed_dwarf_sections. * readelf.c: Add #include for config.h and zlib.h (process_section_headers): Recognize compressed section name. (uncompress_section_contents): New function. (load_debug_section): Call uncompress_section_contents when loading a compressed section. (display_debug_section): Recognize compressed section name. binutils/testsuite: * binutils-all/objdump.exp: Add test for objdump -s on a file with a compressed debug section. Add test for objdump -W on a file that contains a compressed debug section. * binutils-all/readelf.exp: Call readelf_compressed_wa_test. (readelf_compressed_wa_test): New function. * binutils-all/dw2-compressed.S: New file. * binutils-all/objdump.W: New file. * binutils-all/objdump.s: New file. * binutils-all/readelf.wa: New file.
2008-07-082008-07-08 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-2/+19
* binutils-all/objcopy.exp (copy_setup): Check if host-triplet is target-triplet for execution tests. (copy_executable): Likewise. (strip_executable): Likewise. (strip_executable_with_saving_a_symbol): Likewise.
2008-05-29bfd/Jan Kratochvil1-0/+36
* elf.c (assign_file_positions_for_load_sections): Adjust pre-section gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses. binutils/testsuite/ * binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY. (keep_debug_symbols_and_test_copy): New function. (test5, test6): New variables.
2008-03-28Add support for thin archives.Nick Clifton1-1/+107
* bfd/archive.c (_bfd_find_nested_archive): New function. (get_extended_arelt_filename): Add origin parameter. (_bfd_generic_read_ar_hdr_mag): Deal with extended name combined with a file offset. (append_relative_path): New function. (_bfd_get_elt_at_filepos): Deal with external members and nested archives. (bfd_generic_openr_next_archived_file): Thin archives. (bfd_generic_archive_p): Recognize new magic string. (adjust_relative_path): New function. (_bfd_construct_extended_name_table): Construct extended names for thin archive members. (_bfd_write_archive_contents): Emit new magic string, skip copying files for thin archives. * bfd/bfd-in.h (bfd_is_thin_archive): New macro. * bfd/bfd.c (struct bfd): New fields for thin archives. * bfd/libbfd-in.h (struct areltdata): New field for thin archives. * bfd/opncls.c (bfd_close): Delete BFDs for nested archives. * binutils/ar.c (make_thin_archive): New global flag. (map_over_members): Deal with full pathnames in thin archives. (usage, main): Add 'T' option for building thin archives. (replace_members): Pass thin archive flag to ar_emul_append. * binutils/arsup.c (ar_open): Initialize new flag. * binutils/binemul.c (ar_emul_append): Add new parameter for flattening nested archives. (do_ar_emul_default_append): New function. (ar_emul_default_append): Factored out recursive code. * binutils/binemul.h (ar_emul_default_append): Add new parameter. (struct bin_emulation_xfer_struct): New parameter for ar_append. * binutils/dlltool.c (gen_lib_file): Initialize thin archive flag. * binutils/emul_aix.c (ar_emul_aix_internal): Add new flatten parameter, currently unimplemented. All callers changed. * binutils/objcopy.c (copy_archive): Preserve thin archive flag. * binutils/doc/binutils.texi: Update ar documentation. * binutils/testsuite/binutils-all/ar.exp: Add thin archive tests. * include/aout/ar.h (ARMAGT): New magic string for thin archives.
2008-02-04binutils/testsuite/Bob Wilson1-1/+1
* binutils-all/objdump.exp (cpus_expected): Add xtensa. ld/testsuite/ * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
2007-10-26 * binutils-all/windres/windres.exp: Don't xfail.Alan Modra1-18/+0
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton4-4/+4
the moment)
2007-08-30* readelf.c (dump_type): New type used to classify the kinds of dump ↵Nick Clifton2-5/+63
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-28bfd:Joseph Myers4-16/+28
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-09 * windres/windres.exp: Return unsupported rather than fail ifAlan Modra1-1/+5
windows.h not found.
2007-08-09binutils/testsuite/Alan Modra3-5/+2
* 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-07-05Change sources over to using GPLv3Nick Clifton13-25/+25
2007-06-232007-06-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* binutils-all/strip-3.d: Also strip .xtensa.info section.
2007-05-24* rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.Nick Clifton2-0/+88
* testsuite/binutils-all/windres/version_cat.rc: New. * testsuite/binutils-all/windres/version_cat.rsd: New.
2007-05-23Updated windres toolNick Clifton12-4/+204
2007-05-17 * binutils-all/strip-3.d: Strip .pdr section.Joseph Myers1-1/+1
2007-05-15 * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.Alan Modra1-16/+17
2007-05-11 * binutils-all/needed-by-reloc.s: Use .long rather than .4byte.Alan Modra1-1/+1
2007-05-08 binutils/testsuite/Mark Shinwell1-1/+1
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo sections.
2007-05-02 * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.Alan Modra1-5/+12
(copy_executable): Return early if test2 is blank. Return unsupported rather than unresolved if we can't run executables. Do test1 if we can compile.
2007-04-24* objcopy.c (filter_symbols): Explicitly stripping a symbol used in ↵Nick Clifton2-1/+27
relocations is an error. Retype 'keep' to bfd_boolean. * binutils-all/objcopy.exp: Add test for stripping a symbol used in a relocation. * binutils-all/needed-by-reloc.s: New file.
2007-04-23* objcopy.c (reverse_bytes): New variable.Nick Clifton1-0/+34
(command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN. (copy_options, copy_usage): Add "reverse-bytes" entry. (copy_section): Reverse bytes within output sections. * doc/binutils.texi: Document new objcopy option. * testsuite/binutils-all/objcopy.exp: Add test for --reverse-bytes.
2007-04-21 * binutils-all/readelf.exp (regexp_diff): Delete.Richard Earnshaw1-102/+0
2007-04-19 * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.Richard Earnshaw1-4/+4
Rename the second test.
2007-04-122007-04-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+13
PR binutils/4348 * objcopy.c (copy_object): Don't stop when there are no sections to be copied. testsuite/ 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4348 * binutils-all/empty.s: New file. * binutils-all/strip-3.d: Likewise. * binutils-all/objcopy.exp: Run strip-3 for ELF target.