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