This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: GCC Inline assembly - immediate integer operand emit without $


Is there reason why gcc emits $ with constants? I dont think gas requires $.

On Thu, Aug 30, 2012 at 4:10 PM, Sam <samueldotj@gmail.com> wrote:

> But it fails because gcc emits the assembly code with $.
> Is there a way to instruct gcc to avoid emitting $?
>     .pushsection .test
>      .long 0, $1, $2 <<<<<<
>      .popsection
>


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