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
b7560989
Commit
b7560989
authored
Oct 11, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(enum pragma_state): Defined.
From-SVN: r5720
parent
a9456cd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
gcc/c-pragma.c
+16
-0
gcc/varasm.c
+16
-0
No files found.
gcc/c-pragma.c
View file @
b7560989
...
@@ -29,6 +29,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -29,6 +29,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HANDLE_PRAGMA_WEAK 1
#define HANDLE_PRAGMA_WEAK 1
#endif
#endif
/* See varasm.c for an identical definition. */
enum
pragma_state
{
ps_start
,
ps_done
,
ps_bad
,
ps_weak
,
ps_name
,
ps_equals
,
ps_value
,
ps_pack
,
ps_left
,
ps_align
,
ps_right
};
/* When structure field packing is in effect, this variable is the
/* When structure field packing is in effect, this variable is the
number of bits to use as the maximum alignment. When packing is not
number of bits to use as the maximum alignment. When packing is not
in effect, this is zero. */
in effect, this is zero. */
...
...
gcc/varasm.c
View file @
b7560989
...
@@ -3648,6 +3648,22 @@ output_constructor (exp, size)
...
@@ -3648,6 +3648,22 @@ output_constructor (exp, size)
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */
#if defined (HANDLE_PRAGMA_WEAK) || (defined (WEAK_ASM_OP) && defined (SET_ASM_OP))
#if defined (HANDLE_PRAGMA_WEAK) || (defined (WEAK_ASM_OP) && defined (SET_ASM_OP))
/* See c-pragma.c for an identical definition. */
enum
pragma_state
{
ps_start
,
ps_done
,
ps_bad
,
ps_weak
,
ps_name
,
ps_equals
,
ps_value
,
ps_pack
,
ps_left
,
ps_align
,
ps_right
};
/* Output asm to handle ``#pragma weak'' */
/* Output asm to handle ``#pragma weak'' */
void
void
handle_pragma_weak
(
what
,
asm_out_file
,
name
,
value
)
handle_pragma_weak
(
what
,
asm_out_file
,
name
,
value
)
...
...
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