This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
.option directive
- From: Paulo Matos <pmatos@linki.tools>
- To: binutils at sourceware dot org
- Date: Fri, 24 Nov 2017 09:03:16 +0100
- Subject: .option directive
- Authentication-results: sourceware.org; auth=none
Hi,
When compiling a riscv program, I get at the start of the file:
.file "1818492087.c"
.option nopic
I am curious about the option directive. I can't seem to find it
documented anywhere:
https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops
Is this riscv specific or an undocumented feature?
Can someone enlighten me on its format?
Is it just: .option string-literal
or can you have several options per directive?
Kind regards,
--
Paulo Matos