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)
Wed, Nov 26, 3:58 PM
Unknown Object (File)
Tue, Nov 18, 11:12 AM
Unknown Object (File)
Wed, Nov 12, 1:32 AM
Unknown Object (File)
Wed, Nov 12, 1:32 AM
Unknown Object (File)
Tue, Nov 11, 9:09 PM
Unknown Object (File)
Tue, Nov 11, 9:09 PM
Unknown Object (File)
Tue, Nov 11, 5:14 PM
Unknown Object (File)
Tue, Nov 11, 1:29 PM

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