This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

alias problem with gold


I started looking at the x86-64 kernel problem (crashes very early 
at boot) when linked with gold.

First thing I notice is that symbol aliases don't seem to work.

The linker script has a alias for a symbol:

jiffies_64 = jiffies;

on the BFD linker it ends up as a true alias:

ffffffff80795880 A jiffies
ffffffff80795880 A jiffies_64

but on gold the alias is 0

0000000000000000 A jiffies_64
...
ffffffff8079b880 D jiffies

That's not the reason it crashes though, but I bet it would have crashed
later due to this later too.

BTW the maps are difficult to compare because the types are often different.
Often 'T' in BFD is 'A' in gold. Is that intended? 

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]