On Mon, 19 Apr 2021 at 14:33, David Sherman wrote: > > Hi, can you explain what those switches mean? I'm looking in the LD documentation and there is no mention of these. Those are GCC options, so they're documented in the GCC manual. The -Wl, option passes whatever follows to the linker, so --gc-sections is an LD option.