public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] i386 gdb boot stub build problem
@ 2001-02-01 12:20 Nick - eCos Developer
  0 siblings, 0 replies; only message in thread
From: Nick - eCos Developer @ 2001-02-01 12:20 UTC (permalink / raw)
  To: Ecos - Discuss

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'



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-01 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-01 12:20 [ECOS] i386 gdb boot stub build problem Nick - eCos Developer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).