[PATCH] Support evaluating the difference between two symbols in the same section on CRX.
Tomer Levi
Tomer.Levi@nsc.com
Tue Jul 27 09:55:00 GMT 2004
Hi Nick,
> Nick clifton wrote :
> There are a couple of features which I hope that you will be submitting
> in the future:
> * Support in GAS for evaluating the difference between two symbols
> which are defined in the same section. (Lack of this support is causing
> 3 unexpected failures in the GAS testsuite).
Attached is a patch for supporting this feature (crx.patch.bz2).
I ran GAS testsuite on the change - 2 of the 3 unexpected failures now
pass.
The third (do_930509a on all/gas.exp) should be disabled as for PA
architecture (handled by the linker).
The patch also includes support for two new CRX instructions (popx,
pushx).
Please apply the changes, if approved.
Following are the ChangeLog entries :
The Changelog entry for the BFD subdirectory:
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
* reloc.c: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16,
BFD_RELOC_CRX_SWITCH32.
* bfd-in2.h: Regenerate.
* elf32-crx.c: Support relocation/relaxation of
BFD_RELOC_CRX_SWITCH* types.
The Changelog entry for the INCLUDE subdirectory:
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
include/elf/
* crx.h: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16,
BFD_RELOC_CRX_SWITCH32.
The Changelog entry for the GAS subdirectory:
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support evaluating the difference between two
symbols.
* config/tc-crx.h: Likewise.
The Changelog entry for the OPCODES subdirectory:
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c: Add popx,pushx insns. Indent code, fix comments.
The Changelog entry for the GAS TESTSUITE subdirectory:
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
* gas/all/gas.exp (do_930509a): Disable test for crx.
Regards,
Tomer Levi
Software Engineer phone:
+49-8141-35-1378
CompactRISC Development Tools fax: +49-8141-35-11-1378
National Semiconductor GmbH mailto:Tomer.Levi@nsc.com
Livry-Gargan Str. 10 internet:
http://www.national.com
82256 Fuerstenfeldbruck, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crx.patch.bz2
Type: application/octet-stream
Size: 2855 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040727/9aa8090c/attachment.obj>
More information about the Binutils
mailing list