aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-27 10:23:35 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-27 10:23:35 -0700
commit9f5cd0c5182242e3dfd01968424f5d963ba6a061 (patch)
treed4f90aa812deb05ebab724e1903e515952855da2 /gcc
parent4a56401de4fa53aa042f5e1e98dd8cd1d23d5bf0 (diff)
downloadgcc-9f5cd0c5182242e3dfd01968424f5d963ba6a061.zip
gcc-9f5cd0c5182242e3dfd01968424f5d963ba6a061.tar.gz
gcc-9f5cd0c5182242e3dfd01968424f5d963ba6a061.tar.bz2
dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned.
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned. From-SVN: r45197
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2asm.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 55be851..e38ff4a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-27 Richard Henderson <rth@redhat.com>
+
+ * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
+ alignment for assemble_integer for DW_EH_PE_aligned.
+
2001-08-26 Andreas Jaeger <aj@suse.de>
* c-tree.h: Add prototyp for c_sizeof_nowarn.
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c
index f9158cf..2f43a61 100644
--- a/gcc/dwarf2asm.c
+++ b/gcc/dwarf2asm.c
@@ -821,7 +821,8 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding,
if (encoding == DW_EH_PE_aligned)
{
assemble_align (POINTER_SIZE);
- encoding = DW_EH_PE_absptr;
+ assemble_integer (addr, size, POINTER_SIZE, 1);
+ return;
}
/* NULL is _always_ represented as a plain zero. */