[ELF] got/got.plt sections are handled as typeGOT

The .got and .got.plt sections are already handled as typeGOT. There is no need
to handle these atoms whose contentType is typeData.

llvm-svn: 227706
This commit is contained in:
Shankar Easwaran 2015-02-01 03:21:55 +00:00
parent 6c26bb63fe
commit 0a13acfa8b
1 changed files with 0 additions and 2 deletions

View File

@ -363,8 +363,6 @@ Layout::SectionOrder DefaultLayout<ELFT>::getSectionOrder(
.StartsWith(".init_array", ORDER_INIT_ARRAY)
.StartsWith(".fini_array", ORDER_FINI_ARRAY)
.StartsWith(".dynamic", ORDER_DYNAMIC)
.StartsWith(".got.plt", ORDER_GOT_PLT)
.StartsWith(".got", ORDER_GOT)
.Default(ORDER_DATA);
case DefinedAtom::typeZeroFill: