Mark Shinwell
e46ab5135e
binutils/testsuite/
...
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo
sections.
2007-05-08 06:48:06 +00:00
Alan Modra
0d063f63c5
* binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
...
(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-05-02 10:38:00 +00:00
Nick Clifton
312aaa3cfe
* objcopy.c (filter_symbols): Explicitly stripping a symbol used in 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-24 10:56:58 +00:00
Nick Clifton
9e48b4c6ec
* objcopy.c (reverse_bytes): New variable.
...
(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-23 10:59:07 +00:00
Richard Earnshaw
d301303549
* binutils-all/readelf.exp (regexp_diff): Delete.
2007-04-21 19:01:20 +00:00
Richard Earnshaw
9401f88dfe
* binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
...
Rename the second test.
2007-04-19 23:27:03 +00:00
H.J. Lu
1aa9ef630c
2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
...
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.
2007-04-12 19:20:46 +00:00
Nathan Sidwell
903b1f5b5b
* binutils-all/objcopy.exp: Skip for uclinux targets.
2007-02-27 12:19:16 +00:00
Nick Clifton
b279a55c19
* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected output failure message.
2007-02-14 10:05:59 +00:00
Nick Clifton
42037fe5bb
Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
2007-01-08 17:21:50 +00:00
Nick Clifton
99ad839030
Add x86_64-mingw64 target
2006-09-20 11:35:11 +00:00
H.J. Lu
7d3d6bd5c1
Fix PR references.
2006-09-15 00:12:32 +00:00
H.J. Lu
748fc5e9b4
binutils/
...
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3182
* objcopy.c (group_signature): Return proper group signature.
binutils/testsuite/
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3182
* binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF
targets.
* binutils-all/strip-1.d: New file.
* binutils-all/strip-2.d: Likewise.
* lib/utils-lib.exp (run_dump_test): Support strip.
2006-09-14 23:37:35 +00:00
Thiemo Seufer
4be041b2db
[ ChangeLog ]
...
* config.sub: Add support for sde as alias of mipsisa32-sde-elf.
[ bfd/ChangeLog ]
* config.bfd: Add configurations for mips*el-sde-elf* and
mips*-sde-elf*.
[ binutils/testsuite/ChangeLog ]
* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.
[ gas/ChangeLog ]
* configure.tgt: Handle mips*-sde-elf*.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Handle mips*-sde-elf*.
2006-08-15 18:23:11 +00:00
Richard Sandiford
a87866e601
binutils/testsuite/
...
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.
2006-06-24 09:10:04 +00:00
Richard Sandiford
d58c2e3acd
binutils/
...
* objcopy.c (localize_hidden): New variable.
(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
(copy_options): Add --localize-hidden.
(copy_usage): Mention --localize-hidden.
(is_hidden_symbol): New function.
(filter_symbols): Handle localize_hidden.
(copy_object): Call filter_symbols if localize_hidden.
(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
* doc/binutils.texi (--localize-hidden): Document new option.
binutils/testsuite/
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.
2006-06-23 16:23:09 +00:00
Paul Brook
c22aaad1c7
2006-06-06 Paul Brook <paul@codesourcery.com>
...
opcodes/
* arm-dis.c (coprocessor_opcodes): Add %c to unconditional arm
instructions.
(neon_opcodes): Add conditional execution specifiers.
(thumb_opcodes): Ditto.
(thumb32_opcodes): Ditto.
(arm_conditional): Change 0xe to "al" and add "" to end.
(ifthen_state, ifthen_next_state, ifthen_address): New.
(IFTHEN_COND): Define.
(print_insn_coprocessor, print_insn_neon): Print thumb conditions.
(print_insn_arm): Change %c to use new values of arm_conditional.
(print_insn_thumb16): Print thumb conditions. Add %I.
(print_insn_thumb32): Print thumb conditions.
(find_ifthen_state): New function.
(print_insn): Track IT block state.
gas/testsuite/
* gas/arm/thumb2_bcond.d: Update expected output.
* gas/arm/thumb32.d: Ditto.
* gas/arm/vfp1_t2.d: Ditto.
* gas/arm/vfp1xD_t2.d: Ditto.
binutils/testsuite/
* binutils-all/arm/objdump.exp: New file.
* binutils-all/arm/thumb2-cond.s: New test.
2006-06-07 14:08:19 +00:00
H.J. Lu
5a135cf21f
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
...
* binutils-all/copy-3.d: Fix a typo.
2006-05-03 16:45:59 +00:00
H.J. Lu
81fc501adb
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
...
* binutils-all/copy-3.d: New.
* objcopy.exp: Run copy-3.
2006-05-03 14:21:18 +00:00
Dave Korn
e44d194ff6
2006-05-02 Dave Korn <dave.korn@artimi.com>
...
* binutils-all/copy-1.d (name): Correct spelling of 'setting'.
* binutils-all/copy-2.d (name): Likewise.
2006-05-02 17:46:41 +00:00
Nick Clifton
7cc27f03b9
* binutils-all/copy-2.d: Change the name of the section whose flags are
...
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-02 12:17:30 +00:00
H.J. Lu
85d7f0b9e3
2006-05-01 H.J. Lu <hongjiu.lu@intel.com>
...
* binutils-all/objcopy.exp: Run "copy-1" for ELF only.
2006-05-01 14:09:35 +00:00
Ben Elliston
004314cccd
* binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;
2006-05-01 04:01:25 +00:00
H.J. Lu
af3c5dea22
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
...
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-26 13:37:05 +00:00
H.J. Lu
8648f88f4c
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/2467
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
on archive.
2006-04-25 14:06:10 +00:00
H.J. Lu
da28e1e1b0
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
...
* lib/utils-lib.exp (default_binutils_run): Check exit status.
2006-04-10 19:05:31 +00:00
Ben Elliston
49236396bb
* config/default.exp: Do not load the unneeded util-defs.exp.
2005-12-24 11:17:21 +00:00
Jan Beulich
9ab8018267
binutils/testsuite/
...
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-11-15 08:32:02 +00:00
H.J. Lu
6a0d0afdc7
binutils/testsuite/
...
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-20 17:06:41 +00:00
H.J. Lu
64bb95af3d
binutils/testsuite/
...
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-19 20:49:03 +00:00
H.J. Lu
ad2fb2cdb9
2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/1321
* binutils-all/link-order.s: New.
* binutils-all/objcopy.exp: Check ia64 link order.
2005-10-19 17:39:43 +00:00
Danny Smith
3d888abf5b
2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
...
* binutils-all/windres/escapex-2.rc: New file.
* binutils-all/windres/escapex-2.rsd: Generate.
2005-10-12 00:19:26 +00:00
Nick Clifton
c0524131ea
Re-enable GAS for z8k-coff
2005-08-26 09:47:49 +00:00
Alan Modra
c17ae8a24e
Remove a29k support.
2005-08-18 03:51:51 +00:00
Nick Clifton
b43b5d5f76
Update FSF address
2005-05-08 14:17:41 +00:00
Nick Clifton
ae99769bfc
Condense the two tests into one and add a "-M entry:" for the second label.
2005-04-04 17:20:29 +00:00
Nick Clifton
ec72cfe589
Add VAX specific disassembler option -Mentry: to specify a function entry
...
address, and add code to test this new option.
2005-03-29 16:13:48 +00:00
Ben Elliston
55aba7043f
* config/default.exp: Remove send_user call for stray output.
2005-03-07 23:12:53 +00:00
Nick Clifton
c9bc3b3d29
Add prototype for printf() and make type of "string" array be "char" in
...
order to avoid compile time warnings.
2005-01-04 10:13:02 +00:00
Alan Modra
ca0548b640
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
2004-12-30 22:37:31 +00:00
Hans-Peter Nilsson
45175cda92
* binutils-all/objdump.exp (cpus_expected): Append cris.
2004-11-04 15:04:41 +00:00
H.J. Lu
e4c8d1e49f
2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
...
* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
2004-10-28 14:58:26 +00:00
Nick Clifton
0fd555c412
* dlltool.c: Include <assert.h>.
...
(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 17:26:36 +00:00
Nick Clifton
607dea9764
dlltool.c (ext_prefix_alias): New global variable.
...
(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-12 17:07:55 +00:00
Andreas Schwab
8577e690b5
binutils/testsuite/:
...
* 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-07-09 18:42:14 +00:00
Nick Clifton
d2093c1351
Cope with ARM mapping symbols
2004-05-15 14:09:08 +00:00
Ben Elliston
8d26365061
* binutils-all/ar.exp: Remove stray semicolons.
...
* 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-05-12 03:28:46 +00:00
Richard Sandiford
e9e2c3f6cf
* binutils-all/readelf.ss-mips: Allow named section symbols.
2004-04-14 07:38:12 +00:00
Jakub Jelinek
adacfc8184
* binutils-all/objcopy.exp: Accept main as a data symbol as well.
2004-03-30 09:54:15 +00:00
Andreas Schwab
af865222e0
* ar.c (main): Support POSIX-compatible argument parsing.
...
testsuite:
* binutils-all/ar.exp (argument_parsing): New test.
2004-02-27 11:04:36 +00:00