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)
Mon, Jul 13, 4:29 AM
Unknown Object (File)
Mon, Jul 13, 4:29 AM
Unknown Object (File)
Sat, Jul 11, 8:56 PM
Unknown Object (File)
Sat, Jul 4, 11:02 AM
Unknown Object (File)
Fri, Jul 3, 12:26 PM
Unknown Object (File)
Fri, Jul 3, 4:18 AM
Unknown Object (File)
Fri, Jul 3, 3:39 AM
Unknown Object (File)
Wed, Jul 1, 4:38 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 Passed
Unit
No Test Coverage
Build Status
Buildable 21912
Build 21156: arc lint + arc unit

Event Timeline

alfredo added reviewers: kib, bdragon.
libexec/rtld-elf/powerpc64/reloc.c
450

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.