aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-08-24 23:17:52 +0000
committerK. Richard Pixley <rich@cygnus>1993-08-24 23:17:52 +0000
commitb98bd3db83179c6c23fbadabfc5375944e656cbe (patch)
tree50c76f49d66426bbf35ce1bb5ed77b2e602b0d33 /ld
parenta1c8d76ef8cc1ddf20b43fe5660ba67a93339808 (diff)
downloadgdb-b98bd3db83179c6c23fbadabfc5375944e656cbe.zip
gdb-b98bd3db83179c6c23fbadabfc5375944e656cbe.tar.gz
gdb-b98bd3db83179c6c23fbadabfc5375944e656cbe.tar.bz2
define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlang.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7e97b3a..6a7de32 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
+
+ * ldlang.c: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are
+ no longer in bfd.h.
+
Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ldlang.c (open_output, lang_check): Check return value of
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 0e54429..b8f6aaa 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -32,6 +32,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ldmisc.h"
#include "ldindr.h"
#include "ldctor.h"
+
+#define BYTE_SIZE (1)
+#define SHORT_SIZE (2)
+#define LONG_SIZE (4)
+
/* FORWARDS */
static void print_statements PARAMS ((void));
static void print_statement PARAMS ((lang_statement_union_type *,