aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
AgeCommit message (Collapse)AuthorFilesLines
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
2003-04-23Fix "readelf -wi" testNick Clifton4-68/+42
2003-04-22Rename -I to -J. Deprecate old use of -I, but leave it enabled for now.Nick Clifton2-3/+8
2003-04-03Replace "Static" with "classname" so that results match the behaviour of theNick Clifton3-9/+20
Windows' resource compiler.
2003-03-31Allow resource IDs to be strings or numbers.Nick Clifton3-0/+27
Add a test for this.
2002-11-18TIC4X testcase commitSvein Seldal2-1/+6
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x from test * binutils/testsuite/binutils-all/objdump.exp: Setup proper values for tic4x testcase * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/tic4x: New tic4x gas testsuite directory * ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton4-8/+60
(i386)
2002-08-28Add TMS320C4x supportNick Clifton1-1/+1
2002-08-26Revert last change.Alan Modra2-2/+6
2002-08-26 * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" onAlan Modra2-2/+8
stdout. (strip_executable): Likewise.
2002-08-15 * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022,Alan Modra3-15/+22
tic80, tms320c30. * binutils-all/objcopy.exp (simple copy): Revise xfails.
2002-06-06 * testsuite/binutils-all/objcopy.exp: clear xfail forJeff Law2-2/+2
"hppa*64*-*-hpux*". * testsuite/binutils-all/hppa/objdump.exp: Return if "*64*-*-*".
2002-05-29 * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):Alan Modra2-23/+29
Revert 2001-11-15. Instead allow `D main'.
2002-04-16Define MEMFLAGS_DISCARDABLE by default for dialogs.Nick Clifton5-0/+34
Add a test for this.
2002-04-15Allow two to five parameter in FONT statement of DIALOGEX resources.Nick Clifton3-0/+74
2002-04-11Use 'file delete' instead of 'exec rm -f'.Nick Clifton2-1/+6
2002-04-10Delete created files upon successful completeion of the test.Nick Clifton2-8/+12