https://bugs.llvm.org/show_bug.cgi?id=39049
Fangrui Song <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
CC| |[email protected]
Status|NEW |RESOLVED
--- Comment #2 from Fangrui Song <[email protected]> ---
> and a simple addition/subtraction with a constant
You may mean relocations relative to section symbols. They are represented as
something like .text + 0x20 . I think these are already leveraged by
compilers.. (llvm-mc is better at using local symbols than GNU as)
> a constant could be used instead of a relocation table that slows down
> program load.
I think you meant dynamic relocation types. This mechanism is available in
linkers. Dynamic relocation types are only produced when necessary..
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs