Page MenuHomeFreeBSD

fix rtld-elf compilation warning for powerpc64 ELFv2 ABI
ClosedPublic

Authored by alfredo on Jan 10 2019, 12:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 30, 9:33 PM
Unknown Object (File)
Sat, May 30, 6:17 PM
Unknown Object (File)
Apr 29 2026, 1:11 PM
Unknown Object (File)
Apr 28 2026, 3:29 AM
Unknown Object (File)
Apr 21 2026, 4:41 PM
Unknown Object (File)
Apr 21 2026, 8:47 AM
Unknown Object (File)
Apr 21 2026, 12:24 AM
Unknown Object (File)
Apr 20 2026, 10:54 AM

Details

Summary

reloc_jmpslot function parameter 'defobj' is not used when using ELFv2 ABI

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

alfredo added reviewers: kib, bdragon.
libexec/rtld-elf/powerpc64/reloc.c
450 ↗(On Diff #52730)

You can add __unused attribute to the argument. It is innocent when not true.

as per review, added __unused attributed instead

This revision is now accepted and ready to land.Jan 10 2019, 3:22 PM

OK, I'm fine with this solution.

This revision was automatically updated to reflect the committed changes.