This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] vtentry fixes for elf32_sparc and a set fix, testsuite additions


On Tue, Jun 08, 1999 at 07:34:50PM +0200, Jakub Jelinek wrote:
> 1999-06-08  Jakub Jelinek  <jj@ultra.linux.cz>
> 
>         * gas/config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
> 	synthetize_setx): New functions.
> 	(md_assemble): Broken the special cases into the above
> 	functions. Make compiler happy if sizeof(bfd_vma)==4.
> 	Fix sethi generated from set/setuw. If instructions have a relloc,
> 	always clear the fields to be relocated in the opcode.
> 	(sparc_ip): Remove special_case global variable.
> 
> 	* gas/testsuite/gas/sparc/synth64.s: Add checks for
> 	single register signx/clruw.
> 	* gas/testsuite/gas/sparc/set64.s: Add tests for setuw and setsw
> 	synthetic instructions.
> 	* gas/testsuite/gas/sparc/prefetch.d: Add -64 as switch.
> 	* gas/testsuite/gas/sparc/rdpr.d: Ditto.
> 	* gas/testsuite/gas/sparc/wrpr.d: Ditto.
> 	* gas/testsuite/gas/sparc/synth64.d: Ditto, reflect synth64.s changes.
> 	* gas/testsuite/gas/sparc/reloc64.d: Add -64 as switch, be more
> 	tolerant, as current gas outputs %hi(0) and not %hi(0x0).
> 	* gas/testsuite/gas/sparc/set64.d: Add -64 as switch, reflect
> 	set64.s changes and optimizations for setx instruction.
> 	* gas/testsuite/gas/sparc/sparc.exp: Do sparc64*-*-* checks
> 	if it is any of the compiled-in targets.
> 
> 	* bfd/elf64_sparc.c: Use R_SPARC_max_std instead of
> 	R_SPARC_max in the tests, because many relocations are not defined
> 	before GNU extensions. Otherwise the tests don't make much sense,
> 	as they don't catch 90% of the bad cases.
> 	* bfd/elf32_sparc.c: Ditto, fix R_SPARC_GNU_VTINHERIT and
> 	R_SPARC_GNU_VTENTRY handling. Now it finally passes testsuite
> 	with -32 (with the exception of objdump output in one of the tests
> 	showing the name of the section instead of the symbol at the
> 	beginning of it).
> 	* include/elf/sparc.h: Define R_SPARC_max_std.

Applied, thanks.


r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]