Cleaned __gnu_local_gp handling
This commit is contained in:
parent
cc32314161
commit
02602a7002
2 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,6 @@
|
|||
#define GRUB_CPU_DL_H 1
|
||||
|
||||
/* 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 */
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
#include <grub/mm.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. */
|
||||
grub_err_t
|
||||
grub_arch_dl_check_header (void *ehdr)
|
||||
|
|
Loading…
Reference in a new issue