Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/elfctl/elfctl.1
Show All 20 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd March 1, 2020 | .Dd January 12, 2021 | ||||
.Dt ELFCTL 1 | .Dt ELFCTL 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm elfctl | .Nm elfctl | ||||
.Nd change an ELF binary's feature control note | .Nd change an ELF binary's feature control note | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl h | Fl -help | .Op Fl h | Fl -help | ||||
.Op Fl i | |||||
.Op Fl l | .Op Fl l | ||||
.Op Fl e Ar featurelist | .Op Fl e Ar featurelist | ||||
.Ar | .Ar | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility modifies feature flags in the feature control note in an ELF binary. | utility modifies feature flags in the feature control note in an ELF binary. | ||||
.Pp | .Pp | ||||
The options are as follows: | The options are as follows: | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl h | Fl -help | .It Fl h | Fl -help | ||||
Print a usage message and exit. | Print a usage message and exit. | ||||
.It Fl i | |||||
Ignore unknown feature flags in | |||||
.Ar featurelist . | |||||
.It Fl l | .It Fl l | ||||
List known ELF feature flags. | List known ELF feature flags. | ||||
.It Fl e Ar featurelist | .It Fl e Ar featurelist | ||||
Edit features from the given comma separated list | Edit features from the given comma separated list | ||||
.Ar featurelist . | .Ar featurelist . | ||||
.Ar featurelist | .Ar featurelist | ||||
starts with one of the three operations: | starts with one of the three operations: | ||||
.Dq Li + | .Dq Li + | ||||
Show All 37 Lines |