Page MenuHomeFreeBSD

amd64 ia32 vdso: always define some __vdso_ symbols
ClosedPublic

Authored by kib on Feb 5 2023, 9:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 9:33 PM
Unknown Object (File)
Apr 8 2024, 12:59 AM
Unknown Object (File)
Mar 31 2024, 10:20 AM
Unknown Object (File)
Mar 31 2024, 10:20 AM
Unknown Object (File)
Feb 17 2024, 3:16 AM
Unknown Object (File)
Jan 31 2024, 3:02 PM
Unknown Object (File)
Dec 20 2023, 7:45 AM
Unknown Object (File)
Dec 13 2023, 5:18 AM

Details

Summary
It is reported that llvm16 ld.lld warns about undefined symbols
referenced by the VERSION script.

Also

amd64: record a dependency of vdso on its linker script

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib retitled this revision from amd64 ia32 vdso: PROVIDE conditionally defined symbols to amd64 ia32 vdso: always define some __vdso_ symbols.

Defining empty stubs seems like a bad idea, at least make them ud2 or something if you're going to take that approach?

Defining empty stubs seems like a bad idea, at least make them ud2 or something if you're going to take that approach?

Not sure why, but ok.

Use undefined instruction in non-configured stubs.

This revision is now accepted and ready to land.Feb 7 2023, 1:34 AM