]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Remove unnecessary ".text" directives
authorMichael Brown <mcb30@ipxe.org>
Sun, 14 Jan 2024 11:51:16 +0000 (11:51 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sun, 14 Jan 2024 11:51:16 +0000 (11:51 +0000)
The .text directive is entirely redundant when followed by a .section
directive giving an explicit section name and attributes.

Remove these unnecessary directives to simplify the code.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
21 files changed:
src/arch/arm32/libgcc/lldivmod.S
src/arch/arm32/libgcc/llshift.S
src/arch/x86/core/patch_cf.S
src/arch/x86/drivers/net/undiisr.S
src/arch/x86/interface/pcbios/e820mangler.S
src/arch/x86/prefix/bootpart.S
src/arch/x86/prefix/dskprefix.S
src/arch/x86/prefix/exeprefix.S
src/arch/x86/prefix/hdprefix.S
src/arch/x86/prefix/lkrnprefix.S
src/arch/x86/prefix/mbr.S
src/arch/x86/prefix/mromprefix.S
src/arch/x86/prefix/nbiprefix.S
src/arch/x86/prefix/nullprefix.S
src/arch/x86/prefix/pxeprefix.S
src/arch/x86/prefix/rawprefix.S
src/arch/x86/prefix/romprefix.S
src/arch/x86/prefix/undiloader.S
src/arch/x86/prefix/unlzma.S
src/arch/x86/prefix/usbdisk.S
src/arch/x86/transitions/libkir.S

index 746fa8fde18f0818bde7072af97c4417acd7f1f4..c9c224506201f71616ad8ea2d4c5f1ea035c1627 100644 (file)
@@ -1,7 +1,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", %progbits
-       .text
        .thumb
 
 /**
index c1b51e77827248ca33f707ecf0a27df2bfeda98a..592e28e65d9bce486947a804df073e4e6469e73c 100644 (file)
@@ -1,7 +1,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", %progbits
-       .text
        .arm
 
 /**
index 63730c3fd6156f734a8c08fcd9d131d3a3da8009..ebf62876902c7b2abc5e96f967fa3dbe21970fff 100644 (file)
@@ -23,7 +23,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
 
index a1098b8396e130de1ac3d16a10d89477ff5d481a..aa8991d77bc492a5aced68e0af1a5d00934ef5c1 100644 (file)
@@ -11,7 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER )
 #define PIC2_ICR 0xa0
        
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
 
index 46e1cab4d3d69f413b188ea4d77ab6ba811b612f..40f84c70236c5c98c7cd6e2eb7e2200c55c1590b 100644 (file)
@@ -24,7 +24,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
 
index 575cb1c07182ec690baca8d754ebcd82f61e89f3..cf75ff79359cd6ee8f0b03abe49b02685f4f31ad 100644 (file)
@@ -6,7 +6,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #define STACK_SIZE     0x2000
        
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .section ".prefix", "awx", @progbits
        .code16
index bc19488798674d1be687bac1108b0fb5db05a2b9..f9d301956ae2d6abb664a2adc9f896a40d093dd6 100644 (file)
@@ -27,7 +27,6 @@ FILE_LICENCE ( GPL2_ONLY )
        .section ".note.GNU-stack", "", @progbits
        .org    0
        .arch i386
-       .text
        .section ".prefix", "ax", @progbits
        .code16
        .globl  _dsk_start
index 5b2605e8df7220bb37c9ef6e9efab5fe34ad818c..86333489a903c70d382f4b81ed9fe047fb2be74c 100644 (file)
@@ -37,7 +37,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #define PSP_CMDLINE_START 0x81
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .org 0
        .code16
index fbf8d2e47d855baf1b8d1827371c8332a759ac34..1bbf72dd283c4926feb21154f2344105aebe4b3c 100644 (file)
@@ -3,7 +3,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #include <librm.h>
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .section ".prefix", "awx", @progbits
        .code16
index 2c17f79df755b99d4e87422048b999dd29f52726..9f1a2f09bf147834160297a46f8750e863bfd158 100644 (file)
@@ -5,7 +5,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #define BZI_LOAD_HIGH_ADDR 0x100000
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
        .section ".prefix", "ax", @progbits
index 928bb338bcbbc6d84428941bb5b4b80ea30e0f88..b37eed714bfb38d8f0408c9218da9cfaba5ab346 100644 (file)
@@ -1,7 +1,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .section ".prefix", "awx", @progbits
        .code16
index 5f3496b284d18d7d6830bac544109c50a06a9118..543fd006ab706ffd21507ffdfad85b6320ade4d7 100644 (file)
@@ -42,7 +42,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #include "pciromprefix.S"
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
 
index cae1009b3e37e76a063ad3d04386e015fae4d6b7..0a74ca718e2a8a546558cfb96d5d8e75d8a8acd0 100644 (file)
@@ -3,7 +3,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #include <librm.h>
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .code16
        .section ".prefix", "ax", @progbits
index 1568188d0753bd070e892947f16d73bac4ef1379..bbc697fd292f0427fb4d8bd7e93b4b810529e6a1 100644 (file)
@@ -2,7 +2,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", @progbits
        .org    0
-       .text
        .arch i386
 
        .section ".prefix", "ax", @progbits
index 494fbc138e970e1cecc902596b70371a2720b83b..c62a5011755ce6b4f8a790474ae043feb0307a18 100644 (file)
@@ -12,7 +12,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #define PXE_HACK_EB54                  0x0001
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .org 0
        .code16
index 4a3d350423120f0301cb72401f6558ed8154d808..d97b3b512bc743506a05a470ec64fd8295938a21 100644 (file)
@@ -9,7 +9,6 @@
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .org 0
        .code16
index 79fed2a3505d97f52404f508a9b3514c9afa741e..09837ceef947c2a4c7932eeeb3ceb6cf968016b5 100644 (file)
@@ -55,7 +55,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #endif
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .code16
        .arch i386
        .section ".prefix", "ax", @progbits
index e544d5048fd3abd8d498cb3f87ea04c16a6176c4..33573230bfca464d1e0ba37a39deecb555584960 100644 (file)
@@ -3,7 +3,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #include <librm.h>
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .code16
        .arch i386
        .section ".prefix", "ax", @progbits
index f4bd81bd2d3aa8c859a94e54bd7acec4fadb5f17..4059090b96b6dfea21192d3b4ee1babb357b4fb4 100644 (file)
@@ -44,7 +44,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  */
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i486
        .section ".prefix.lib", "ax", @progbits
 
index 461a08379ddece24d7bb15be04756221492f2890..b8fc5e950c8297973c2a18457de5e74de6078a21 100644 (file)
@@ -3,7 +3,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #include <config/console.h>
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .section ".prefix", "awx", @progbits
        .code16
index af090b266083ad5b79819f9a5852125607f403a7..5909654c2fa07c0ff20fafe00b6a2b008ad9d504 100644 (file)
@@ -32,7 +32,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
 #define BOCHSBP xchgw %bx, %bx
 
        .section ".note.GNU-stack", "", @progbits
-       .text
        .arch i386
        .section ".text16", "awx", @progbits
        .code16