This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: arm-elf-gcc and nobits section
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Amol Lad <dal_loma at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org, uclinux-dev at uclinux dot org, Richard dot Earnshaw at arm dot com
- Date: Sat, 29 Nov 2003 14:55:51 +0000
- Subject: Re: arm-elf-gcc and nobits section
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> 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.