[PATCH] SH: Fix m2a-single-only compilation error

Naveen H. S Naveen.S@kpitcummins.com
Fri Mar 30 04:59:00 GMT 2012


Hi,

Please find attached the patch "crt1.patch" which fixes compilation
issue with sh2a-single-only target. 
Currently, compilation generates the following error:-
"merge of architecture 'sh3e' with architecture 'sh2a' produced unknown architecture"
The patch fixes the issue.

Tested with sh2a-elf. No new regressions.

ChangeLog
2012-03-30  Naveen H.S  <naveen.S@kpitcummins.com>

	* libgcc/config/sh/crt1.S (VBR_SETUP): Don't define for SH2E targets

Thanks & Regards,
Naveen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: crt1.patch
Type: application/octet-stream
Size: 558 bytes
Desc: crt1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120330/9c59f450/attachment.obj>


More information about the Gcc-patches mailing list