mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 15:19:31 -04:00
Currently for the MFS, firmware and VDSO template assembly files we pass the path to include with .incbin unquoted and use __XSTRING within the assembly file to stringify it. However, __XSTRING doesn't just perform a single level of expansion, it performs the normal full expansion of the macro, and so if the path itself happens to tokenise to something that includes a defined macro in it that will itself be substituted. For example, with #define MACRO 1, a path like /path/containing/MACRO/in/it will expand to /path/containing/1/in/it and then, when stringified, end up as "/path/containing/1/in/it", not the intended string. Normally, macros have names that start or end witih underscores and are unlikely to appear in a tokenised path (even if technically they could), but now that we've switched to GNU C as of commit |
||
|---|---|---|
| .. | ||
| config.mk | ||
| dtb.build.mk | ||
| dtb.mk | ||
| files | ||
| files.amd64 | ||
| files.arm | ||
| files.arm64 | ||
| files.i386 | ||
| files.powerpc | ||
| files.riscv | ||
| files.x86 | ||
| kern.mk | ||
| kern.opts.mk | ||
| kern.post.mk | ||
| kern.pre.mk | ||
| kmod.mk | ||
| kmod.opts.mk | ||
| kmod_syms.awk | ||
| kmod_syms_prefix.awk | ||
| ldscript.amd64 | ||
| ldscript.arm | ||
| ldscript.arm64 | ||
| ldscript.i386 | ||
| ldscript.kmod.amd64 | ||
| ldscript.kmod.i386 | ||
| ldscript.powerpc | ||
| ldscript.powerpc64 | ||
| ldscript.powerpc64le | ||
| ldscript.powerpcspe | ||
| ldscript.riscv | ||
| Makefile.amd64 | ||
| Makefile.arm | ||
| Makefile.arm64 | ||
| Makefile.i386 | ||
| Makefile.powerpc | ||
| Makefile.riscv | ||
| newvers.sh | ||
| NOTES | ||
| options | ||
| options.amd64 | ||
| options.arm | ||
| options.arm64 | ||
| options.i386 | ||
| options.powerpc | ||
| options.riscv | ||
| std.nodebug | ||
| sysent.mk | ||
| systags.sh | ||
| vdso_amd64.ldscript | ||
| vdso_amd64_ia32.ldscript | ||
| WITHOUT_SOURCELESS | ||
| WITHOUT_SOURCELESS_HOST | ||
| WITHOUT_SOURCELESS_UCODE | ||