From bf97346f8d9be4b0a6d13112b3ce1b1e53ed0cd1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 25 Mar 2009 17:16:52 -0700 Subject: [PATCH] Fix x86 RA register default. --- backends/x86_64_cfi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/x86_64_cfi.c b/backends/x86_64_cfi.c index 3057700ad..506195069 100644 --- a/backends/x86_64_cfi.c +++ b/backends/x86_64_cfi.c @@ -1,5 +1,5 @@ /* x86-64 ABI-specified defaults for DWARF CFI. - Copyright (C) 2006 Red Hat, Inc. + Copyright (C) 2006, 2009 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -54,7 +54,7 @@ x86_64_abi_cfi (Ebl *ebl __attribute__ ((unused)), Dwarf_CIE *abi_info) abi_info->initial_instructions_end = &abi_cfi[sizeof abi_cfi]; abi_info->data_alignment_factor = 8; - abi_info->return_address_register = 8; /* %eip */ + abi_info->return_address_register = 16; /* %rip */ return 0; } -- 2.47.2