|
|
hi,
On 28/05/2016 08:47, Orchid Win7 v1 wrote:
> So here's a question: how does linking actually work?
can't answer all of your questions, but here goes:
you're right about the jump-table. google / search docs for "GOT"
(global offset table).
the .o files aren't "raw machine code". afaik, GCC uses an intermediary
language ("gimple") which allows creating programs/libs where different
TUs may be written in different languages (C, Ada, etc). see the docs
on the '-flto' (link time optimisation) compiler and '-Wl,-flto' linker
options.
jr.
Post a reply to this message
|
|