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
F104943286: D18808.diff
Tue, Dec 10, 11:58 PM
Unknown Object (File)
Sun, Dec 1, 5:19 AM
Unknown Object (File)
Fri, Nov 29, 3:50 AM
Unknown Object (File)
Fri, Nov 29, 2:40 AM
Unknown Object (File)
Nov 7 2024, 9:27 PM
Unknown Object (File)
Oct 19 2024, 5:57 PM
Unknown Object (File)
Oct 4 2024, 5:10 AM
Unknown Object (File)
Sep 28 2024, 7:10 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 21917
Build 21161: 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.