This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

[PATCH] Support evaluating the difference between two symbolsin the same section on CRX.


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

Attachment: crx.patch.bz2
Description: Binary data


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