Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b2055d6d
Commit
b2055d6d
authored
Apr 10, 1993
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new runtimes.
From-SVN: r4076
parent
3e676e99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
20 deletions
+64
-20
gcc/objc/Makefile.in
+58
-11
gcc/objc/hash.c
+5
-8
gcc/objc/hash.h
+1
-1
gcc/objc/objc.h
+0
-0
No files found.
gcc/objc/Makefile.in
View file @
b2055d6d
# GNU Objective C Runtime Makefile
# Copyright (C) 1993 Free Software Foundation, Inc.
#
# Author: Kresten Krab Thorup
#
# This file is part of GNU CC.
#
# GNU CC 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 2, or (at your option) any later version.
#
# GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# GNU CC; see the file COPYING. If not, write to the Free Software
# Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
# This makefile is run by the parent dir's makefile.
# This makefile is run by the parent dir's makefile.
# thisdir1=`pwd`; \
# thisdir1=`pwd`; \
# srcdir1=`cd $(srcdir); pwd`; \
# srcdir1=`cd $(srcdir); pwd`; \
...
@@ -30,21 +50,48 @@ SUBDIR_INCLUDES = -I. -I.. -I$(srcdir) -I$(srcdir)/config
...
@@ -30,21 +50,48 @@ SUBDIR_INCLUDES = -I. -I.. -I$(srcdir) -I$(srcdir)/config
all
:
all
:
cd
..
;
$(MAKE)
sublibobjc.a
cd
..
;
$(MAKE)
sublibobjc.a
libobjc.a
:
core.o hash.o object.o
OBJS
=
hash.o sarray.o objc-class.o objc-msg.o objc-init.o objc-archive.o
\
-
rm
-f
libobjc.a
objc-sel.o objc-object.o objc-misc.o Object.o Protocol.o
$(AR)
rc libobjc.a object.o core.o hash.o
# ranlib is run in the parent directory's makefile.
OBJC_H
=
objc.h objc-proto.h record.h
$(srcdir)
/assert.h
$(srcdir)
/gstdarg.h
all
:
libobjc.a
HASH_H
=
hash.h mutex.h
core.o
:
core.c $(OBJC_H) $(HASH_H) $(srcdir)/gstddef.h
runtime.h
:
hash.h list.h sarray.h objc.h objc-api.h
hash.o
:
hash.c $(OBJC_H) $(HASH_H) $(srcdir)/gstddef.h
object.o
:
object.m object.h $(OBJC_H)
Object.m
:
Object.h
$(GCC_FOR_TARGET)
-c
$(GCC_CFLAGS)
$(SUBDIR_INCLUDES)
$<
Object.h
:
objc.h objc-api.h
sarray.c
:
sarray.h
hash.c
:
hash.h
objc-class.c
:
runtime.h
objc-msg.c
:
runtime.h
objc-init.c
:
runtime.h
objc-sel.c
:
runtime.h
objc-object.c
:
runtime.h
objc-class.o
:
objc-class.c
objc-msg.o
:
objc-msg.c
objc-init.o
:
objc-init.c
objc-sel.o
:
objc-sel.c
objc-object.o
:
objc-object.c
libobjc.a
:
$(OBJS)
-
rm
-f
libobjc.a
$(AR)
rc libobjc.a
$(OBJS)
# ranlib is run in the parent directory's makefile.
mostlyclean
:
mostlyclean
:
-
rm
-f
core.o hash.o object.o
libobjc.a
-
rm
-f
$(OBJS)
libobjc.a
clean
:
mostlyclean
clean
:
mostlyclean
distclean
:
mostlyclean
distclean
:
mostlyclean
extraclean
:
mostlyclean
extraclean
:
mostlyclean
gcc/objc/hash.c
View file @
b2055d6d
/* Hash tables for Objective C
method dispatch.
/* Hash tables for Objective C
internal structures
Copyright (C) 199
2
Free Software Foundation, Inc.
Copyright (C) 199
3
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -23,15 +23,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -23,15 +23,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
This exception does not however invalidate any other reasons why
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
the executable file might be covered by the GNU General Public License. */
#include "tconfig.h"
#include "gstddef.h"
#include "gstdarg.h"
#include "assert.h"
#include "assert.h"
#include "hash.h"
#include <objc/hash.h>
#include "objc.h"
#include <objc/objc.h>
#include "objc-proto.h"
#include "runtime.h"
/* for DEBUG_PRINTF */
/* These two macros determine when a hash table is full and
/* These two macros determine when a hash table is full and
by how much it should be expanded respectively.
by how much it should be expanded respectively.
...
...
gcc/objc/hash.h
View file @
b2055d6d
/* Hash tables for Objective C method dispatch.
/* Hash tables for Objective C method dispatch.
Copyright (C) 199
2
Free Software Foundation, Inc.
Copyright (C) 199
3
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
...
gcc/objc/objc.h
View file @
b2055d6d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment