public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] aarch64: morello: remove ELF_MACHINE_START_ADDRESS
@ 2022-10-12 14:16 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-10-12 14:16 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=009e1fd306a8f3983f65faa51fb2a6175e74d87e

commit 009e1fd306a8f3983f65faa51fb2a6175e74d87e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Sep 7 15:43:09 2022 +0100

    aarch64: morello: remove ELF_MACHINE_START_ADDRESS
    
    The start address (l_entry) is now a capability so no need to fix it.

Diff:
---
 sysdeps/aarch64/morello/dl-machine.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sysdeps/aarch64/morello/dl-machine.h b/sysdeps/aarch64/morello/dl-machine.h
index 83528e9039..19110d75c5 100644
--- a/sysdeps/aarch64/morello/dl-machine.h
+++ b/sysdeps/aarch64/morello/dl-machine.h
@@ -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))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-12 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 14:16 [glibc/arm/morello/main] aarch64: morello: remove ELF_MACHINE_START_ADDRESS Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).