Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxim Karasev
aports
Commits
c9e1d318
Commit
c9e1d318
authored
8 years ago
by
Timo Teräs
Browse files
Options
Downloads
Patches
Plain Diff
main/gcc: add ld -Bsymbolic for static pie linking
ref #6372
parent
f5f90852
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/gcc/207-static-pie.patch
+1
-1
1 addition, 1 deletion
main/gcc/207-static-pie.patch
main/gcc/APKBUILD
+4
-4
4 additions, 4 deletions
main/gcc/APKBUILD
with
5 additions
and
5 deletions
main/gcc/207-static-pie.patch
+
1
−
1
View file @
c9e1d318
...
...
@@ -34,7 +34,7 @@ index 0208d61..731564e 100644
#ifdef HAVE_LD_PIE
#ifndef LD_PIE_SPEC
-#define LD_PIE_SPEC "-pie"
+#define LD_PIE_SPEC "-pie %{static:--no-dynamic-linker}"
+#define LD_PIE_SPEC "-pie %{static:--no-dynamic-linker
-Bsymbolic
}"
#endif
#else
#define LD_PIE_SPEC ""
This diff is collapsed.
Click to expand it.
main/gcc/APKBUILD
+
4
−
4
View file @
c9e1d318
...
...
@@ -8,7 +8,7 @@ _cross=""
[
"
$CHOST
"
!=
"
$CTARGET
"
]
&&
_cross
=
"-
$CTARGET_ARCH
"
pkgname
=
"
$pkgname$_cross
"
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The GNU Compiler Collection"
url
=
"http://gcc.gnu.org"
arch
=
"all"
...
...
@@ -617,7 +617,7 @@ d8692c56f04b92667096f59d843e95c5 051_all_libiberty-pic.patch
12e816fc89aabb03e1ae72ebd479c89d 203-libgcc_s.patch
feaddd681acded33c22fd92ad8819982 204-linux_libc_has_function.patch
a7836fe20d35f91ddf623e3c62a920fe 205-nopie.patch
0b0a4f54760e0e368e4113dc9bd04d7b
207-static-pie.patch
db9c8f0aa9193466a62fcfaaf71f6129
207-static-pie.patch
504c7dd8651c5d98229892c4cd9ea591 libgcc-always-build-gcceh.a.patch
246aef378ea9730d9bf97bc42fd392d2 libada-cross-shared.patch
9e658e590bc51be611f39945183f6aa2 gcc-4.9-musl-fortify.patch
...
...
@@ -651,7 +651,7 @@ a5de063de487d944443901cdfa398e1614edbf2e62b7d633f78da1be222a2b05 202-posix_mema
6a640a2e6a3820a24e6079f26146f3919a2bc484f3c6abebd2c7d9e502c92d2c 203-libgcc_s.patch
40b48315791dbdcd5b09af2ffc14454d75d50dd0ecc0a353df7b686a19e06c1e 204-linux_libc_has_function.patch
2427b5a0e564af84c6569921a31a277d07b739a4a4d924057ce725136cc5d355 205-nopie.patch
df92e2f03615c1591278c132cd38ee0ed2c576cd942d8ea751a44d0521057e6
b 207-static-pie.patch
b9ddddb476b874495be9a66b07f5c843a345acaf5c91981e88ac0fcfb213935
b 207-static-pie.patch
1975189156d70f5428cb7f1516533965d1c8734f3009fc89a9b8e289b72326f1 libgcc-always-build-gcceh.a.patch
aa3e570f9ccd9dcaadf00369ed2c4ae26ba640c49256f32aee7e631e2b836771 libada-cross-shared.patch
dc93f97dff28b872f9c7e241fb87a3eca0271f706534d196b3517781b05667fa gcc-4.9-musl-fortify.patch
...
...
@@ -685,7 +685,7 @@ ef052d0c3c9642fcb5ed570069c5a49c8ef523c47ac8ce3f201a801766f72ae4ff7c3725a70ee66e
808e206f5e107084156fba333d4e091dcbd62f5d7756142bc292d4b0a52619f8c2aaca3617defc2f5b6552ba0439aebd33f4141329d88eab6ddf2dd637d92c08 203-libgcc_s.patch
fc0de05b36613b732a0222ea005c90653c6a40d6761b6894af2419272f4e74875f37e26af33a9b9940669ef89269c44c46d17ca5bcd54b5cd1176e5eaf2992c1 204-linux_libc_has_function.patch
98473bcaa77903a223ca9b0d2087c0921b287a2816d308cc32c8fe009e6cbf5dd1ae7fba27794ab8d9c09e117fe534413d91a464d1218474fc123ce0adfdc2c1 205-nopie.patch
cf6f9814dee8c524b13f455106e1b92ad4bcbd998bf56bdb0858d1c6c89bfaf7ee8f75514d3e7092137f06d40b8419b6a5d2434e48d2ec32a83aa9c2ced45558
207-static-pie.patch
3287d5b443bea8ec64132bcabe869c738ae98ea8f1a86df1c5d18c927f8816edbfcefeefc47792dbbb2bcacf50319af00e01b3735d34525913b64350770ad453
207-static-pie.patch
d08d7ead2de0429e5c9055d5b029ec2be9a8c821d22cecaf9b51f633652c493333f98963d9267fa2fa63850c50ae5eefd5f59e5910ec10d20044dac082182a8b libgcc-always-build-gcceh.a.patch
497e73650b4e7ac1cc92158b993f543b1506d3af4f9df9cb1e9504af4db657a9fc6e4429b4cb2bf5b3c1c8c06a5cec5d8b19bc958fd57b92d7b4d5e58b34554c libada-cross-shared.patch
600fe5098dc54edaa9808fd5717af9dec058953f9ad37d49cfba1db4f7e9a7a8f02019342f75157fc575946fa693259422184de27b7ecc8386d9f3ecc0f7cc5d gcc-4.9-musl-fortify.patch
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment