mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Cleaned __gnu_local_gp handling
This commit is contained in:
1 parent
cc32314161
commit
02602a7002
2 files changed
+4
-1
No files matched your search
@@ -20,6 +20,6 @@
|
|||||||
#define GRUB_CPU_DL_H 1
|
#define GRUB_CPU_DL_H 1
|
||||||
|
|
||||||
/* Dummy __gnu_local_gp. Resolved by linker. */
|
/* Dummy __gnu_local_gp. Resolved by linker. */
|
||||||
char EXPORT_VAR (__gnu_local_gp);
|
extern char EXPORT_VAR (__gnu_local_gp);
|
||||||
|
|
||||||
#endif /* ! GRUB_CPU_DL_H */
|
#endif /* ! GRUB_CPU_DL_H */
|
||||||
@@ -25,6 +25,9 @@
|
|||||||
#include <grub/mm.h>
|
#include <grub/mm.h>
|
||||||
#include <grub/cpu/dl.h>
|
#include <grub/cpu/dl.h>
|
||||||
|
|
||||||
|
/* Dummy __gnu_local_gp. Resolved by linker. */
|
||||||
|
char __gnu_local_gp;
|
||||||
|
|
||||||
/* Check if EHDR is a valid ELF header. */
|
/* Check if EHDR is a valid ELF header. */
|
||||||
grub_err_t
|
grub_err_t
|
||||||
grub_arch_dl_check_header (void *ehdr)
|
grub_arch_dl_check_header (void *ehdr)
|
||||||
|
|||||||
Reference in new issue
Block a user