Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294895 Details for
Bug 391899
sys-devel/binutils-2.22: static bins segfault after __libc_csu_init on hardened
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add support for crtbeginTS.o
binutils-2.22-initfini-crtbeginTS.patch (text/plain), 1.65 KB, created by
Magnus Granberg
on 2011-12-05 21:23:09 UTC
(
hide
)
Description:
Add support for crtbeginTS.o
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2011-12-05 21:23:09 UTC
Size:
1.65 KB
patch
obsolete
>2011-12-05 Magnus Granberg <zorry@gentoo.org> Alphat-PC <AlphatPC@gmail.com> > > #391899 > * ld/scripttempl/elf.sc Add support for crtbeginTS.o > >--- a/ld/scripttempl/elf.sc 2011-04-11 17:38:12.000000000 +0200 >+++ b/ld/scripttempl/elf.sc 2011-12-05 22:05:49.500458140 +0100 >@@ -225,8 +225,8 @@ > if test "${ENABLE_INITFINI_ARRAY}" = "yes"; then > SORT_INIT_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))" > SORT_FINI_ARRAY="KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))" >- CTORS_IN_INIT_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .ctors))" >- DTORS_IN_FINI_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .dtors))" >+ CTORS_IN_INIT_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtbeginTS.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .ctors))" >+ DTORS_IN_FINI_ARRAY="KEEP (*(EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtbeginTS.o *crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .dtors))" > else > SORT_INIT_ARRAY="KEEP (*(SORT(.init_array.*)))" > SORT_FINI_ARRAY="KEEP (*(SORT(.fini_array.*)))" >@@ -264,6 +264,7 @@ > > KEEP (*crtbegin.o(.ctors)) > KEEP (*crtbegin?.o(.ctors)) >+ KEEP (*crtbeginTS.o(.ctors)) > > /* We don't want to include the .ctor section from > the crtend.o file until after the sorted ctors. >@@ -280,6 +281,7 @@ > ${CONSTRUCTING+${DTOR_START}} > KEEP (*crtbegin.o(.dtors)) > KEEP (*crtbegin?.o(.dtors)) >+ KEEP (*crtbeginTS.o(.ctors)) > KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o $OTHER_EXCLUDE_FILES) .dtors)) > KEEP (*(SORT(.dtors.*))) > KEEP (*(.dtors))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 391899
:
293761
|
294519
| 294895