All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Serbinenko <phcoder@gmail.com>
To: grub-devel@gnu.org
Cc: Vladimir Serbinenko <phcoder@gmail.com>
Subject: [PATCH v2 2/9] compiler-rt: Add pei386_runtime_relocator stub
Date: Sat,  3 May 2025 08:06:50 +0000	[thread overview]
Message-ID: <20250503081104.13555-3-phcoder@gmail.com> (raw)
In-Reply-To: <20250503081104.13555-1-phcoder@gmail.com>

It's inserted by mingw and is meaningless in our environment

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
 grub-core/kern/compiler-rt.c | 4 ++++
 include/grub/compiler-rt.h   | 1 +
 2 files changed, 5 insertions(+)

diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-rt.c
index eda689a0c..28d3c62fe 100644
--- a/grub-core/kern/compiler-rt.c
+++ b/grub-core/kern/compiler-rt.c
@@ -210,6 +210,10 @@ void ___chkstk_ms (void)
 void __chkstk_ms (void)
 {
 }
+
+void _pei386_runtime_relocator (void)
+{
+}
 #endif
 
 union component64
diff --git a/include/grub/compiler-rt.h b/include/grub/compiler-rt.h
index 17828b322..e139ebc87 100644
--- a/include/grub/compiler-rt.h
+++ b/include/grub/compiler-rt.h
@@ -207,6 +207,7 @@ void EXPORT_FUNC (__register_frame_info) (void);
 void EXPORT_FUNC (__deregister_frame_info) (void);
 void EXPORT_FUNC (___chkstk_ms) (void);
 void EXPORT_FUNC (__chkstk_ms) (void);
+void EXPORT_FUNC (_pei386_runtime_relocator) (void);
 #endif
 
 #endif
-- 
2.49.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

  parent reply	other threads:[~2025-05-03  8:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-03  8:06 [PATCH v2 0/9] Fix compilation and installation on cygwin and mingw Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 1/9] Fix error when cross-compiling for windows from unix-like OS Vladimir Serbinenko
2025-05-03  8:06 ` Vladimir Serbinenko [this message]
2025-05-03  8:06 ` [PATCH v2 3/9] pe2elf: Set correct flag for relocation sections Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 4/9] hostdisk: Fix cygwin compilation Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 5/9] Add cygwin path to unifont Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 6/9] Strip extra sections generated on cygwin when creating binary images Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 7/9] mkrescue: Fix compilation under cygwin Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 8/9] Discard .buildid and .reloc in cygwin script Vladimir Serbinenko
2025-05-03  8:06 ` [PATCH v2 9/9] render-label: Supports canonical paths not starting with / Vladimir Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250503081104.13555-3-phcoder@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.