[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:
parent
6c26bb63fe
commit
0a13acfa8b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue