Hi,
Short description:
I want to build a linear assembly file and generate the object for C6600 DSP core. The assembly file was built for C6400 in the past, so it does not contain any "modern" or complicated assembly commands for new architectures.
When I call the assembler directly, the generated file is coff format while when I call the compiler the generated file is EABI format!
I am using CGT 7.4, the following problem also appears with CGT 8.0.1
In detail:
> asm6x -mv6600 --abi=eabi -g file.asm file.obj ...
then the obj file has the following:
Format: TI-COFF Version 2
File Type: relocatable file
Time Stamp: Wed Apr 22 10:00:05 2015
Machine: TI C6x
Machine Endian: little endian
Entry Point: 0x00000000
Vendor: Texas Instruments, Inc.
Producer: Assembler
Assembler Version: 7.4.8
Number of Sections: 7
File Length: 1519
Symbol Table File Offset: 0x000004a6
String Table File Offset: 0x00000590
TI-COFF f_flags: 0x00000100
CPU Generation: C6200
Control Data Endian: little endian
on the opposite:
> cl6x -mv6600 --abi=eabi -g file.asm file.obj ...
then the obj file has the following:
Format: ELF Version 1
File Type: relocatable file
Machine: TI C6x
Machine Endian: little endian
Entry Point: 0x00000000
Vendor: Texas Instruments, Inc.
Producer: Assembler
Assembler Version: 7.4.8
Number of Sections: 21
File Length: 3124
ELF Class: 32-bit objects
ELF e_flags: 0x00000000
Is there any parameter that I am missing in order to build with asm6x ? I would prefer to use the assembler directly because I need to include this option in the makefile which I use for my projects.