diff options
author | midipix <writeonce@midipix.org> | 2019-08-16 07:11:40 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-16 07:11:40 -0400 |
commit | f083d5fa333ad1dab9c3a77188bded7cbca93581 (patch) | |
tree | 204cd509c0722739d4561eadd67537be3b424b57 | |
parent | 0115fa98d2033f0a7d26f81fe9e7f2bba91aa729 (diff) | |
download | chainport-f083d5fa333ad1dab9c3a77188bded7cbca93581.tar.bz2 chainport-f083d5fa333ad1dab9c3a77188bded7cbca93581.tar.xz |
binutils-2.24.51: midipix targets: defined PE_TARGET_MDSO, renamed mdso header.
-rw-r--r-- | binutils-2.24.51.midipix.patch | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch index 0e076a6..e253fa0 100644 --- a/binutils-2.24.51.midipix.patch +++ b/binutils-2.24.51.midipix.patch @@ -1,6 +1,6 @@ -diff -ru --new-file a/bfd/pemdso.h b/bfd/pemdso.h ---- a/bfd/pemdso.h 1969-12-31 19:00:00.000000000 -0500 -+++ b/bfd/pemdso.h 2019-08-15 07:00:00.000000000 -0400 +diff -ru --new-file a/bfd/pe-mdso.h b/bfd/pe-mdso.h +--- a/bfd/pe-mdso.h 1969-12-31 19:00:00.000000000 -0500 ++++ b/bfd/pe-mdso.h 2019-08-15 07:00:00.000000000 -0400 @@ -0,0 +1,11 @@ +#ifndef PEMDSO_H +#define PEMDSO_H @@ -15,7 +15,7 @@ diff -ru --new-file a/bfd/pemdso.h b/bfd/pemdso.h +#endif --- a/ld/configure 2014-07-03 01:37:48.000000000 -0400 +++ b/ld/configure 2015-03-11 20:01:08.888756786 -0400 -@@ -19773,3 +19773,27 @@ +@@ -19773,3 +19773,31 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -40,7 +40,11 @@ diff -ru --new-file a/bfd/pemdso.h b/bfd/pemdso.h +#define PE_TARGET_MIDIPIX +#endif + -+#include "pemdso.h" ++#ifndef PE_TARGET_MDSO ++#define PE_TARGET_MDSO 1 ++#endif ++ ++#include "pe-mdso.h" +EOF +esac diff --ru --new-file a/ld/sysdep.h b/ld/sysdep.h @@ -171,7 +175,7 @@ diff -ru --new-file a/ld/emultempl/pe.em b/ld/emultempl/pe.em libname_fmt [] = { + /* optionally support ldso-specific import libraries */ -+ #ifdef PE_DSOLIB_SUFFIX ++ #ifdef PE_TARGET_MDSO + { "lib%s"PE_DSOLIB_SUFFIX, FALSE }, + #endif /* Preferred explicit import library for dll's. */ @@ -311,7 +315,7 @@ diff -ru --new-file a/ld/emultempl/pep.em b/ld/emultempl/pep.em libname_fmt [] = { + /* optionally support ldso-specific import libraries */ -+ #ifdef PE_DSOLIB_SUFFIX ++ #ifdef PE_TARGET_MDSO + { "lib%s"PE_DSOLIB_SUFFIX, FALSE }, + #endif /* Preferred explicit import library for dll's. */ |