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
7198acbe
Commit
7198acbe
authored
Apr 18, 1995
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always define handle_pragma_weak, but don't do anything unless
HANDLE_PRAGMA_WEAK is defined. From-SVN: r9414
parent
d924d023
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gcc/varasm.c
+2
-4
No files found.
gcc/varasm.c
View file @
7198acbe
...
@@ -3927,14 +3927,13 @@ output_constructor (exp, size)
...
@@ -3927,14 +3927,13 @@ output_constructor (exp, size)
assemble_zeros
(
size
-
total_bytes
);
assemble_zeros
(
size
-
total_bytes
);
}
}
#if defined (HANDLE_SYSV_PRAGMA) && defined (HANDLE_PRAGMA_WEAK)
/* Output asm to handle ``#pragma weak'' */
/* Output asm to handle ``#pragma weak'' */
void
void
handle_pragma_weak
(
what
,
name
,
value
)
handle_pragma_weak
(
what
,
name
,
value
)
enum
pragma_state
what
;
enum
pragma_state
what
;
char
*
name
,
*
value
;
char
*
name
,
*
value
;
{
{
#ifdef HANDLE_PRAGMA_WEAK
if
(
what
==
ps_name
||
what
==
ps_value
)
if
(
what
==
ps_name
||
what
==
ps_value
)
{
{
struct
weak_syms
*
weak
=
struct
weak_syms
*
weak
=
...
@@ -3956,10 +3955,9 @@ handle_pragma_weak (what, name, value)
...
@@ -3956,10 +3955,9 @@ handle_pragma_weak (what, name, value)
}
}
else
if
(
!
(
what
==
ps_done
||
what
==
ps_start
))
else
if
(
!
(
what
==
ps_done
||
what
==
ps_start
))
warning
(
"malformed `#pragma weak'"
);
warning
(
"malformed `#pragma weak'"
);
#endif
/* HANDLE_PRAGMA_WEAK */
}
}
#endif
/* HANDLE_SYSV_PRAGMA && HANDLE_PRAGMA_WEAK */
/* Declare DECL to be a weak symbol. */
/* Declare DECL to be a weak symbol. */
void
void
...
...
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