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
52403abb
Commit
52403abb
authored
Nov 19, 2000
by
Richard Henderson
Committed by
Richard Henderson
Nov 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* crtstuff.c (force_to_data): Use array size 1 not 0.
From-SVN: r37579
parent
3df18884
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/ChangeLog
+2
-0
gcc/crtstuff.c
+3
-3
No files found.
gcc/ChangeLog
View file @
52403abb
2000-11-19 Richard Henderson <rth@redhat.com>
2000-11-19 Richard Henderson <rth@redhat.com>
* crtstuff.c (force_to_data): Use array size 1 not 0.
* dwarf2out.c (simple_type_size_in_bits): Handle a type with
* dwarf2out.c (simple_type_size_in_bits): Handle a type with
no computed size as size zero.
no computed size as size zero.
(field_byte_offset): Likewise.
(field_byte_offset): Likewise.
...
...
gcc/crtstuff.c
View file @
52403abb
...
@@ -344,7 +344,7 @@ __frame_dummy (void)
...
@@ -344,7 +344,7 @@ __frame_dummy (void)
#endif
/* defined(INIT_SECTION_ASM_OP) */
#endif
/* defined(INIT_SECTION_ASM_OP) */
/* Force cc1 to switch to .data section. */
/* Force cc1 to switch to .data section. */
static
func_ptr
force_to_data
[
0
]
__attribute__
((
__unused__
))
=
{
};
static
func_ptr
force_to_data
[
1
]
__attribute__
((
__unused__
))
=
{
};
/* NOTE: In order to be able to support SVR4 shared libraries, we arrange
/* NOTE: In order to be able to support SVR4 shared libraries, we arrange
to have one set of symbols { __CTOR_LIST__, __DTOR_LIST__, __CTOR_END__,
to have one set of symbols { __CTOR_LIST__, __DTOR_LIST__, __CTOR_END__,
...
@@ -495,7 +495,7 @@ __do_global_ctors (void)
...
@@ -495,7 +495,7 @@ __do_global_ctors (void)
#endif
/* defined(INIT_SECTION_ASM_OP) */
#endif
/* defined(INIT_SECTION_ASM_OP) */
/* Force cc1 to switch to .data section. */
/* Force cc1 to switch to .data section. */
static
func_ptr
force_to_data
[
0
]
__attribute__
((
__unused__
))
=
{
};
static
func_ptr
force_to_data
[
1
]
__attribute__
((
__unused__
))
=
{
};
/* Put a word containing zero at the end of each of our two lists of function
/* Put a word containing zero at the end of each of our two lists of function
addresses. Note that the words defined here go into the .ctors and .dtors
addresses. Note that the words defined here go into the .ctors and .dtors
...
@@ -586,7 +586,7 @@ __dereg_frame_dtor (void)
...
@@ -586,7 +586,7 @@ __dereg_frame_dtor (void)
/* Terminate the frame section with a final zero. */
/* Terminate the frame section with a final zero. */
/* Force cc1 to switch to .data section. */
/* Force cc1 to switch to .data section. */
static
void
*
force_to_data
[
0
]
__attribute__
((
__unused__
))
=
{
};
static
void
*
force_to_data
[
1
]
__attribute__
((
__unused__
))
=
{
};
typedef
unsigned
int
ui32
__attribute__
((
mode
(
SI
)));
typedef
unsigned
int
ui32
__attribute__
((
mode
(
SI
)));
asm
(
EH_FRAME_SECTION_ASM_OP
);
asm
(
EH_FRAME_SECTION_ASM_OP
);
...
...
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