mirror of
https://github.com/clearlinux/graphene.git
synced 2026-10-03 15:39:36 +00:00
[LibOS] remove unnecessary migrated_shim_addr and __load_address
remove duplicated unused migrated_shim_addr because it's unused. remove definition of __load_address because it's defined by linker script. Signed-off-by: Isaku Yamahata <isaku.yamahata@gmail.com>
This commit is contained in:
committed by
Don Porter
parent
18eb57832e
commit
d2d420c241
@@ -1469,9 +1469,6 @@ int remove_loaded_libraries (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void * __load_address;
|
||||
void * migrated_shim_addr __attribute_migratable = &__load_address;
|
||||
|
||||
int init_internal_map (void)
|
||||
{
|
||||
__load_elf_object(NULL, &__load_address, OBJECT_INTERNAL, NULL);
|
||||
|
||||
@@ -168,7 +168,6 @@ long int glibc_option (const char * opt)
|
||||
|
||||
void * migrated_memory_start;
|
||||
void * migrated_memory_end;
|
||||
void * migrated_shim_addr;
|
||||
|
||||
const char ** initial_envp __attribute_migratable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user