]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: morello: remove ELF_MACHINE_START_ADDRESS
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 7 Sep 2022 14:43:09 +0000 (15:43 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 12 Oct 2022 13:22:03 +0000 (14:22 +0100)
The start address (l_entry) is now a capability so no need to fix it.

sysdeps/aarch64/morello/dl-machine.h

index 83528e9039b8656a683b96438ef1835fb199c49c..19110d75c5ecb84b1194b7720e1fdcafee235841 100644 (file)
@@ -152,9 +152,6 @@ elf_machine_load_address_from_args (void *arg)
 
 #define ELF_MACHINE_JMP_SLOT   MORELLO_R(JUMP_SLOT)
 
-/* Return the address of the entry point. */
-#define ELF_MACHINE_START_ADDRESS(map, start) ((map)->l_addr + ((start) - (ElfW(Addr))(map)->l_addr))
-
 #define DL_PLATFORM_INIT dl_platform_init ()
 
 static inline void __attribute__ ((unused))