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
ca2eed21
Commit
ca2eed21
authored
Aug 04, 2000
by
Chandrakala Chavva
Committed by
Chandra Chavva
Aug 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* varasm.c (output_constructor): Add .align 0 for packed vars.
From-SVN: r35489
parent
1ba2dbaa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/ChangeLog
+4
-0
gcc/varasm.c
+9
-0
No files found.
gcc/ChangeLog
View file @
ca2eed21
2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
* varasm.c (output_constructor): Add .align 0 for packed vars.
2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.in: Use default thread_file even when enable_threads is
* configure.in: Use default thread_file even when enable_threads is
...
...
gcc/varasm.c
View file @
ca2eed21
...
@@ -4472,6 +4472,15 @@ output_constructor (exp, size)
...
@@ -4472,6 +4472,15 @@ output_constructor (exp, size)
assemble_zeros
(
bitpos
-
total_bytes
);
assemble_zeros
(
bitpos
-
total_bytes
);
total_bytes
=
bitpos
;
total_bytes
=
bitpos
;
}
}
else
if
(
field
!=
0
&&
DECL_PACKED
(
field
))
{
/* Some assemblers automaticallly align a datum according to
its size if no align directive is specified. The datum,
however, may be declared with 'packed' attribute, so we
have to disable such a feature. */
ASM_OUTPUT_ALIGN
(
asm_out_file
,
0
);
}
/* Determine size this element should occupy. */
/* Determine size this element should occupy. */
if
(
field
)
if
(
field
)
...
...
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