source: rtems/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg @ aacb7e6

4.115
Last change on this file since aacb7e6 was aacb7e6, checked in by Sebastian Huber <sebastian.huber@…>, on 09/01/14 at 06:00:35

bsp/ngmp: Use -mcpu=leon3 GCC option

There is support for the LEON3 processor available in Binutils 2.24 and
the GCC 4.8 branch and GCC mainline.

GCC 4.8 branch:

http://gcc.gnu.org/viewcvs/gcc/branches/?view=log&pathrev=205331

GCC mainline:

http://gcc.gnu.org/viewcvs/gcc/trunk/?view=log&pathrev=202664

It is mandatory to use this option for SMP on LEON3 since it enables
usage of C11 atomic operations. It makes it also possible to use an
inline function for _CPU_SMP_Get_current_processor() which avoids the
function call overhead in critical sections.

  • Property mode set to 100644
File size: 83 bytes
RevLine 
[12cbc37]1include $(RTEMS_ROOT)/make/custom/leon3.cfg
[aacb7e6]2
3CPU_CFLAGS = -mcpu=leon3 -msoft-float
Note: See TracBrowser for help on using the repository browser.