summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-14 21:11:43 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-14 21:11:43 +0000
commit5047c11ee877965063c13024474b0bb14d111871 (patch)
treec162ed2b4da8592a09f02e4f54a71d0c68edc77e /libobjc
parent2b6e19557abf47f45a6dbc3b6cdace31d7f32eb0 (diff)
downloadgcc-5047c11ee877965063c13024474b0bb14d111871.tar.gz
2001-11-14 Aldy Hernandez <aldyh@redhat.com>
* encoding.c: Add target_flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47021 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog4
-rw-r--r--libobjc/encoding.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index d4666fad732..1bce3f81ace 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-14 Aldy Hernandez <aldyh@redhat.com>
+
+ * encoding.c: Add target_flags.
+
2001-11-07 Aldy Hernandez <aldyh@redhat.com>
* objc/objc-api.h (_C_VECTOR): New.
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index 1ed521afa74..ec7173774e8 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -73,6 +73,11 @@ Boston, MA 02111-1307, USA. */
#undef STRUCTURE_SIZE_BOUNDARY
#define STRUCTURE_SIZE_BOUNDARY (BITS_PER_UNIT * sizeof (struct{char a;}))
+/* Some ROUND_TYPE_ALIGN macros use TARGET_foo, and consequently
+ target_flags. Define a dummy entry here to so we don't die. */
+
+static int target_flags = 0;
+
static inline int
atoi (const char* str)
{