This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

i386 gdb boot stub build problem


I'm trying to build an i386 gdb boot stub with the most recent ecos cvs
source. I'm having trouble with HAL Tables. The assembly code that is
generated by the compiler through the __asm__ directive won't assemble. Has
anybody else run into this?

GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
GNU assembler version 2.10.1 (i686-pc-cygwin) using BFD version 2.10.1

in ioinit.cxx
// Define table boundaries
CYG_HAL_TABLE_BEGIN( __DEVTAB__, devtab );
CYG_HAL_TABLE_END( __DEVTAB_END__, devtab );

outputs to ioinit.s
 .section ".ecos.table.devtab.begin","aw"
.globl __DEVTAB__
.type    __DEVTAB__,@object
.p2align 5
__DEVTAB__:
.previous

 .section ".ecos.table.devtab.finish","aw"
.globl __DEVTAB_END__
.type    __DEVTAB_END__,@object
.p2align 5
__DEVTAB_END__:
.previous

as -o src/io_common_ioinit.o ioinit.s
ioinit.s: Assembler messages:
ioinit.s:115: Error: Rest of line ignored. First ignored character is `"'.
ioinit.s:117: Warning: .type pseudo-op used outside of .def/.endef ignored.
ioinit.s:117: Error: Rest of line ignored. First ignored character is `_'.
ioinit.s:120: Error: Unknown pseudo-op:  `.previous'
ioinit.s:122: Error: Rest of line ignored. First ignored character is `"'.
ioinit.s:124: Warning: .type pseudo-op used outside of .def/.endef ignored.
ioinit.s:124: Error: Rest of line ignored. First ignored character is `_'.
ioinit.s:127: Error: Unknown pseudo-op:  `.previous'




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]