public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] i960 Compile does not support the alias attribute
@ 2000-06-23  8:58 Bill Marcotte
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Marcotte @ 2000-06-23  8:58 UTC (permalink / raw)
  To: ecos-discuss

Currently the i960 compiler doesn't support the alias attribute which is 
required by LIBC.  Does anybody have any good suggestions on how I might be
able to work-around this problem without modifying any sources in LibC?

Thanks in advance.

Bill
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS] i960 Compile does not support the alias attribute
       [not found] <200006231558.SAA08934@boca.livius.net>
@ 2000-06-26  4:28 ` Cristian Popa
  0 siblings, 0 replies; 3+ messages in thread
From: Cristian Popa @ 2000-06-26  4:28 UTC (permalink / raw)
  To: ecos-discuss; +Cc: 'Bill Marcotte'

> -----Original Message-----
> From: ecos-discuss-owner@sourceware.cygnus.com
> [ mailto:ecos-discuss-owner@sourceware.cygnus.com]On Behalf Of Bill
> Marcotte
> Sent: 23 iunie 2000 18:59
> To: ecos-discuss@sourceware.cygnus.com
> Subject: [ECOS] i960 Compile does not support the alias attribute
>
>
> Currently the i960 compiler doesn't support the alias
> attribute which is
> required by LIBC.  Does anybody have any good suggestions on
> how I might be
> able to work-around this problem without modifying any
> sources in LibC?

This seems most likely a COFF vs ELF problem ; as far as i know COFF does
not support aliasing like ELF does. However you might be interested in an
experimental i960-intel-elf port of gcc which is being succesfully used in
the development of an alternate i960 RP eCos port ; please tell me if you
need the patch.

Cristi


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] i960 Compile does not support the alias attribute
       [not found] <200006231558.IAA29577@cygnus.com>
@ 2000-06-23  9:25 ` Jonathan Larmour
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2000-06-23  9:25 UTC (permalink / raw)
  To: Bill Marcotte; +Cc: ecos-discuss

Bill Marcotte wrote:
> 
> Currently the i960 compiler doesn't support the alias attribute which is
> required by LIBC.  Does anybody have any good suggestions on how I might be
> able to work-around this problem without modifying any sources in LibC?

Is it ELF? If so alias attributes are actually generally easy to implement
in gcc. This is generally done with ASM_OUTPUT_DEF. Implementations can be
as easy as, e.g.:

#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2) \
  do { assemble_name(FILE, NAME1);       \
       fputs(" = ", FILE);               \
       assemble_name(FILE, NAME2);       \
       fputc('\n', FILE); } while
(0)                                                        

It depends on the syntax of the i960 assembler.

Ask on the gcc@gcc.gnu.org list ( see http://gcc.gnu.org/ ). 

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-26  4:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-23  8:58 [ECOS] i960 Compile does not support the alias attribute Bill Marcotte
     [not found] <200006231558.IAA29577@cygnus.com>
2000-06-23  9:25 ` Jonathan Larmour
     [not found] <200006231558.SAA08934@boca.livius.net>
2000-06-26  4:28 ` Cristian Popa

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).