1 /* ELF definitions for TI C6X
2 Copyright (C) 2010-2014 Free Software Foundation, Inc.
3 Contributed by Andrew Jenner <andrew@codesourcery.com>
4 Contributed by Bernd Schmidt <bernds@codesourcery.com>
6 This file is part of GCC.
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.
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.
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/>. */
22 /* crt0.o should come from the linker script, but for compatibility,
23 we mention it here for -msim. */
25 #define STARTFILE_SPEC "%{msim:crt0%O%s} crti%O%s crtbegin%O%s"
28 #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
31 #define LIB_SPEC "%{msim:--start-group -lc -lsim --end-group;" \
35 #define LINK_SPEC ENDIAN_LINK_SPEC