mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:37:36 +00:00
LibELF: Reindent .S files to be consistent with other .S files
Most .S files don't indent directives, so don't indent them here either. Also, one file had tabs instead of spaces, `:retab` that file.
This commit is contained in:
parent
7052f403c8
commit
a43ad0e706
4 changed files with 32 additions and 32 deletions
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
.globl _invoke_entry
|
.globl _invoke_entry
|
||||||
.hidden _invoke_entry
|
.hidden _invoke_entry
|
||||||
.type _invoke_entry,@function
|
.type _invoke_entry,@function
|
||||||
_invoke_entry: # (argc, argv, envp, entry)
|
_invoke_entry: # (argc, argv, envp, entry)
|
||||||
addl $4, %esp # return address
|
addl $4, %esp # return address
|
||||||
popl %edi # argc
|
popl %edi # argc
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
.globl _plt_trampoline
|
.globl _plt_trampoline
|
||||||
.hidden _plt_trampoline
|
.hidden _plt_trampoline
|
||||||
.type _plt_trampoline,@function
|
.type _plt_trampoline,@function
|
||||||
_plt_trampoline: # (obj, reloff)
|
_plt_trampoline: # (obj, reloff)
|
||||||
pushf # save registers
|
pushf # save registers
|
||||||
pushl %eax
|
pushl %eax
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
.globl _invoke_entry
|
.globl _invoke_entry
|
||||||
.hidden _invoke_entry
|
.hidden _invoke_entry
|
||||||
.type _invoke_entry,@function
|
.type _invoke_entry,@function
|
||||||
_invoke_entry: # (argc, argv, envp, entry)
|
_invoke_entry: # (argc, argv, envp, entry)
|
||||||
// The System V ABI for x86 and x86_64 prescribes that the stack pointer is 16-byte aligned
|
// The System V ABI for x86 and x86_64 prescribes that the stack pointer is 16-byte aligned
|
||||||
andq $~15, %rsp
|
andq $~15, %rsp
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
.globl _plt_trampoline
|
.globl _plt_trampoline
|
||||||
.hidden _plt_trampoline
|
.hidden _plt_trampoline
|
||||||
.type _plt_trampoline,@function
|
.type _plt_trampoline,@function
|
||||||
_plt_trampoline: # (object, relocation_index)
|
_plt_trampoline: # (object, relocation_index)
|
||||||
# save flags/registers (https://stackoverflow.com/questions/18024672/what-registers-are-preserved-through-a-linux-x86-64-function-call)
|
# save flags/registers (https://stackoverflow.com/questions/18024672/what-registers-are-preserved-through-a-linux-x86-64-function-call)
|
||||||
pushfq
|
pushfq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue