This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

.option directive


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]