diff options
| author | jmc <jmc@NetBSD.org> | 2001-12-07 02:40:36 +0000 |
|---|---|---|
| committer | jmc <jmc@NetBSD.org> | 2001-12-07 02:40:36 +0000 |
| commit | 39faa9cf1e5fc56b9f19a14bbe5eceef38e87ae4 (patch) | |
| tree | 6d00dc48d197ccd23f45fa4e942bba5766f0a57c /gnu | |
| parent | 5baaa9092bc4088e2bd96341e3d6380c33f9f59b (diff) | |
Make sure the reloc for __EXCEPTION_TABLE__ in the "eh" exception frames is
fully aligned for the given arch. The sparc64 ld can't handle unaligned
relocs.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/toolchain/gcc/dwarf2out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/dist/toolchain/gcc/dwarf2out.c b/gnu/dist/toolchain/gcc/dwarf2out.c index 7ce80506fdc..37f2961b76d 100644 --- a/gnu/dist/toolchain/gcc/dwarf2out.c +++ b/gnu/dist/toolchain/gcc/dwarf2out.c @@ -1801,6 +1801,7 @@ output_call_frame_info (for_eh) } fputc ('\n', asm_out_file); + ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE)); ASM_OUTPUT_DWARF_ADDR (asm_out_file, "__EXCEPTION_TABLE__"); if (flag_debug_asm) fprintf (asm_out_file, "\t%s pointer to exception region info", |
