aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2001-11-23 11:21:07 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2001-11-23 11:21:07 +0000
commiteac50d7a73bbc070770fbe81e837dbd589f5869c (patch)
tree96af688c8ee0ddf755c506574feb4c6c27885b70 /gcc/varasm.c
parente1e7d56bf1be024a7c5b08f98d5ea524cc5ad64f (diff)
downloadgcc-eac50d7a73bbc070770fbe81e837dbd589f5869c.zip
gcc-eac50d7a73bbc070770fbe81e837dbd589f5869c.tar.gz
gcc-eac50d7a73bbc070770fbe81e837dbd589f5869c.tar.bz2
final.c (output_addr_const): Output PC as '.' even if !flag_pic.
* final.c (output_addr_const): Output PC as '.' even if !flag_pic. * varasm.c (output_constructor): Use assemble_integer rather than ASM_OUTPUT_BYTE. From-SVN: r47287
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 32dabe8..c241745 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4724,7 +4724,7 @@ output_constructor (exp, size, align)
/* Output any buffered-up bit-fields preceding this element. */
if (byte_buffer_in_use)
{
- ASM_OUTPUT_BYTE (asm_out_file, byte);
+ assemble_integer (GEN_INT (byte), 1, BITS_PER_UNIT, 1);
total_bytes++;
byte_buffer_in_use = 0;
}
@@ -4802,7 +4802,7 @@ output_constructor (exp, size, align)
/* Output remnant of any bit field in previous bytes. */
if (byte_buffer_in_use)
{
- ASM_OUTPUT_BYTE (asm_out_file, byte);
+ assemble_integer (GEN_INT (byte), 1, BITS_PER_UNIT, 1);
total_bytes++;
byte_buffer_in_use = 0;
}
@@ -4838,7 +4838,7 @@ output_constructor (exp, size, align)
within this element when necessary. */
while (next_byte != total_bytes)
{
- ASM_OUTPUT_BYTE (asm_out_file, byte);
+ assemble_integer (GEN_INT (byte), 1, BITS_PER_UNIT, 1);
total_bytes++;
byte = 0;
}
@@ -4924,7 +4924,7 @@ output_constructor (exp, size, align)
if (byte_buffer_in_use)
{
- ASM_OUTPUT_BYTE (asm_out_file, byte);
+ assemble_integer (GEN_INT (byte), 1, BITS_PER_UNIT, 1);
total_bytes++;
}