Skip to content

Commit

Permalink
Fix a couple of failures showing up in docker image
Browse files Browse the repository at this point in the history
Presumably these failures are due to slightly different flags being
passed to the linkers by the version of clang in the docker image.
  • Loading branch information
davidlattimore committed Jul 4, 2024
1 parent b884789 commit 2cc7385
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions linker-diff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,17 @@ impl Config {
// We set this to 8. GNU ld sometimes does too, but sometimes to 0.
"section.got.entsize",
"section.plt.got.entsize",
// GNU ld sometimes sets this differently that we do.
"section.plt.alignment",
// We currently output version info when linking against the interpreter
// (ld-linux-x86-64.so.2). GNU ld doesn't.
".dynamic.DT_VERNEEDNUM",
// We currently handle these dynamic tags differently
".dynamic.DT_JMPREL",
".dynamic.DT_PLTGOT",
".dynamic.DT_PLTREL",
// We don't yet write this.
".dynamic.DT_HASH",
// We do support this. TODO: Should definitely look into why we're seeing this missing
// in our output.
"section.rela.plt",
Expand Down

0 comments on commit 2cc7385

Please sign in to comment.