Skip to content

Commit

Permalink
Ignore --long-plt option
Browse files Browse the repository at this point in the history
Our ARM32 PLT is always long, so we can safely ignore the flag.

Fixes #1230
  • Loading branch information
rui314 committed Apr 6, 2024
1 parent 7145737 commit d432e98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elf/cmdline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,7 @@ std::vector<std::string> parse_nonpositional_args(Context<E> &ctx) {
} else if (read_flag("warn-constructors")) {
} else if (read_flag("warn-execstack")) {
} else if (read_flag("no-warn-execstack")) {
} else if (read_flag("long-plt")) {
} else if (read_flag("secure-plt")) {
} else if (read_arg("rpath-link")) {
} else if (read_z_flag("combreloc")) {
Expand Down

0 comments on commit d432e98

Please sign in to comment.