diff options
Diffstat (limited to 'libgcc/Makefile.in')
-rw-r--r-- | libgcc/Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index 357e15c3761..f0506f26620 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -184,7 +184,7 @@ STRIP = @STRIP@ STRIP_FOR_TARGET = $(STRIP) # Directory in which the compiler finds libraries etc. -libsubdir = $(libdir)/gcc/$(host_noncanonical)/$(version) +libsubdir = $(libdir)/gcc/$(host_noncanonical)/$(version)@accel_dir_suffix@ # Used to install the shared libgcc. slibdir = @slibdir@ # Maybe used for DLLs on Windows targets. @@ -995,6 +995,14 @@ crtendS$(objext): $(srcdir)/crtstuff.c crtbeginT$(objext): $(srcdir)/crtstuff.c $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< -DCRT_BEGIN -DCRTSTUFFT_O +# crtoffloadbegin and crtoffloadend contain symbols, that mark the begin and +# the end of tables with addresses, required for offloading. +crtoffloadbegin$(objext): $(srcdir)/offloadstuff.c + $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< -DCRT_BEGIN + +crtoffloadend$(objext): $(srcdir)/offloadstuff.c + $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< -DCRT_END + ifeq ($(enable_vtable_verify),yes) # These are used in vtable verification; see comments in source files for # more details. |