diff options
author | Stan Shebs <stanshebs@google.com> | 2019-10-08 07:07:18 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-08-27 17:26:02 -0700 |
commit | 66c8103bdf54c1335efe8181f6110358f0277671 (patch) | |
tree | 1df1b474066a42b8dbc1e3493ea4985fb48b3203 /elf | |
parent | af63681769182a8e29568088d6c9cd3c916b22f9 (diff) | |
download | glibc-66c8103bdf54c1335efe8181f6110358f0277671.zip glibc-66c8103bdf54c1335efe8181f6110358f0277671.tar.gz glibc-66c8103bdf54c1335efe8181f6110358f0277671.tar.bz2 |
Revert clang workaround for _begin that is no longer needed
Diffstat (limited to 'elf')
-rw-r--r-- | elf/rtld.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -402,13 +402,7 @@ _dl_start_final (void *arg, struct dl_start_final_info *info) #endif _dl_setup_hash (&GL(dl_rtld_map)); GL(dl_rtld_map).l_real = &GL(dl_rtld_map); -#if defined(__clang__) - /* Work around an lld complaint that _begin cannot have a reloc and - also be absolute because of _begin=0 on linker line. */ - GL(dl_rtld_map).l_map_start = (ElfW(Addr)) 0; -#else GL(dl_rtld_map).l_map_start = (ElfW(Addr)) _begin; -#endif GL(dl_rtld_map).l_map_end = (ElfW(Addr)) _end; GL(dl_rtld_map).l_text_end = (ElfW(Addr)) _etext; /* Copy the TLS related data if necessary. */ |