This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: Change -malign-branch= to accept a comma separated list
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Fangrui Song <maskray at google dot com>
- Cc: Binutils <binutils at sourceware dot org>, "Lu, Hongjiu" <hongjiu dot lu at intel dot com>, "Kan, Shengchen" <shengchen dot kan at intel dot com>
- Date: Thu, 16 Jan 2020 21:02:00 -0800
- Subject: Re: [PATCH] x86: Change -malign-branch= to accept a comma separated list
- References: <20200117044822.mmi2hlqka2s67xwb@google.com>
On Thu, Jan 16, 2020 at 8:49 PM Fangrui Song via binutils
<binutils@sourceware.org> wrote:
>
> It is a convention to use a comma separated list.
>
> -fsanitize=address,undefined
> -fsanitize=null,alignment
> -fpatchable-function-entry=3,1
> -finstrument-functions-exclude-function-list=a,b
> -mrecip=all,!sqrt
> -mfpmath=sse,387
-malign-branch=TYPE[+TYPE...] (default: jcc+fused+jmp)
is done on purpose since you can't pass comma in assembler options
from GCC driver to assembler with -Wa,....
--
H.J.