Re: Problem in Supporting Long Long Data Type.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prashant Purohit <prashantpurohit025@xxxxxxxxx> writes:

> .L4:
>         .align  2
> .L3:
>         .word   2101332489
>         .word   287445236
>         .size   main, .-main
>         .ident  "GCC: (GNU) 4.3.0"
> ******************************
>
> But my problem is I am not getting the .L4 and .L3 part of the assembly in
> my case where the number is divided into two different .word type.
>
> My target assembly generates following instructions instead :
>
> mov	r3,#2101332489
> str	r3,[fp, #-20]
> mov	r3,#287445236
>
> I have written arm instructions only for the sake of understanding.
>
> How can I get the above .L3 and .L4 created and generated in assembly file
> of my target.


Look at LEGITIMATE_CONSTANT_P.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux