diff options
author | midipix <writeonce@midipix.org> | 2019-08-15 18:00:57 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-15 18:00:57 -0400 |
commit | a2229cd0a1c6557417a406dc157087c416d8461d (patch) | |
tree | fab61c289af2c8c5fe90a81cea3ed308e09e3092 /binutils-2.24.51.midipix.patch | |
parent | ed247646c084908726debcded51ca2439b13bcdc (diff) | |
download | chainport-a2229cd0a1c6557417a406dc157087c416d8461d.tar.bz2 chainport-a2229cd0a1c6557417a406dc157087c416d8461d.tar.xz |
binutils-2.24.51: refactored and separated mdso and midipix target bits.
Diffstat (limited to 'binutils-2.24.51.midipix.patch')
-rw-r--r-- | binutils-2.24.51.midipix.patch | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch index c9a4f73..70a4ff0 100644 --- a/binutils-2.24.51.midipix.patch +++ b/binutils-2.24.51.midipix.patch @@ -1,15 +1,13 @@ -diff -ru --new-file a/bfd/midipix.h b/bfd/midipix.h ---- a/bfd/midipix.h 1969-12-31 19:00:00.000000000 -0500 -+++ b/bfd/midipix.h 2015-03-11 17:23:18.492453732 -0400 -@@ -0,0 +1,13 @@ +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 +@@ -0,0 +1,11 @@ +#ifndef MIDIPIX_H +#define MIDIPIX_H + +#include <perk/perk.h> +#include <mdso/mdso.h> + -+#define PE_TARGET_MIDIPIX -+ +#define PE_DSO_SUFFIX ".so" +#define PE_DSOLIB_SUFFIX ".dso.a" +#define PE_IMPLIB_SUFFIX ".lib.a" @@ -17,7 +15,7 @@ diff -ru --new-file a/bfd/midipix.h b/bfd/midipix.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,24 @@ +@@ -19773,3 +19773,27 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -37,9 +35,12 @@ diff -ru --new-file a/bfd/midipix.h b/bfd/midipix.h +case $target_os in + *midipix*) + cat >> peimplib.h << EOF ++/* PE target-specific bits, generated by ld/configure */ ++#ifndef PE_TARGET_MIDIPIX ++#define PE_TARGET_MIDIPIX ++#endif + -+/* midipix supersystem support */ -+#include "midipix.h" ++#include "pemdso.h" +EOF +esac diff -ru --new-file a/ld/emultempl/pe.em b/ld/emultempl/pe.em |