Jonathon Reinhart
Jonathon Reinhart

Reputation: 137438

Which man page describes ld linker script syntax?

I'm pretty sure there is a man page for the ld linker script syntax, but I cannot find it.

Upvotes: 5

Views: 2287

Answers (3)

Hibou57
Hibou57

Reputation: 7170

If you prefer something more handy than info, here is a browsable HTML version of the same: ld.info: Scripts. But it may not be entirely up‑to‑date, as the date is 2004.

Another one is here: Linker Scripts. There is not date, but a version, which is Binutils 2.12 (not that old).

You may find some others search the web for that exact expression: "ld.info: Scripts".

Upvotes: 5

thang
thang

Reputation: 3466

Not sure what you're looking for, but man ld works for me.

Also, try http://linux.die.net/man/1/ld

or for a complete manual for LD, get it from binutils or here:

http://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/ld.html

(before it was bundled into binutils)

Upvotes: 2

jkoshy
jkoshy

Reputation: 1863

GNU ld's script syntax is documented in its texinfo documentation.

On a GNU/Linux system you can use the following command to reach the relevant documentation:

% info ld Scripts

Upvotes: 6

Related Questions