1*4c3eb207SmrgLIB2ADDEH = 2*4c3eb207Smrg 3*4c3eb207Smrgcrti.o: $(srcdir)/config/bpf/crti.S 4*4c3eb207Smrg $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< 5*4c3eb207Smrg 6*4c3eb207Smrgcrtn.o: $(srcdir)/config/bpf/crtn.S 7*4c3eb207Smrg $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< 8*4c3eb207Smrg 9*4c3eb207Smrg# Some of the functions defined in libgcc2 exceed the eBPF stack 10*4c3eb207Smrg# limit, or other restrictions imposed by this peculiar target. 11*4c3eb207Smrg# Therefore we have to exclude them here. 12*4c3eb207Smrg# 13*4c3eb207Smrg# Patterns in bpf.md must guarantee that no calls to the excluded 14*4c3eb207Smrg# functions are ever generated, and compiler tests should make sure 15*4c3eb207Smrg# this holds. 16*4c3eb207Smrg# 17*4c3eb207Smrg# Note that the modes in the function names below are misleading: di 18*4c3eb207Smrg# means TImode. 19*4c3eb207SmrgLIB2FUNCS_EXCLUDE = _mulvdi3 _divdi3 _moddi3 _divmoddi4 _udivdi3 _umoddi3 \ 20*4c3eb207Smrg _udivmoddi4 21*4c3eb207Smrg 22*4c3eb207Smrg# Prevent building "advanced" stuff (for example, gcov support). 23*4c3eb207SmrgINHIBIT_LIBC_CFLAGS = -Dinhibit_libc 24