forked from OSchip/llvm-project
parent
0a13acfa8b
commit
0f011fdcdf
|
@ -363,6 +363,8 @@ Layout::SectionOrder DefaultLayout<ELFT>::getSectionOrder(
|
|||
.StartsWith(".init_array", ORDER_INIT_ARRAY)
|
||||
.StartsWith(".fini_array", ORDER_FINI_ARRAY)
|
||||
.StartsWith(".dynamic", ORDER_DYNAMIC)
|
||||
.StartsWith(".ctors", ORDER_CTORS)
|
||||
.StartsWith(".dtors", ORDER_DTORS)
|
||||
.Default(ORDER_DATA);
|
||||
|
||||
case DefinedAtom::typeZeroFill:
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
# CHECK-NEXT: section-name: .ctors
|
||||
|
||||
# RAW: Contents of section .ctors:
|
||||
# RAW-NEXT: 2000 ffffffff 11111111 22222222 00000000
|
||||
# RAW-NEXT: 1000 ffffffff 11111111 22222222 00000000
|
||||
# crtbeginS.o
|
||||
---
|
||||
FileHeader:
|
||||
|
|
Loading…
Reference in New Issue