1 /* ELF definitions for TI C6X
2    Copyright (C) 2010-2020 Free Software Foundation, Inc.
3    Contributed by Andrew Jenner <andrew@codesourcery.com>
4    Contributed by Bernd Schmidt <bernds@codesourcery.com>
5 
6    This file is part of GCC.
7 
8    GCC is free software; you can redistribute it and/or modify it
9    under the terms of the GNU General Public License as published
10    by the Free Software Foundation; either version 3, or (at your
11    option) any later version.
12 
13    GCC is distributed in the hope that it will be useful, but WITHOUT
14    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16    License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with GCC; see the file COPYING3.  If not see
20    <http://www.gnu.org/licenses/>.  */
21 
22 /* crt0.o should come from the linker script, but for compatibility,
23    we mention it here for -msim.  */
24 #undef  STARTFILE_SPEC
25 #define STARTFILE_SPEC "%{msim:crt0%O%s} crti%O%s crtbegin%O%s"
26 
27 #undef  ENDFILE_SPEC
28 #define ENDFILE_SPEC	"crtend%O%s crtn%O%s"
29 
30 #undef  LIB_SPEC
31 #define LIB_SPEC "%{msim:--start-group -lc -lsim --end-group;" \
32 	":-lc}"
33 
34 #undef LINK_SPEC
35 #define LINK_SPEC ENDIAN_LINK_SPEC
36