asm: prefix every linux specific with linux/

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent abb67c14b8
commit 0c9afcf9b6
19 changed files with 23 additions and 12 deletions

View File

@@ -11556,16 +11556,16 @@ Not documented as of GCC 8.2, but possible: https://stackoverflow.com/questions/
The following <<userland-setup>> programs illustrate how to make system calls: The following <<userland-setup>> programs illustrate how to make system calls:
* x86_64 * x86_64
** link:userland/arch/x86_64/freestanding/hello.S[] ** link:userland/arch/x86_64/freestanding/linux/hello.S[]
** link:userland/arch/x86_64/c/freestanding/hello.c[] ** link:userland/arch/x86_64/c/freestanding/linux/hello.c[]
** link:userland/arch/x86_64/c/freestanding/hello_regvar.c[] ** link:userland/arch/x86_64/c/freestanding/linux/hello_regvar.c[]
* arm * arm
** link:userland/arch/arm/freestanding/hello.S[] ** link:userland/arch/arm/freestanding/linux/hello.S[]
** link:userland/arch/arm/c/freestanding/hello.c[] ** link:userland/arch/arm/c/freestanding/linux/hello.c[]
* aarch64 * aarch64
** link:userland/arch/aarch64/freestanding/hello.S[] ** link:userland/arch/aarch64/freestanding/linux/hello.S[]
** link:userland/arch/aarch64/c/freestanding/hello.c[] ** link:userland/arch/aarch64/c/freestanding/linux/hello.c[]
** link:userland/arch/aarch64/c/freestanding/hello_clobbers.c[] ** link:userland/arch/aarch64/c/freestanding/linux/hello_clobbers.c[]
Determining the ARM syscall numbers: Determining the ARM syscall numbers:
@@ -11585,8 +11585,11 @@ Questions about the C inline assembly examples:
=== Calling conventions === Calling conventions
* x86_64 ==== x86_64 calling convention
** link:userland/arch/x86_64/common_arch.h[] `ENTRY` and `EXIT`
Examples:
* link:userland/arch/x86_64/common_arch.h[] `ENTRY` and `EXIT`
==== ARM calling convention ==== ARM calling convention
@@ -11594,10 +11597,10 @@ Call C standard library functions from assembly and vice versa.
* arm * arm
** link:userland/arch/arm/common_arch.h[] `ENTRY` and `EXIT` ** link:userland/arch/arm/common_arch.h[] `ENTRY` and `EXIT`
** link:userland/arch/arm/c_from_asm.S[] ** link:userland/arch/arm/linux/c_from_asm.S[]
* aarch64 * aarch64
** link:userland/arch/aarch64/common_arch.h[] `ENTRY` and `EXIT` ** link:userland/arch/aarch64/common_arch.h[] `ENTRY` and `EXIT`
** link:userland/arch/aarch64/c/asm_from_c.c[] ** link:userland/arch/aarch64/c/linux/asm_from_c.c[]
ARM Architecture Procedure Call Standard (AAPCS) is the name that ARM Holdings gives to the calling convention. ARM Architecture Procedure Call Standard (AAPCS) is the name that ARM Holdings gives to the calling convention.

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build

View File

@@ -0,0 +1 @@
../build