Skip to content

Instantly share code, notes, and snippets.

@ibndias
Created May 26, 2020 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndias/03fa56e6c2e2376551fad7c5b7d29ceb to your computer and use it in GitHub Desktop.
Save ibndias/03fa56e6c2e2376551fad7c5b7d29ceb to your computer and use it in GitHub Desktop.
#Compile using custom linker file and generate map file
gcc hello.c -Wl,-T,hello.ld,-Map=hello.map
#Show current ld used by linker
ld -verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment