aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-11-18 08:04:02 +0000
committerPer Bothner <per@bothner.com>1991-11-18 08:04:02 +0000
commitcf0cdb8751c96075b833e64af3aaea4d4fd012f5 (patch)
tree898974023cb5d716ae36a72da121fa3254402779 /binutils
parent572acbbedcc289fad1de4ef807c4c47634338a0a (diff)
downloadgdb-cf0cdb8751c96075b833e64af3aaea4d4fd012f5.zip
gdb-cf0cdb8751c96075b833e64af3aaea4d4fd012f5.tar.gz
gdb-cf0cdb8751c96075b833e64af3aaea4d4fd012f5.tar.bz2
Initial revision
Diffstat (limited to 'binutils')
-rw-r--r--binutils/is-strip.c3
-rw-r--r--binutils/maybe-strip.c4
-rw-r--r--binutils/not-strip.c3
3 files changed, 10 insertions, 0 deletions
diff --git a/binutils/is-strip.c b/binutils/is-strip.c
new file mode 100644
index 0000000..f5e1cac
--- /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 0000000..7da8763
--- /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 0000000..0e491fb
--- /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;