-# Copyright 1998-2013 Free Software Foundation, Inc.
+# Copyright 1998-2015 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
set fpreg "\$rbp"
} elseif [is_x86_like_target] {
set fpreg "\$ebp"
+} elseif [is_aarch64_target] {
+ set fpreg "\$x29"
} else {
set fpreg "\$fp"
}