Page MenuHomeFreeBSD

linux64: Don't pass unnecessary -S and -g to objcopy
ClosedPublic

Authored by jrtc27 on Dec 23 2020, 5:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 5:47 PM
Unknown Object (File)
Dec 22 2023, 11:08 PM
Unknown Object (File)
Dec 12 2023, 9:52 AM
Unknown Object (File)
Dec 3 2023, 6:27 PM
Unknown Object (File)
Aug 13 2023, 6:33 AM
Unknown Object (File)
Aug 7 2023, 9:28 PM
Unknown Object (File)
Aug 2 2023, 6:26 PM
Subscribers

Details

Summary

Since we use --input-type binary these options are rather meaningless. Both
binutils and elftoolchain ignore the option in this case, but LLVM does not,
and instead strips all symbols from the output file, causing missing symbols at
run time if building with llvm-objcopy. Thus simply remove the options; the
linux module has never included them for building its VDSO (added in r283407),
but for some reason the original commit of linux64 (r283424) added them.

These should however eventually be changed to use template assembly files as is
now done for firmware and MFS_IMAGE.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35651
Build 32541: arc lint + arc unit