1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-04 00:31:41 +03:00
mold/src
Rui Ueyama 0612ea41f1 Lower the priority of DSO symbols than in-archive symbols
Assume both `foo.a` and `bar.so` define the same symbol `baz`.
If `baz`'s symbol visibility is hidden, it needs to be resolved within
the output file, i.e., from `foo.a`. However, previously, such symbol
was resolved to the one in `bar.so`.

To fix the problem, we'll lower the symbol priority for DSOs.

Fixes https://github.com/rui314/mold/issues/1342
2024-09-15 17:17:43 +09:00
..
arch-alpha.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-arm32.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-arm64.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-i386.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-loongarch.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-m68k.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-ppc32.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-ppc64v1.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-ppc64v2.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-riscv.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-s390x.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-sh4.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-sparc64.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
arch-x86-64.cc Change how we handle word-size absolute relocations 2024-09-14 11:59:20 +09:00
cmdline.cc Add a test 2024-08-18 11:38:47 +09:00
config.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
elf.cc Refactor 2024-08-15 12:26:29 +09:00
elf.h Emit PT_GNU_PROPERTY program header if .note.gnu.property is present 2024-08-15 12:57:45 +09:00
filetype.h Refactor 2024-08-15 13:34:41 +09:00
gc-sections.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
gdb-index.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
icf.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
input-files.cc Lower the priority of DSO symbols than in-archive symbols 2024-09-15 17:17:43 +09:00
input-sections.cc Refactor 2024-09-14 17:14:30 +09:00
linker-script.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
lto-unix.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
lto-win32.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
lto.h Reorganize directory structure 2024-08-14 20:52:09 +09:00
main.cc Refactor 2024-09-07 15:31:56 +09:00
mapfile.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
mold-wrapper.c Refactor 2024-08-30 12:04:56 +09:00
mold.h Refactor 2024-09-14 17:14:30 +09:00
output-chunks.cc Refactor 2024-09-14 17:14:30 +09:00
output-file-unix.cc Refactor 2024-09-07 15:31:56 +09:00
output-file-win32.cc Refactor 2024-09-07 15:31:56 +09:00
passes.cc Refactor 2024-09-15 16:22:18 +09:00
relocatable.cc Refactor 2024-09-07 15:31:56 +09:00
shrink-sections.cc Fix the section-shrinking relaxation 2024-08-24 13:53:02 +09:00
subprocess-unix.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
subprocess-win32.cc Reorganize directory structure 2024-08-14 20:52:09 +09:00
thunks.cc Refactor 2024-08-17 15:09:08 +09:00
tls.cc Refactor 2024-08-15 13:34:41 +09:00