Merge ctors/dtors rela sections

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2023-04-28 15:13:58 +01:00
parent 486b1c20c1
commit 4c938fac30
9 changed files with 37 additions and 0 deletions

View File

@ -84,6 +84,11 @@ SECTIONS
*(.rela.got)
*(.rela.dyn)
*(.rela.stab)
*(.rela.init_array)
*(.rela.fini_array)
*(.rela.ctors)
*(.rela.dtors)
}
. = ALIGN(4096);
.rela.plt : { *(.rela.plt) }

View File

@ -70,6 +70,11 @@ SECTIONS
*(.rel.got)
*(.rel.dyn)
*(.rel.stab)
*(.rel.init_array)
*(.rel.fini_array)
*(.rel.ctors)
*(.rel.dtors)
}
. = ALIGN(4096);
.rel.plt : { *(.rel.plt) }

View File

@ -70,6 +70,10 @@ SECTIONS
*(.rel.got)
*(.rel.dyn)
*(.rel.stab)
*(.rel.init_array)
*(.rel.fini_array)
*(.rel.ctors)
*(.rel.dtors)
*(.data.rel.ro.local)
*(.data.rel.local)
*(.data.rel.ro)

View File

@ -80,6 +80,10 @@ SECTIONS
*(.rel.data.*)
*(.rel.got)
*(.rel.stab)
*(.rel.init_array)
*(.rel.fini_array)
*(.rel.ctors)
*(.rel.dtors)
*(.data.rel.ro.local)
*(.data.rel.local)
*(.data.rel.ro)

View File

@ -82,7 +82,10 @@ SECTIONS
*(.rela.dyn)
*(.rela.gnu.linkonce.d*)
*(.rela.stab)
*(.rela.init_array)
*(.rela.fini_array)
*(.rela.ctors)
*(.rela.dtors)
}
. = ALIGN(4096);
.rela.plt : { *(.rela.plt) }

View File

@ -70,6 +70,10 @@ SECTIONS
*(.rel.got)
*(.rel.dyn)
*(.rel.stab)
*(.rel.init_array)
*(.rel.fini_array)
*(.rel.ctors)
*(.rel.dtors)
}
. = ALIGN(4096);
.rel.plt : { *(.rel.plt) }

View File

@ -52,6 +52,10 @@ SECTIONS {
*(.rela.got)
*(.rela.dyn)
*(.rela.stab)
*(.rela.init_array)
*(.rela.fini_array)
*(.rela.ctors)
*(.rela.dtors)
}
. = ALIGN(4096);
.rela.plt : { *(.rela.plt) }

View File

@ -82,6 +82,10 @@ SECTIONS
*(.rela.got)
*(.rela.dyn)
*(.rela.stab)
*(.rela.init_array)
*(.rela.fini_array)
*(.rela.ctors)
*(.rela.dtors)
}
. = ALIGN(4096);
.rela.plt : { *(.rela.plt) }

View File

@ -76,6 +76,10 @@ SECTIONS
*(.rela.data*)
*(.rela.got)
*(.rela.stab)
*(.rela.init_array)
*(.rela.fini_array)
*(.rela.ctors)
*(.rela.dtors)
}
_edata = .;
_data_size = . - _etext;