Files
glibc/include
H.J. Lu b413280cfb ld.so: Replace DL_RO_DYN_SECTION with dl_relocate_ld [BZ #28340]
We can't relocate entries in dynamic section if it is readonly:

1. Add a l_ld_readonly field to struct link_map to indicate if dynamic
section is readonly and set it based on p_flags of PT_DYNAMIC segment.
2. Replace DL_RO_DYN_SECTION with dl_relocate_ld to decide if dynamic
section should be relocated.
3. Remove DL_RO_DYN_TEMP_CNT.
4. Don't use a static dynamic section to make readonly dynamic section
in vDSO writable.
5. Remove the temp argument from elf_get_dynamic_info.

This fixes BZ #28340.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2021-09-22 11:12:43 -07:00
..
…
…
…
…
…
…
…
…
…
2021-09-03 22:06:44 +05:30
…
…
…
…
…
2021-06-22 12:09:52 -03:00
…
…
…
…
…
…
…
2021-08-01 21:24:04 -04:00
…
…
…
…
…
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
…
…
…
…
…
…
…
…
…
2021-09-03 22:06:44 +05:30
2021-09-21 08:00:44 -07:00
…
2021-07-07 18:33:52 +02:00
…
…
…
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
…
2021-07-22 18:38:04 +05:30
2021-09-15 22:57:35 +00:00
…
…
2021-07-07 18:33:52 +02:00
…
…
…
…
2021-06-30 08:43:37 +02:00
…
…
2021-09-21 08:00:44 -07:00
…
…
…
…
…
…
2021-07-09 20:09:14 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-30 08:43:37 +02:00
…
…
…
…
…
…