Home | History | Annotate | Line # | Download | only in pru
      1 ; Options for the TI PRU port of the compiler.
      2 ; Copyright (C) 2018-2022 Free Software Foundation, Inc.
      3 ; Contributed by Dimitar Dimitrov <dimitar (a] dinux.eu>
      4 ;
      5 ; This file is part of GCC.
      6 ;
      7 ; GCC is free software; you can redistribute it and/or modify
      8 ; it under the terms of the GNU General Public License as published by
      9 ; the Free Software Foundation; either version 3, or (at your option)
     10 ; any later version.
     11 ;
     12 ; GCC is distributed in the hope that it will be useful,
     13 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 ; GNU General Public License for more details.
     16 ;
     17 ; You should have received a copy of the GNU General Public License
     18 ; along with GCC; see the file COPYING3.  If not see
     19 ; <http://www.gnu.org/licenses/>.
     20 
     21 HeaderInclude
     22 config/pru/pru-opts.h
     23 
     24 minrt
     25 Target Mask(MINRT) RejectNegative
     26 Use a minimum runtime (no static initializers or ctors) for memory-constrained
     27 devices.
     28 
     29 mmcu=
     30 Target RejectNegative Joined
     31 -mmcu=MCU	Select the target System-On-Chip variant that embeds this PRU.
     32 
     33 mno-relax
     34 Target RejectNegative
     35 Make GCC pass the --no-relax command-line option to the linker instead of
     36 the --relax option.
     37 
     38 mloop
     39 Target Mask(OPT_LOOP)
     40 Allow (or do not allow) gcc to use the LOOP instruction.
     41 
     42 mabi=
     43 Target RejectNegative Joined Enum(pru_abi_t) Var(pru_current_abi) Init(PRU_ABI_GNU) Save
     44 Select target ABI variant.
     45 
     46 Enum
     47 Name(pru_abi_t) Type(enum pru_abi)
     48 ABI variant code generation (for use with -mabi= option):
     49 
     50 EnumValue
     51 Enum(pru_abi_t) String(gnu) Value(PRU_ABI_GNU)
     52 
     53 EnumValue
     54 Enum(pru_abi_t) String(ti) Value(PRU_ABI_TI)
     55