mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-22 10:35:22 +08:00
2d23fd23bb
The ports that support RTPs achieve the kernel/rtp compilation and link distinction through the multilib mechanism. This patch just removes the bogus explicit extraneous materialization of this distinction in the common VxWorks configuration files and leaves the rtp specialization all to the multilib machinery. 2020-10-15 Olivier Hainque <hainque@adacore.com> libgcc/ * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization. gcc/ * config/vxworks.h (VX_CRTBEGIN_SPEC): Likewise.
13 lines
389 B
Plaintext
13 lines
389 B
Plaintext
# crtbegin/crtend for VxWorks
|
|
|
|
vx_crtbegin.o: $(srcdir)/config/vxcrtstuff.c
|
|
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_BEGIN -c $<
|
|
|
|
vx_crtend.o: $(srcdir)/config/vxcrtstuff.c
|
|
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_END -c $<
|
|
|
|
# We do pretty different things for kernel vs rtp modes, all
|
|
# controlled thanks to __RTP__ and (optional) multilibs.
|
|
|
|
EXTRA_PARTS += vx_crtbegin.o vx_crtend.o
|