Patchwork [PING,3,RX] Add assembler option "-mcu" for generating assembler

login
register
mail settings
Submitter Sandeep Kumar Singh
Date Aug. 23, 2013, 1:15 p.m.
Message ID <00D82FEA4EAEB64782676AD908D06E6F7B6AC839@KCHJEXMB03.kpit.com>
Download mbox | patch
Permalink /patch/269449/
State New
Headers show

Comments

Sandeep Kumar Singh - Aug. 23, 2013, 1:15 p.m.
Hi,

Please find the patch to add assembler option "-mcu" for generating assembler
error messages when target not supporting hardware FPU were seeing FPU code,
namely RX100 and RX200.

KPIT has recently submitted a patch to add warnings of RX variants that do not
have hardware FPU support,
http://www.sourceware.org/ml/binutils/2013-07/msg00085.html


Please let me know if this is OK?


Regards,
Sandeep Kumar Singh,
KPIT Cummins InfoSystems Ltd.
Pune, India

gas/config:
2013-07-18  Sandeep Kumar Singh  <Sandeep.Singh2@kpitcummins.com>

        * rx.h: Add option -mcpu for target variants RX100 and RX200.
Nick Clifton - Aug. 27, 2013, 4:25 p.m.
Hi Sandeep,

> gas/config:
> 2013-07-18  Sandeep Kumar Singh<Sandeep.Singh2@kpitcummins.com>
>
>          * rx.h: Add option -mcpu for target variants RX100 and RX200.
>

Approved - please apply.

Cheers
   Nick

Patch

Index: gcc/config/rx/rx.h
===================================================================
--- gcc/config/rx/rx.h.orig	2013-07-18 18:03:11.000000000 +0530
+++ gcc/config/rx/rx.h	2013-07-11 14:57:17.000000000 +0530
@@ -101,6 +101,7 @@ 
 %{mpid} \
 %{mint-register=*} \
 %{mgcc-abi:-mgcc-abi} %{!mgcc-abi:-mrx-abi} \
+%{mcpu=*} \
 "
 
No regression found with this patch.