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
c50dca44
Commit
c50dca44
authored
Oct 22, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(handle_impent, handle_class_ref): Use __
to start the generated names, not period. From-SVN: r2554
parent
875c5a31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/objc/objc-act.c
+3
-3
No files found.
gcc/objc/objc-act.c
View file @
c50dca44
...
@@ -5066,7 +5066,7 @@ handle_class_ref (chain)
...
@@ -5066,7 +5066,7 @@ handle_class_ref (chain)
char
*
string
char
*
string
=
(
char
*
)
alloca
(
strlen
(
IDENTIFIER_POINTER
(
TREE_VALUE
(
chain
)))
+
30
);
=
(
char
*
)
alloca
(
strlen
(
IDENTIFIER_POINTER
(
TREE_VALUE
(
chain
)))
+
30
);
sprintf
(
string
,
"
.
objc_class_name_%s"
,
sprintf
(
string
,
"
__
objc_class_name_%s"
,
IDENTIFIER_POINTER
(
TREE_VALUE
(
chain
)));
IDENTIFIER_POINTER
(
TREE_VALUE
(
chain
)));
/* Make a decl for this name, so we can use its address in a tree. */
/* Make a decl for this name, so we can use its address in a tree. */
...
@@ -5096,7 +5096,7 @@ handle_impent (impent)
...
@@ -5096,7 +5096,7 @@ handle_impent (impent)
char
*
string
char
*
string
=
(
char
*
)
alloca
(
strlen
(
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)))
+
30
);
=
(
char
*
)
alloca
(
strlen
(
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)))
+
30
);
sprintf
(
string
,
"
.
objc_class_name_%s"
,
sprintf
(
string
,
"
__
objc_class_name_%s"
,
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)));
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)));
assemble_global
(
string
);
assemble_global
(
string
);
assemble_label
(
string
);
assemble_label
(
string
);
...
@@ -5111,7 +5111,7 @@ handle_impent (impent)
...
@@ -5111,7 +5111,7 @@ handle_impent (impent)
/* Do the same for categories. Even though no references to these
/* Do the same for categories. Even though no references to these
symbols are generated automatically by the compiler, it gives
symbols are generated automatically by the compiler, it gives
you a handle to pull them into an archive by hand. */
you a handle to pull them into an archive by hand. */
sprintf
(
string
,
"
.
objc_category_name_%s_%s"
,
sprintf
(
string
,
"
__
objc_category_name_%s_%s"
,
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)),
IDENTIFIER_POINTER
(
CLASS_NAME
(
impent
->
imp_context
)),
IDENTIFIER_POINTER
(
CLASS_SUPER_NAME
(
impent
->
imp_context
)));
IDENTIFIER_POINTER
(
CLASS_SUPER_NAME
(
impent
->
imp_context
)));
assemble_global
(
string
);
assemble_global
(
string
);
...
...
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