HomePhabricator

[mips] Removed the SHF_ALLOC flag and the SHT_REL flag from the .pdr section.

Authored by s.egerton on Feb 17 2016, 3:15 AM.

Description

[mips] Removed the SHF_ALLOC flag and the SHT_REL flag from the .pdr section.

This section is used for debug information and has no need to be
in memory at runtime. This patch also fixes an error when compiling
the Linux kernel. The error is that there are relocations within the
.pdr section in a VDSO. SHT_REL was removed as it is a section type
and not a section flag, therefore it does not make sense for it to
be there. With this patch, LLVM now emits the same flags as
the GNU assembler.

llvm-svn: 261083

Details

Committed
s.egertonFeb 17 2016, 3:15 AM
Parents
rGc5b5dcb9852f: [X86][AVX] Support bit-blend integer shuffles for 256-bit integer vectors
Branches
Unknown
Tags
Unknown