If in a project there's xxx.ld linker script, How's it being generated or being used?
What's the syntax to input the xxx.ld script to the GCC toolchain?
Paeryn wrote:Somebody wrote it, it's used by the linker ld to tell it how to link object files. Normally ld will use a default linker script but if you pass a linker script to it it will use that instead.
http://www.math.utah.edu/docs/info/ld_3.html