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 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Gentoo/glibc-2.3.5 tls patch: Need HELP

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Gentoo/glibc-2.3.5 tls patch: Need HELP
From: "B.G. Bruce" <bgb@xxxxxxxxx>
Date: Wed, 27 Jul 2005 19:11:14 -0400
Delivery-date: Wed, 27 Jul 2005 23:08:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D2827F1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: Networking Technologies NV
References: <A95E2296287EAD4EB592B5DEEFCE0E9D2827F1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: bgb@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Ian,

I've hand applied most of the patch already, that's why the code looks
okay.  It's the last line of the patch that I'm having trouble with. 

        -  movl %edx, %gs:0(%ecx);
        +  movl %edx, (%ecx);

Instead of "movl %edx, %gs:0(%ecx);" I've got the following:

        SYSCALL_ERROR_HANDLER_TLS_STORE (%edx, %ecx);

and that code (SYSCALL_ERROR_HANDLER_TLS_STORE) looks like:


< I THINK I NEED TO CHANGE SOMETHING BELOW THIS LINE> 
------------------------------------------------------
#   ifndef NO_TLS_DIRECT_SEG_REFS
#    define SYSCALL_ERROR_HANDLER_TLS_STORE(src, destoff)                     \
  movl src, %gs:(destoff)
#   else
#    define SYSCALL_ERROR_HANDLER_TLS_STORE(src, destoff)                     \
  addl %gs:0, destoff;                                                        \
  movl src, (destoff)
#   endif
-----------------------------------------------------
< I THINK I NEED TO CHANGE SOMETHING ABOVE THIS LINE> 

So, what, if anything do I need to change?

Regards,
Brian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel