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, Nov 14, 8:07 AM
Unknown Object (File)
Sun, Nov 10, 8:59 AM
Unknown Object (File)
Fri, Nov 8, 8:50 AM
Unknown Object (File)
Fri, Nov 8, 7:22 AM
Unknown Object (File)
Tue, Nov 5, 12:51 PM
Unknown Object (File)
Sat, Nov 2, 5:18 AM
Unknown Object (File)
Sun, Oct 20, 11:09 PM
Unknown Object (File)
Sun, Oct 20, 11:07 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 Not Applicable
Unit
Tests Not Applicable

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