Allow target to override gnu-user.h crti and crtn
authorAlan Modra <amodra@gmail.com>
Sun, 18 Nov 2018 10:25:24 +0000 (20:55 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Sun, 18 Nov 2018 10:25:24 +0000 (20:55 +1030)
commit9515381d1cf44d4c897ac0aeee89d555d82fdd7f
treeea82708e4d7de364142384ebb902b98ff7286a75
parent003fc14b5b74ab203d693e2a4f30c25bd280daf8
Allow target to override gnu-user.h crti and crtn

Also give target access to the gnu-user.h LINK_GCC_C_SEQUENCE_SPEC.

* config/gnu-user.h (GNU_USER_TARGET_CRTI): Define.
(GNU_USER_TARGET_STARTFILE_SPEC): Use it here.
(GNU_USER_TARGET_CRTN): Define.
(GNU_USER_TARGET_ENDFILE_SPEC): Use it here.
(GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r266250
gcc/ChangeLog
gcc/config/gnu-user.h