This is the mail archive of the gcc@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: arm-elf-gcc and nobits section


> Hi,
>   ARM cross compiler for uClinux seems to be not
> taking "nobits" section type.
> 
> -----------------
> # arm-elf-gcc --version
> 2.95.3
> 
> #gcc --version
> gcc (GCC) 3.2.2 
> 
> # cat tt.s
> 
> .globl nofile
>         .section        .dsp,"aw",@nobits
>         .align 4
>         .size           nofile,100000
> nofile:
>         .zero  100000

@ is a comment character on the ARM assembler.  You need to use %nobits.

R.





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