From cf0cdb8751c96075b833e64af3aaea4d4fd012f5 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Mon, 18 Nov 1991 08:04:02 +0000 Subject: [PATCH] Initial revision --- binutils/is-strip.c | 3 +++ binutils/maybe-strip.c | 4 ++++ binutils/not-strip.c | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 binutils/is-strip.c create mode 100644 binutils/maybe-strip.c create mode 100644 binutils/not-strip.c diff --git a/binutils/is-strip.c b/binutils/is-strip.c new file mode 100644 index 00000000000..f5e1caceb28 --- /dev/null +++ b/binutils/is-strip.c @@ -0,0 +1,3 @@ +/* Linked with copy.o to flag that this program is 'strip' (not 'copy'). */ + +int is_strip = 1; diff --git a/binutils/maybe-strip.c b/binutils/maybe-strip.c new file mode 100644 index 00000000000..7da8763cd9f --- /dev/null +++ b/binutils/maybe-strip.c @@ -0,0 +1,4 @@ +/* Linked with copy.o to flag that this program decides at runtime + (using argv[0] if it is is 'strip' or 'copy'. */ + +int is_strip = -1; diff --git a/binutils/not-strip.c b/binutils/not-strip.c new file mode 100644 index 00000000000..0e491fb393c --- /dev/null +++ b/binutils/not-strip.c @@ -0,0 +1,3 @@ +/* Linked with copy.o to flag that this program is 'copy' (not 'strip'). */ + +int is_strip = 0; -- 2.30.2