Commit graph

295 commits

Author SHA1 Message Date
Nick Clifton
a46a5b5851 Add "msp" to list of expected architectures. 2003-12-03 10:48:53 +00:00
Dave Brolley
7c3f9ad027 2003-10-06 Dave Brolley <brolley@redhat.com>
* binutils-all/objdump.exp (cpu_expected): Add fr550.
2003-10-08 18:13:38 +00:00
H.J. Lu
9ce701e24f 2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* 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-09-30 00:15:54 +00:00
Danny Smith
bd7421f06a * binutils-all/objcopy.exp: Initialise $test_prog to
testprog.exe on mingw targeted systems too.
2003-06-28 23:27:42 +00:00
Danny Smith
b9ae04920a * rcparse.y (res_text_field): New res_id variable.
(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-28 02:37:43 +00:00
Thiemo Seufer
d6e08ad8ab Fix misdirected ChangeLog entry. 2003-06-27 01:18:23 +00:00
Thiemo Seufer
7a79a000c1 * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
relocation header setup.
	* binutils-all/readelf.ss-tmips: Adjust symbol indices.
2003-06-27 01:16:30 +00:00
Nick Clifton
f8a7038a5f Replace occurances of testprog with $test_prog. Initialise this variable to
testprog.exe on Cygwin targeted systems.
2003-06-19 07:45:50 +00:00
Nick Clifton
aaa222e7b0 oops - forgot to add the grep for "(DW_OP_addr: 0)" 2003-04-26 07:57:26 +00:00
Nick Clifton
cbb356d959 Rework readelf -wi tests to grep for expected strings. 2003-04-26 07:53:20 +00:00
Nick Clifton
3f7de0e75e Fix "readelf -wi" test 2003-04-23 17:36:08 +00:00
Nick Clifton
85eb51104b Rename -I to -J. Deprecate old use of -I, but leave it enabled for now. 2003-04-22 17:31:08 +00:00
Nick Clifton
9a1b6dc5fd Replace "Static" with "classname" so that results match the behaviour of the
Windows' resource compiler.
2003-04-03 10:48:16 +00:00
Nick Clifton
7adbf450a7 Allow resource IDs to be strings or numbers.
Add a test for this.
2003-03-31 10:15:58 +00:00
Svein Seldal
48c5eb8a70 TIC4X testcase commit
* 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-18 08:28:44 +00:00
Nick Clifton
c9e3887989 Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)
2002-11-06 19:36:20 +00:00
Nick Clifton
026df7c5e6 Add TMS320C4x support 2002-08-28 10:38:51 +00:00
Alan Modra
68a4c07345 Revert last change. 2002-08-26 23:15:48 +00:00
Alan Modra
84938e2e33 * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
	(strip_executable): Likewise.
2002-08-26 10:15:46 +00:00
Alan Modra
8de397a5ad * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022,
tic80, tms320c30.
	* binutils-all/objcopy.exp (simple copy): Revise xfails.
2002-08-15 23:41:18 +00:00
Jeff Law
e28e05a3e2 * testsuite/binutils-all/objcopy.exp: clear xfail for
"hppa*64*-*-hpux*".
        * testsuite/binutils-all/hppa/objdump.exp: Return if
        "*64*-*-*".
