]> sourceware.org Git - glibc.git/commitdiff
Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA
authorFangrui Song <maskray@google.com>
Wed, 15 Jun 2022 20:02:17 +0000 (13:02 -0700)
committerFangrui Song <maskray@google.com>
Wed, 15 Jun 2022 20:02:17 +0000 (13:02 -0700)
This fixes nios2 build after commit de38b2a343e6d64b95c50004943d6107a9e380d0.

sysdeps/i386/dl-machine.h
sysdeps/nios2/dl-machine.h

index a8ee594ff46e9a1294b35d8baf7870bb0b5de309..56a189fda2bb6968cbf8480ec22754c4cce640cb 100644 (file)
@@ -185,10 +185,7 @@ _dl_start_user:\n\
    TLS variable, so undefined references should not be allowed to
    define the value.
    ELF_RTYPE_CLASS_COPY iff TYPE should not be allowed to resolve to one
-   of the main executable's symbols, as for a COPY reloc.
-   ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA iff TYPE describes relocation may
-   against protected data whose address be external due to copy relocation.
- */
+   of the main executable's symbols, as for a COPY reloc.  */
 # define elf_machine_type_class(type) \
   ((((type) == R_386_JMP_SLOT || (type) == R_386_TLS_DTPMOD32                \
      || (type) == R_386_TLS_DTPOFF32 || (type) == R_386_TLS_TPOFF32          \
index 9a35cf41602adab5704ba478f1aabd23073cce6b..9d1c24179243540bd14eeae18b6756e49e17714d 100644 (file)
@@ -166,8 +166,7 @@ _start:\n\
      || (type) == R_NIOS2_TLS_DTPMOD                           \
      || (type) == R_NIOS2_TLS_DTPREL                           \
      || (type) == R_NIOS2_TLS_TPREL) * ELF_RTYPE_CLASS_PLT)    \
-   | (((type) == R_NIOS2_COPY) * ELF_RTYPE_CLASS_COPY)         \
-   | (((type) == R_NIOS2_GLOB_DAT) * ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA))
+   | (((type) == R_NIOS2_COPY) * ELF_RTYPE_CLASS_COPY))
 
 /* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.  */
 #define ELF_MACHINE_JMP_SLOT  R_NIOS2_JUMP_SLOT
This page took 1.006692 seconds and 5 git commands to generate.