On Wednesday, 19 May 2021 at 22:23:00 UTC, 12345swordy wrote: > You shouldn't copy and paste someone else's links script > without understanding how it works. > > Please read the documentation on the linker script. > > https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html > > -Alex But, it works for GCC.