-/*** strip.c -- strip certain symbols from a rel file.
- Copyright (C) 1986, 1990 Free Software Foundation, Inc.
+/* strip.c -- strip certain symbols from a rel file.
+ Copyright (C) 1986, 1990, 1991 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
+ the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
/* BUGS: When there's not enough memory, this should do the copy
in pieces rather than just fail as it does now */
-#include "sysdep.h"
#include "bfd.h"
-
+#include "sysdep.h"
#include "getopt.h"
-
-
-
#include <signal.h>
/* Various program options */
int c;
program_name = argv[0];
+ bfd_init();
+
strip_symbols = strip_undef; /* default is to strip everything. */
discard_locals = locals_undef;