Last change
on this file since cb7be8f was cb7be8f, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
Update headers in .S files that incorrectly use #-style comments
|
-
Property mode
set to
100644
|
File size:
313 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * SPDX-FileCopyrightText: 2010 Jakub Jermar
|
---|
3 | *
|
---|
4 | * SPDX-License-Identifier: BSD-3-Clause
|
---|
5 | */
|
---|
6 |
|
---|
7 | #include <abi/asmtool.h>
|
---|
8 |
|
---|
9 | .text
|
---|
10 |
|
---|
11 | FUNCTION_BEGIN(frame_pointer_get)
|
---|
12 | movq %rbp, %rax
|
---|
13 | ret
|
---|
14 | FUNCTION_END(frame_pointer_get)
|
---|
15 |
|
---|
16 | FUNCTION_BEGIN(program_counter_get)
|
---|
17 | movq (%rsp), %rax
|
---|
18 | ret
|
---|
19 | FUNCTION_END(program_counter_get)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.