70 lines
1.7 KiB
C
70 lines
1.7 KiB
C
/*
|
|
* VasEBoot -- GRand Unified Bootloader
|
|
* Copyright (C) 2010 Free Software Foundation, Inc.
|
|
*
|
|
* VasEBoot is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* VasEBoot is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with VasEBoot. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include <VasEBoot/dl.h>
|
|
#include <VasEBoot/env.h>
|
|
#include <VasEBoot/kernel.h>
|
|
#include <VasEBoot/misc.h>
|
|
#include <VasEBoot/emu/misc.h>
|
|
#include <VasEBoot/disk.h>
|
|
|
|
const int VasEBoot_no_modules = 1;
|
|
|
|
void
|
|
VasEBoot_register_exported_symbols (void)
|
|
{
|
|
}
|
|
|
|
VasEBoot_err_t
|
|
VasEBoot_arch_dl_check_header (void *ehdr)
|
|
{
|
|
(void) ehdr;
|
|
return VasEBoot_ERR_BAD_MODULE;
|
|
}
|
|
|
|
VasEBoot_err_t
|
|
VasEBoot_arch_dl_relocate_symbols (VasEBoot_dl_t mod, void *ehdr,
|
|
Elf_Shdr *s, VasEBoot_dl_segment_t seg)
|
|
{
|
|
(void) mod;
|
|
(void) ehdr;
|
|
(void) s;
|
|
(void) seg;
|
|
return VasEBoot_ERR_BAD_MODULE;
|
|
}
|
|
|
|
#if !defined (__i386__) && !defined (__x86_64__)
|
|
VasEBoot_err_t
|
|
VasEBoot_arch_dl_get_tramp_got_size (const void *ehdr __attribute__ ((unused)),
|
|
VasEBoot_size_t *tramp, VasEBoot_size_t *got)
|
|
{
|
|
*tramp = 0;
|
|
*got = 0;
|
|
return VasEBoot_ERR_BAD_MODULE;
|
|
}
|
|
#endif
|
|
|
|
#ifdef VasEBoot_LINKER_HAVE_INIT
|
|
void
|
|
VasEBoot_arch_dl_init_linker (void)
|
|
{
|
|
}
|
|
#endif
|
|
|