FreeBSD Bugzilla – Attachment 207810 Details for
Bug 239007
lang/gcc8 enable secure-plt by default for powerpc*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream patch
patch-rs6000-secure-plt (text/plain), 1.03 KB, created by
Andreas Tobler
on 2019-09-25 20:50:45 UTC
(
hide
)
Description:
upstream patch
Filename:
MIME Type:
Creator:
Andreas Tobler
Created:
2019-09-25 20:50:45 UTC
Size:
1.03 KB
patch
obsolete
>--- UTC >Index: gcc/config.gcc >=================================================================== >--- gcc/config.gcc (revision 276112) >+++ gcc/config.gcc (working copy) >@@ -2687,8 +2687,14 @@ > tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h" > tmake_file="${tmake_file} rs6000/t-freebsd64" > extra_options="${extra_options} rs6000/linux64.opt" >+ if test $fbsd_major -ge 13; then >+ tm_defines="${tm_defines} TARGET_FREEBSD32_SECURE_PLT=1" >+ fi > ;; > *) >+ if test $fbsd_major -ge 13; then >+ tm_file="rs6000/secureplt.h ${tm_file}" >+ fi > tm_file="${tm_file} rs6000/freebsd.h" > ;; > esac >Index: gcc/config/rs6000/t-freebsd64 >=================================================================== >--- gcc/config/rs6000/t-freebsd64 (revision 276090) >+++ gcc/config/rs6000/t-freebsd64 (working copy) >@@ -27,3 +27,6 @@ > MULTILIB_EXCEPTIONS = > MULTILIB_OSDIRNAMES = ../lib32 > >+SECURE_PLT = $(if $(findstring TARGET_FREEBSD32_SECURE_PLT=1, $(tm_defines)),msecure-plt) >+ >+MULTILIB_EXTRA_OPTS += $(SECURE_PLT)
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 239007
:
205535
| 207810