mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 21:25:55 +08:00
varasm.c (output_constant_pool): For pool constants in mergeable section ensure each constant is padded to...
* varasm.c (output_constant_pool): For pool constants in mergeable section ensure each constant is padded to multiple of entity size. From-SVN: r59508
This commit is contained in:
parent
96d0f4dc5c
commit
f411159305
@ -1,3 +1,8 @@
|
||||
2002-11-26 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* varasm.c (output_constant_pool): For pool constants in mergeable
|
||||
section ensure each constant is padded to multiple of entity size.
|
||||
|
||||
2002-11-26 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* varasm.c (default_exception_section): Move to...
|
||||
|
@ -3499,6 +3499,13 @@ output_constant_pool (fnname, fndecl)
|
||||
abort ();
|
||||
}
|
||||
|
||||
/* Make sure all constants in SECTION_MERGE and not SECTION_STRINGS
|
||||
sections have proper size. */
|
||||
if (pool->align > GET_MODE_BITSIZE (pool->mode)
|
||||
&& in_section == in_named
|
||||
&& get_named_section_flags (in_named_name) & SECTION_MERGE)
|
||||
assemble_align (pool->align);
|
||||
|
||||
#ifdef ASM_OUTPUT_SPECIAL_POOL_ENTRY
|
||||
done: ;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user