mirror of
https://github.com/rui314/mold.git
synced 2024-11-13 09:39:13 +03:00
[ELF] Fix comment
This commit is contained in:
parent
774fc0f340
commit
6536663130
@ -537,7 +537,7 @@ void scan_rels(Context<E> &ctx) {
|
||||
ctx.got->add_got_symbol(ctx, sym);
|
||||
|
||||
if (sym->flags & NEEDS_PLT) {
|
||||
// If we need to create a canonical PLT (i.e. ctx.arg.pic is true),
|
||||
// If we need to create a canonical PLT (i.e. ctx.arg.pic is false),
|
||||
// we can't use .plt.got because otherwise .plt.got and .plt would
|
||||
// refer each other, resulting in an infinite loop at runtime.
|
||||
if ((sym->flags & NEEDS_GOT) && !ctx.arg.pic)
|
||||
|
Loading…
Reference in New Issue
Block a user