WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: 2006年5月15日 13:46:37 +0100
Cc: "John D. Ramsdell" <ramsdell@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年5月15日 05:47:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30605150518i6eeb4ce7gdb6dcf9bc9fd5643@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <ogtslngh652.fsf@xxxxxxxxxxxxxxx> <e08041f30605150518i6eeb4ce7gdb6dcf9bc9fd5643@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2006年05月15日 at 14:18 +0200, Jacob Gorm Hansen wrote:
> I have attached a small patch to mini-os which ... adds a dummy main
Should it be marked with __attribute__((weak))?
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Function-Attributes.html#Function-Attributes
...
weak
 The weak attribute causes the declaration to be emitted as a
 weak symbol rather than a global. This is primarily useful in
 defining library functions which can be overridden in user code,
 though it can also be used with non-function declarations. Weak
 symbols are supported for ELF targets, and also for a.out
 targets when using the GNU assembler and linker.
 
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS , Jacob Gorm Hansen
Next by Date: [Xen-devel] [patch] allow big-endian elf images if supported , Jimi Xenidis
Previous by Thread: Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS , Jacob Gorm Hansen
Next by Thread: Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS , Jacob Gorm Hansen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /