* linker script help.
@ 2006-05-06 1:13 Gustavo Oliveira
2006-05-07 16:28 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Oliveira @ 2006-05-06 1:13 UTC (permalink / raw)
To: gcc-help
Hi, I need to speficy absolute addresses of where functions should go
and I belive I can do it with a linker script.
However, what I'd like to do is to see if the linker can spit out the
current linking script with all symbols so I can edit (instead of
writing one from scratch) and pass -T to the linker with my editable
script. I searched through the help and I found this option --print-map
but it doesn't do what I watn.
anyway is the an option that the linker outputs to a text file the
linker script with all the info I need to be edited?
thx.
tchau,
Gustavo.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linker script help.
2006-05-06 1:13 linker script help Gustavo Oliveira
@ 2006-05-07 16:28 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2006-05-07 16:28 UTC (permalink / raw)
To: Gustavo Oliveira; +Cc: gcc-help
"Gustavo Oliveira" <info@guitarv.com> writes:
> However, what I'd like to do is to see if the linker can spit out the
> current linking script with all symbols so I can edit (instead of
> writing one from scratch) and pass -T to the linker with my editable
> script. I searched through the help and I found this option --print-map
> but it doesn't do what I watn.
>
> anyway is the an option that the linker outputs to a text file the
> linker script with all the info I need to be edited?
--verbose.
From the compiler, you will need to use -Wl,--verbose.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-07 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-06 1:13 linker script help Gustavo Oliveira
2006-05-07 16:28 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).