Skip to content
  • George Rimar's avatar
    d003c7f3
    [ELF] - Treat .openbsd.randomdata as relro section · d003c7f3
    George Rimar authored
    That was requested by Mark Kettenis in llvm-dev:
    
    "It is the intention that .openbsd.randomdata sections are made
    read-only after initialization. The native (ld.bfd based) OpenBSD
    toolchain accomplishes this by including .openbsd.randomdata into the
    PT_GNU_RELRO segment."
    
    He suggested code change, I added testcase.
    
    Differential revision: https://reviews.llvm.org/D27974
    
    llvm-svn: 290174
    d003c7f3
    [ELF] - Treat .openbsd.randomdata as relro section
    George Rimar authored
    That was requested by Mark Kettenis in llvm-dev:
    
    "It is the intention that .openbsd.randomdata sections are made
    read-only after initialization. The native (ld.bfd based) OpenBSD
    toolchain accomplishes this by including .openbsd.randomdata into the
    PT_GNU_RELRO segment."
    
    He suggested code change, I added testcase.
    
    Differential revision: https://reviews.llvm.org/D27974
    
    llvm-svn: 290174
Loading