Patrick Lodder 3099928b6a
compat: ensure that relocs dont get stripped for w64-mingw
A .reloc section is needed for Address Space Layout Randomization
which is a defense against buffer overflow attacks that randomizes
the location where executables are loaded into memory. This is
important to have enabled.

A bug in binutils strips the .reloc section for w64-mingw PEs if
no symbols are exported. Until now, dogecoind and dogecoin-qt were
exporting secp256k1 symbols, inadvertently, but this has been
fixed in the source over at bitcoin-core/secp256k1.

See https://sourceware.org/bugzilla/show_bug.cgi?id=17321 for the
bugreport against binutils. Any versions < 2.36 are affected.

Backported from: fbae8c59
Original Author: fanquake <fanquake@gmail.com>
2022-07-28 19:37:10 +02:00
..
2021-12-20 15:45:15 -04:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2018-09-19 19:22:45 +01:00
2017-01-27 21:22:35 +01:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-15 00:23:38 +02:00
2017-01-04 11:56:17 -08:00
2017-01-27 21:22:35 +01:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2021-12-20 15:45:15 -04:00
2022-06-14 17:09:57 -07:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-06-25 11:57:08 -07:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2017-06-05 22:58:23 +00:00
2018-09-19 19:22:45 +01:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00
2022-07-16 20:18:50 +02:00