2002-06-06 06:45:12 +00:00
Alan Modra
195fe6367d * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Revert 2001-11-15.  Instead allow `D main'.
2002-05-29 05:00:33 +00:00
Nick Clifton
ea91f8bb52 Define MEMFLAGS_DISCARDABLE by default for dialogs.
Add a test for this.
2002-04-16 08:13:03 +00:00
Nick Clifton
45b9982791 Allow two to five parameter in FONT statement of DIALOGEX resources. 2002-04-15 14:12:41 +00:00
Nick Clifton
690649bea2 Use 'file delete' instead of 'exec rm -f'. 2002-04-11 13:42:03 +00:00
Nick Clifton
aa45f76d84 Delete created files upon successful completeion of the test. 2002-04-10 08:22:00 +00:00
Nick Clifton
acfbab8a5f Regernated recently created expected output files using MSVC.
Set MEMFLAG_PURE by default - bug exposed by regenerated files.
2002-04-10 08:14:32 +00:00
Nick Clifton
b62a12ca88 Add WS_CAPTION dialog style if CAPTION is specified.
Add testcase.
2002-04-09 17:23:19 +00:00
Nick Clifton
420380ba3e Don't print empty dialog caption.
Add testcase.
2002-04-09 17:15:00 +00:00
Nick Clifton
b24eb5ac22 Fix overlooked sublang shift bug.
Add testcase.
2002-04-09 17:06:14 +00:00
Nick Clifton
f7d63484de Set default LANGUAGE to english/us. 2002-04-09 16:55:48 +00:00
Nick Clifton
7e8d45b779 Use signature to identify DIALOGEX.
Add testcase.
2002-04-09 16:37:21 +00:00
Nick Clifton
91eafb409b Don't add default dialog style when explicit style specified.
Print style even if it is 0.
Add testcase.
2002-04-09 15:59:13 +00:00
Nick Clifton
4d0b1625bf "\a" escape (used for right justified key definitions in menus) is encodes as
binary 8.
2002-04-09 15:44:36 +00:00
Nick Clifton
4c30641a0f Fix parsing hex constants in strings. Add test for the fix. 2002-04-09 15:36:43 +00:00
Nick Clifton
df3baf66cb Apply patch from Bernd Herd to fix quoted class definitions inside dialogs. 2002-04-09 15:21:01 +00:00
Nick Clifton
2c71103e61 Display 2nd and 3rd reloc types for 64-bit MIPS.
Narrow some fields for 80-char output.
2002-02-20 10:32:47 +00:00
Hans-Peter Nilsson
c236e98b9f Fix date 2002-02-18 09:16:00 +00:00
Hans-Peter Nilsson
edc45ab901 * binutils-all/objcopy.exp
(strip_executable_with_saving_a_symbol): Prune symbol Main in nm
	output for mmix-knuth-mmixware.
2002-02-18 09:13:48 +00:00
Nick Clifton
6cdd886ce9 Do not expect an explicit ordering of the sections. 2002-02-13 09:48:40 +00:00
Nick Clifton
4a69ea0b0e Add 'xscale' as an expected cpu type. 2002-02-10 10:17:58 +00:00
Nick Clifton
70bbfa2692 Expect xscale-coff to fail simple objcopy test for the same reason as arm-coff. 2002-01-14 17:26:13 +00:00
H.J. Lu
1983fbac47 2001-11-29 H.J. Lu <hjl@gnu.org>
* binutils-all/objcopy.exp (strip_test): Add strip on archive.
2001-11-29 17:34:07 +00:00
Andreas Jaeger
b8908f93e2 * testsuite/binutils-all/objdump.exp: Add x86-64. 2001-11-19 12:38:21 +00:00
Alan Modra
7dc9bd67ad * binutils-all/objcopy.exp: Allow '? main', to suit powerpc64. 2001-11-15 12:51:42 +00:00
Geoffrey Keating
86651999ac * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target. 2001-11-15 01:11:09 +00:00
Thiemo Seufer
e150e7bf83 * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
test.
2001-10-03 13:51:09 +00:00
Jeff Law
b8720f9d57 * readelf.c: Include elf/h8 for H8 series definitions.
(guess_is_rela): H8 series if RELA.
	(dump_relocations): Handle H8 series relocations.

	* testsuite/binutils/all/readelf.exp: Expect readelf -wi to
	fail for the H8 series.
2001-09-05 02:26:04 +00:00
Alan Modra
87e9f96075 * binutils-all/readelf.s-64: Adjust offsets for powerpc64. Don't
use constructs like [45][08] when all combinations are not valid.
	Instead use (48|50) to explicitly state which values are correct.
2001-08-27 10:38:41 +00:00
Thiemo Seufer
dda688fcad * binutils-all/readelf.exp: Don't regard mips*el-*-* as traditional
mips.
	* gas/mips/mips.exp: Likewise. Use traditional testcases for
	mips${el}16-f if needed.
	* gas/mips/elempic.d: New file, testcase for little endian empic.
	* gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump.
	* gas/mips/mips16-f.d: Use non-traditional symbol sorting.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16
	relocations.
	* gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16
	relocations, traditional variant.
2001-08-25 00:48:49 +00:00
H.J. Lu
0d38c7701d 2001-08-21 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.r: Updated for the readelf change.

	* binutils-all/readelf.r-64: New for the readelf change.
2001-08-21 15:54:16 +00:00
H.J. Lu
8bd8d2153f 2001-07-27 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Don't set xfail for
	bmpalign (compare) on none-ix86/pe targets.
2001-07-27 16:16:07 +00:00
H.J. Lu
25268c03b9 2001-07-24 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
	targets.
2001-07-24 19:24:09 +00:00
DJ Delorie
64e0872741 * config/default.exp (WINDRES): Add.
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.
2001-07-18 23:56:41 +00:00
Ben Elliston
56070b8bdc 2001-07-05 Ben Elliston <bje@redhat.com>
* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
	(default_target_assemble): Likewise.
2001-07-05 11:00:28 +00:00
Nick Clifton
89084430cd Fix typos 2001-06-21 07:44:32 +00:00
Andreas Jaeger
f1e0121648 * binutils-all/readelf.r: Don't check for specific info value to
pass testsuite on ia64 and alpha.
2001-06-19 08:16:26 +00:00
H.J. Lu
d2d89a164a Fix typos. 2001-06-07 16:48:18 +00:00
H.J. Lu
fbbd5fc35e 2001-06-07 H.J. Lu <hjl@gnu.org>
* readelf.ss-mips: Support stabs.
	* binutils-all/readelf.ss-tmips: Likewise.
2001-06-07 16:46:38 +00:00
H.J. Lu
eed3fa3bb3 2001-05-25 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp (readelf_test): Set target_machine
	to tmips for traditional mips.

	* binutils-all/readelf.s: Support traditional mips.

	* binutils-all/readelf.ss-tmips: New for traditional mips.
2001-05-25 18:58:10 +00:00
Alan Modra
c709b09623 s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/ 2001-05-25 07:21:01 +00:00
H.J. Lu
1608870fd8 2001-05-24 H.J. Lu <hjl@gnu.org>
* binutils-all/objdump.exp (cpus_expected): Add s390.
2001-05-24 22:01:25 +00:00
H.J. Lu
69e37bf6a2 2001-03-30 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp: Run on more ELF targets.
2001-03-31 06:37:39 +00:00
Nick Clifton
8c2bc6877d Fix typos in ChangeLogs and update copyright notices 2001-03-13 06:43:59 +00:00
Nick Clifton
e135f41bc2 Add PDP-11 support 2001-02-18 23:33:11 +00:00
H.J. Lu
9a580d9af6 2001-02-11 H.J. Lu <hjl@gnu.org>
* config/default.exp: Set up gcc_gas_flag.

	* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
	for Linux only.

	* binutils-all/testprog.c: Include <string.h> and don't use
	exit ().
2001-02-12 00:21:59 +00:00
Nick Clifton
d1abceec08 Fix expected result from readellf -s with 64 bit binaries 2001-01-16 18:27:01 +00:00
Nick Clifton
968fa2cc73 Add tic54x and tms320c54x to expected cpus list. 2000-12-09 23:33:24 +00:00
Hans-Peter Nilsson
bca5546c9e * binutils-all/readelf.s: Adjust to readelf.c formatting changes. 2000-11-28 20:08:14 +00:00
Nick Clifton
ade0b24fe1 Fix readelf -S and readelf -s tests for MIPS and v850 2000-11-03 01:59:12 +00:00
Hans-Peter Nilsson
ba181e2f16 * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails. 2000-10-25 23:23:39 +00:00
Nick Clifton
9a1c93833a (readelf -S test, readelf -s test): Expect mips*-*-* to fail. 2000-10-19 18:04:56 +00:00
Alan Modra
2ec0158338 Fix typos. 2000-07-19 05:16:11 +00:00
Alan Modra
12c616f16e Remove some of the hppa testsuite fudges for hppa-linux. 2000-07-10 14:59:48 +00:00
Frank Ch. Eigler
41f5a528d2 * test cleanup
2000-07-01  Frank Ch. Eigler  <fche@redhat.com>

	* binutils-all/objdump.exp (cpus_expected, cpus_regex): Reorganize
	syntax to display more tcl nature.
2000-07-01 09:42:27 +00:00
Nick Clifton
60bcf0fa8c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
Nick Clifton
3b6ed320ba Do not expect the compilation unit tag to be unit 1 2000-06-19 01:05:41 +00:00
Nick Clifton
9da7f49f68 Expect all arm variants to fail copying executable test 2000-06-19 01:04:20 +00:00
Hans-Peter Nilsson
9921923c9d * binutils-all/readelf.exp (regexp_diff): Do not break when a
mismatching line is found.
	(readelf_find_size): New.
	(readelf_size): New global variable.
	(readelf_test): Add newline to send_log of command.
	If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it
	instead of $srcdir/$subdir/$regexp_file.
	(*-*elf test): Fix typo in message.
	* binutils-all/readelf.s-64: New.
	* binutils-all/readelf.ss-64: New.
2000-06-14 01:21:35 +00:00
Ben Elliston
113675b751 Correct a typo in the author's surname! 2000-05-02 12:47:19 +00:00
Alan Modra
ec1428fa1c elf fixes. 2000-05-02 00:00:27 +00:00
Nick Clifton
bc0fbc97a8 fix to match latest readelf output 2000-03-14 01:27:03 +00:00
Nick Clifton
c58c5ee7b5 expect thumb-pe and thumb-coff failures 1999-11-01 17:12:11 +00:00
Nick Clifton
11d47adc34 Expect arm-pe and arm-coff failure of the simple objcopy test 1999-11-01 16:48:05 +00:00
Jeff Law
c392c1bbc1 * binutils-all/hppa/objdump.exp: Do not run for PA64. 1999-09-14 06:30:50 +00:00
Ian Lance Taylor
d9ea9319a9 fix date 1999-09-04 17:40:28 +00:00
Ian Lance Taylor
6a0aef968b 1999-09-02 Steve Chamberlain <sac@pobox.com>
* binutils-all/objdump.exp: Add pj to cpus_expected.
1999-09-04 17:38:46 +00:00
Jeff Law
40a825c310 * binutils-all/hppa/freg.s: New file.
* binutils-all/hppa/objdump.exp:  Add freg.s test.
1999-08-28 06:26:22 +00:00
Ian Lance Taylor
e6bc794707 * binutils-all/objcopy.exp: Add setup_xfail for simple copy test
for i*86-*-msdos*.
1999-08-09 04:37:25 +00:00
Ian Lance Taylor
0691c3ca1f 1999-07-21 H.J. Lu <hjl@gnu.org>
* binutils-all/testprog.c: Include <stdio.h>.
1999-07-22 00:20:30 +00:00
Nick Clifton
4eb4387d5e Add fr30 and mcore to expected cpus list.
Fix readelf -r test to not assume a fixed number of spaces in the output.
1999-06-29 01:31:19 +00:00
Nick Clifton
4abec3504c Updated to match latest output. 1999-06-10 01:20:33 +00:00
Andreas Schwab
3026443322 * binutils-all/objdump.exp: Tighten regexp to match `objdump -i'
output to avoid massive exponential behaviour.
1999-06-09 03:01:26 +00:00
Ian Lance Taylor
0d59e34570 * binutils-all/readelf.h: Update for changes of 1999-04-08. 1999-05-27 22:05:26 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00