give me pointer/info to the linker script used for arm-none-eabi-ld as I am facing problem while building the ECOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

give me pointer/info to the linker script used for arm-none-eabi-ld as I am facing problem while building the ECOS



Hi,

I saw following problem while linking ECOS-2 example programs. (I am
able to build the ECOS-2 with arm-none-eabi)



arm-2007q3/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/
bin/ld: error: no memory region specified for loadable section
`.ARM.extab'

collect2: ld returned 1 exit status

make: *** [hello] Error 1



For this reason I changed the target.ld file. Please see the lines added
by me, by referring the linker script generated by the command
"arm-none-eabi-ld -verbose".

Then I am able to build the example code.



     .fini ALIGN (0x4) : { . = .; *(.fini) } > ram

     .rodata ALIGN (0x4) : { . = .; *(.rodata*) *(.gnu.linkonce.r.*) } >
ram

     .rodata1 ALIGN (0x4) : { . = .; *(.rodata1) } > ram

////////lines added by me, by referring the linker script generated by
the command "arm-none-eabi-ld -verbose"

     .ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) } > ram

      __exidx_start = .;

     .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } > ram

      __exidx_end = .;

////////lines added by me,{ends here}

     .fixup ALIGN (0x4) : { . = .; *(.fixup) } > ram

     .gcc_except_table ALIGN (0x4) : { . = .; *(.gcc_except_table) } >
ram

     .data ALIGN (0x4) : { __ram_data_start = ABSOLUTE (.); *(.data*)
*(.data1) *(.gnu.linkonce.d.*) . = ALIGN (4); KEEP(*( SORT
(.ecos.table.*))) ; . = ALIGN (4); __CT



Please explain me about the above problem. Or give me pointer/info to
the linker script used for arm-none-eabi-ld.



Thanks,

Darshan


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com