tags 474918 + patch
thanks

Hi,

Attached is the diff for my etherboot 5.4.3+dfsg-0.2 NMU.
diff -u etherboot-5.4.3+dfsg/debian/changelog etherboot-5.4.3+dfsg/debian/changelog
--- etherboot-5.4.3+dfsg/debian/changelog
+++ etherboot-5.4.3+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+etherboot (5.4.3+dfsg-0.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Define _undi_call as noinline (closes: #474918)
+
+ -- Jan Lübbe <[EMAIL PROTECTED]>  Tue, 05 Aug 2008 17:41:15 +0200
+
 etherboot (5.4.3+dfsg-0.1) unstable; urgency=low
 
   * Non-maintainer upload
only in patch2:
unchanged:
--- etherboot-5.4.3+dfsg.orig/src/arch/i386/drivers/net/undi.c
+++ etherboot-5.4.3+dfsg/src/arch/i386/drivers/net/undi.c
@@ -388,8 +388,12 @@
 /* Make a real-mode UNDI API call to the UNDI routine at
  * routine_seg:routine_off, passing in three uint16 parameters on the
  * real-mode stack.
+ * 
+ * We tell gcc not to inline this function, because we get multiple
+ * definitions of rm_undi_call if gcc decides to inline it.
  */
 
+__attribute__ ((noinline)) 
 static PXENV_EXIT_t _undi_call ( uint16_t routine_seg,
 			  uint16_t routine_off, uint16_t st0,
 			  uint16_t st1, uint16_t st2 ) {

Reply via email to