aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2006-05-032006-05-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* binutils-all/copy-3.d: Fix a typo.
2006-05-032006-05-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+24
* binutils-all/copy-3.d: New. * objcopy.exp: Run copy-3.
2006-05-022006-05-02 Dave Korn <dave.korn@artimi.com>Dave Korn3-2/+7
* binutils-all/copy-1.d (name): Correct spelling of 'setting'. * binutils-all/copy-2.d (name): Likewise.
2006-05-02* binutils-all/copy-2.d: Change the name of the section whose flags areNick Clifton3-4/+22
changed to "foo" so that the test will work with PE based targets. Skip this test for AOUT based targeted. * binutils-all/copytest.s: New file.
2006-05-012006-05-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* binutils-all/objcopy.exp: Run "copy-1" for ELF only.
2006-05-01 * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;Ben Elliston2-1/+5
2006-04-262006-04-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-0/+547
PR binutils/2593 * binutils-all/copy-1.d: New file. * binutils-all/copy-1.s: Likewise. * binutils-all/copy-2.d: Likewise. * binutils-all/objcopy.exp: Add run_dump_test "copy-1" and run_dump_test "copy-2". * lib/utils-lib.exp (run_dump_test): New. (slurp_options): Likewise. (regexp_diff): Likewise. (file_contents): Likewise. (verbose_eval): Likewise.
2006-04-252006-04-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+12
PR binutils/2467 * binutils-all/objcopy.exp (strip_test): Also test "strip -g" on archive.
2006-04-102006-04-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+10
* lib/utils-lib.exp (default_binutils_run): Check exit status.
2005-12-24 * config/default.exp: Do not load the unneeded util-defs.exp.Ben Elliston2-2/+5
2005-11-15binutils/testsuite/Jan Beulich2-15/+25
2005-11-15 Jan Beulich <jbeulich@novell.com> * config/default.exp (link_or_copy): New. Use it for setting up assembler and linker for the compiler to use. ld/testsuite/ 2005-11-15 Jan Beulich <jbeulich@novell.com> * ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]* after test. * ld-elf/elf.exp: Delete preinit, init, and fini after test. * ld-elf/sec64k.exp: Use macro and repeat in generated source files. Delete object files after test.
2005-10-25oops - omitted from previous deltaNick Clifton1-0/+3
2005-10-20binutils/testsuite/H.J. Lu3-1/+65
2005-10-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/251 * binutils-all/group.s: New file. * binutils-all/objcopy.exp (objcopy_test_readelf): New procedure. Use it to test ELF group. ld/testsuite/ 2005-10-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/251 * ld-elf/group.2d: New file.
2005-10-19binutils/testsuite/H.J. Lu3-84/+81
2005-10-19 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1487 * binutils-all/objcopy.exp (objcopy_test): New procedure. Use it to test simple copy, ia64 link order and ELF unknown section type. * binutils-all/unknown.s: New file. ld/testsuite/ 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> PR binutils/1487 * ld-elf/unknown.d: New file.
2005-10-192005-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+59
PR binutils/1321 * binutils-all/link-order.s: New. * binutils-all/objcopy.exp: Check ia64 link order.
2005-10-122005-10-11 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith3-0/+18
* binutils-all/windres/escapex-2.rc: New file. * binutils-all/windres/escapex-2.rsd: Generate.
2005-10-082005-10-08 Paul Brook <paul@codesourcery.com>Paul Brook1-1/+1
bfd/ * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. (NUM_KNOWN_ATTRIBUTES): Define. (aeabi_attribute, aeabi_attribute_list): Define. (elf32_arm_obj_tdata): Add known_eabi_attributes and other_eabi_attributes. (uleb128_size, is_default_attr, eabi_attr_size, elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, elf32_arm_merge_eabi_attributes): New functions. (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. (elf32_arm_fake_sections): Handle .ARM.attributes. (elf32_arm_parse_attributes): New function. (elf32_arm_section_from_shdr): Use it. (bfd_elf32_bfd_final_link): Define. gas/ * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): New variables. (arm_cpu_option_table): Add canonical_name. (arm_cpus): Populate canonical_name field. (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, aeabi_set_public_attributes, arm_md_end): New functions. (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". (md_assemble): Set thumb_arch_used and arm_arch_used. (md_begin): Set defaut cpu if CPU_DEFAULT not defined. * config/tc-arm.h (md_end): Define. * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. gas/testsuite/ * gas/arm/eabi_attr_1.s: New test. * gas/arm/eabi_attr_1.d: New test. * gas/arm/arm7t.d: Only disassemble code sections. * gas/arm/bignum1.d: Ignore Arm object attribute sections. * gas/arm/mapping.d: Ditto. * gas/arm/unwind.d: Ditto. * gas/elf/section0.d: Ditto. * gas/elf/section1.d: Ditto. * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. * gas/elf/section2.e-armeabi: New file. include/elf/ * arm.h: Add prototypes for BFD object attribute routines. ld/testsuite/ * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. * ld-arm/arm-target1-abs.d: Ditto. * ld-arm/arm-target1-rel.d: Ditto. * ld-arm/arm-target2-abs.d: Ditto. * ld-arm/arm-target2-got-rel.d: Ditto. * ld-arm/arm-target2-rel.d: Ditto.
2005-08-26Re-enable GAS for z8k-coffNick Clifton2-1/+5
2005-08-18Remove a29k support.Alan Modra3-2/+6
2005-05-08Update FSF addressNick Clifton15-14/+26
2005-04-04Condense the two tests into one and add a "-M entry:" for the second label.Nick Clifton2-23/+10
2005-03-29Add VAX specific disassembler option -Mentry: to specify a function entryNick Clifton3-0/+100
address, and add code to test this new option.
2005-03-07 * config/default.exp: Remove send_user call for stray output.Ben Elliston2-1/+4
2005-03-03update copyright datesAlan Modra9-9/+11
2005-01-04Add prototype for printf() and make type of "string" array be "char" inNick Clifton2-5/+12
order to avoid compile time warnings.
2004-12-30 * binutils-all/readelf.ss: Allow for both .rel and .rela sections.Alan Modra2-4/+8
2004-11-04 * binutils-all/objdump.exp (cpus_expected): Append cris.Hans-Peter Nilsson2-1/+5
2004-10-282004-10-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+8
* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
2004-10-24* dlltool.c: Include <assert.h>.Aaron W. LaFramboise1-0/+2
(PREFIX_ALIAS_BASE): Define. (struct export): Add member import_name; (def_exports): Set import_name. (make_one_lib_file): Remove prefix alias code, use import_name in .idata$6. (gen_lib_file): Create and delete aliases. * binutils-all/alias.def: New file. * binutils-all/dlltool.exp: Two new -p tests. * config/default.exp (dlltool_gas_flag): New variable. Copy gas and lds executables into tmpdir/gas directory rather than making symlinks which might not be supported by the host OS. Attempt to handle the case where the host OS does not use the .exe extension but the target OS does. * lib/utils-lib.exp (exe_ext): New procedure.
2004-10-23* dlltool.c: Include <assert.h>.Nick Clifton4-12/+61
(PREFIX_ALIAS_BASE): Define. (struct export): Add member import_name; (def_exports): Set import_name. (make_one_lib_file): Remove prefix alias code, use import_name in .idata$6. (gen_lib_file): Create and delete aliases. * binutils-all/alias.def: New file. * binutils-all/dlltool.exp: Two new -p tests. * config/default.exp (dlltool_gas_flag): New variable. Copy gas and lds executables into tmpdir/gas directory rather than making symlinks which might not be supported by the host OS. Attempt to handle the case where the host OS does not use the .exe extension but the target OS does. * lib/utils-lib.exp (exe_ext): New procedure.
2004-07-12dlltool.c (ext_prefix_alias): New global variable.Nick Clifton2-0/+17
(make_one_lib_file): Add aliases with prefixes for external and import definitions. (usage): Document -p option. (long_options): Add --ext-prefix-alias option. (main): Handle -p. * doc/binutils.texi: Document new switch. * NEWS: Mention new switch.
2004-07-09binutils/testsuite/:Andreas Schwab3-0/+61
* binutils-all/m68k/movem.s: New file. * binutils-all/m68k/objdump.exp: New file. include/opcode/: * m68k.h: Fix comment. opcodes/: * m68k-dis.c (m68k_valid_ea): Check validity of all codes.
2004-05-15Cope with ARM mapping symbolsNick Clifton2-1/+7
2004-05-12 * binutils-all/ar.exp: Remove stray semicolons.Ben Elliston7-59/+68
* binutils-all/dlltool.exp: Likewise. * binutils-all/objcopy.exp: Likewise. * binutils-all/readelf.exp: Likewise. * binutils-all/windres/windres.exp: Likewise. * lib/utils-lib.exp: Likewise.
2004-04-14 * binutils-all/readelf.ss-mips: Allow named section symbols.Richard Sandiford2-5/+9
2004-03-30 * binutils-all/objcopy.exp: Accept main as a data symbol as well.Jakub Jelinek2-2/+6
2004-02-27 * ar.c (main): Support POSIX-compatible argument parsing.Andreas Schwab2-1/+41
testsuite: * binutils-all/ar.exp (argument_parsing): New test.
2004-02-20 * ldgram.y (exp): Add two operand ALIGN.Nathan Sidwell1-1/+1
* ldexp.c (fold_binary): Add ALIGN_K case. * ld.texinfo (ALIGN): Document two operand version. * ld-scripts/align.{s,t,exp}: New.
2004-02-20 * binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECTNathan Sidwell2-5/+9
systems.p
2004-01-02Split ChangeLog files.Alan Modra2-1043/+1052
2003-12-03Add "msp" to list of expected architectures.Nick Clifton2-1/+5
2003-10-082003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+5
* binutils-all/objdump.exp (cpu_expected): Add fr550.
2003-09-302003-09-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-24/+56
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON. (get_symbol_index_type): Likewise. testsuites/ 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/readelf.exp: Use is_elf_format. * binutils-all/readelf.h: Support IA64/ILP32. * binutils-all/readelf.s: Likewise. * binutils-all/readelf.ss: Likewise. * lib/utils-lib.exp (proc is_elf_format): Copy from ld testsuite. Add ia64-*-hpux*.
2003-06-28 * binutils-all/objcopy.exp: Initialise $test_prog toDanny Smith2-1/+6
testprog.exe on mingw targeted systems too.
2003-06-28 * rcparse.y (res_text_field): New res_id variable.Danny Smith11-0/+82
(res_null_text): New static const struct res_id object, with empty unicode name field. (control): Pop parsing of optresidc up one level. Set res_text_field to $2 except for controls which do not accept a text field. Set res_text_field to res_null_text for the special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). (control_params): Adjust to use res_text_field rather than optresidc. (COMBOBOX): Add comment about discrepency between documented vs. observed default style. * resrc.c (define_control): Make first param const. * windres.h (define_control): Adjust prototype. testsuite: * binutils-all/windres/checkbox.rc: New file. * binutils-all/windres/checkbox.rsd: New file. * binutils-all/windres/combobox.rc: New file. * binutils-all/windres/combobox.rsd: New file. * binutils-all/windres/edittext.rc: New file. * binutils-all/windres/edittext.rsd: New file. * binutils-all/windres/listbox.rc: New file. * binutils-all/windres/listbox.rsd: New file. * binutils-all/windres/scrollbar.rc: New file. * binutils-all/windres/scrollbar.rsd: New file.
2003-06-27Fix misdirected ChangeLog entry.Thiemo Seufer1-0/+4
2003-06-27 * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-defaultThiemo Seufer1-6/+6
relocation header setup. * binutils-all/readelf.ss-tmips: Adjust symbol indices.
2003-06-19Replace occurances of testprog with $test_prog. Initialise this variable toNick Clifton2-5/+19
testprog.exe on Cygwin targeted systems.
2003-04-26oops - forgot to add the grep for "(DW_OP_addr: 0)"Nick Clifton1-0/+1
2003-04-26Rework readelf -wi tests to grep for expected strings.Nick Clifton3-58/+99