Arm gnu directive assembler problem



Hi,

I' ve a problem with creating a new section with gnu gcc assembler for an ARM7TDMI.

I' ve a link script which I add IntFLASH2 and text2 sections

MEMORY
{
  IntFLASH (rx) : ORIGIN = 0x00080000, LENGTH = 0x10000
  IntFLASH2  (rx) : ORIGIN = 0x0090000, LENGTH = 0x10000
  IntRAM   (rw) : ORIGIN = 0x00010000, LENGTH = 8192
}

SECTIONS
{
  .text :
  {
    *startup.o (.text)         /* Startup code */
    *(.text)                   /* remaining code */

    *(.glue_7t) *(.glue_7)
  } >IntFLASH

  . = ALIGN(4);

 .text2 :
  {
    *(.text)
  } >IntFLASH2

  . = ALIGN(4);
....
}

and when I want to use this section like that

        .text
        .arm

        .global _startup
        .func   _startup

	...

	.size   _startup, . - _startup
        .endfunc

	.section .text2
data0	.word	0x12345678

        .end

there is an error

and if I remove the dot before text2 compilation and link are ok but text2 section doesn' t seems to exists.

Thanks for ideas.
.