Keil™, An ARM® Company

Discussion Forum

ASM.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Balaji Mohan
Posted
24-Sep-2008 10:02 GMT
Toolset
ARM
New! ASM.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST.

Hi,

In Keil, I tried to assemble the following ARM7 assembly language. But it generates Error.

The assembly program is given below:

AREA subrout, CODE, READONLY ENTRY
start MOV r0, #10 MOV r1, #3 BL doadd
stop MOV r0, #0x18 LDR r1, =0x20026 SVC #0x123456
doadd ADD r0, r0, r1 BX lr END

The Assembler error is given below:
Build target 'Target 1'
assembling EX1.s...
linking...
ASM.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST.
Target not created

Please give me your inputs on this.

Read-Only
Author
Tamir Michael
Posted
24-Sep-2008 10:21 GMT
Toolset
ARM
New! RE: ASM.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST.

try this:

AREA subrout, CODE, READONLY ENTRY
ENTRY;
...

and then link with "--entry 0x0" to define the real start of your code.

Next Thread | Thread List | Previous Thread Start a Thread | Settings