在2024年6月11日六月 下午3:28,Heinrich Schuchardt写道: [...] > > We have: > > arch/arm/lib/elf_aarch64_efi.lds:26: *(.rodata*) > arch/arm/lib/elf_arm_efi.lds:26: *(.rodata*) > arch/riscv/lib/elf_riscv32_efi.lds:26: *(.rodata*) > arch/riscv/lib/elf_riscv64_efi.lds:26: *(.rodata*) > arch/x86/lib/elf_ia32_efi.lds:35: *(.rodata*) > arch/x86/lib/elf_x86_64_efi.lds:37: *(.rodata*) > > Not considering .rodata in objcopy looks inconsistent. > > As we use -fdata-sections wouldn't we expect a .rodata* section per > function with constants on LoongArch? Shouldn't we use: > > + .dynamic -j .dynsym -j .rel* -j .rela* -j .reloc -j .rodata* \ That makes sense, will take in next version. Thanks > > Best regards > > Heinrich -- - Jiaxun
- Re: [PATCH 2/7] efi: Allow runtime relocate to be... Ilias Apalodimas
- Re: [PATCH 2/7] efi: Allow runtime relocate t... Jiaxun Yang
- Re: [PATCH 2/7] efi: Allow runtime reloca... Ilias Apalodimas
- Re: [PATCH 2/7] efi: Allow runtime re... Jiaxun Yang
- Re: [PATCH 2/7] efi: Allow runtime reloca... Maciej W. Rozycki
- Re: [PATCH 2/7] efi: Allow runtime re... Jiaxun Yang
- [PATCH 3/7] Makefile.lib: Preserve .rodata section for... Jiaxun Yang
- Re: [PATCH 3/7] Makefile.lib: Preserve .rodata se... Ilias Apalodimas
- Re: [PATCH 3/7] Makefile.lib: Preserve .rodat... Jiaxun Yang
- Re: [PATCH 3/7] Makefile.lib: Preserve .r... Heinrich Schuchardt
- Re: [PATCH 3/7] Makefile.lib: Preserv... Jiaxun Yang
- Re: [PATCH 3/7] Makefile.lib: Preserve .r... Ilias Apalodimas
- [PATCH 4/7] Makefile.lib: Enforce EFI CFLAGS/AFLAGS Jiaxun Yang
- Re: [PATCH 4/7] Makefile.lib: Enforce EFI CFLAGS/... Heinrich Schuchardt
- [PATCH 5/7] MIPS: Add smbios_start to arch_global_data Jiaxun Yang
- Re: [PATCH 5/7] MIPS: Add smbios_start to arch_gl... Ilias Apalodimas
- [PATCH 6/7] MIPS: Define MIPS EFI related bits everywh... Jiaxun Yang
- Re: [PATCH 6/7] MIPS: Define MIPS EFI related bit... Ilias Apalodimas
- [PATCH 7/7] MIPS: Implement EFI supporting stuff Jiaxun Yang
- Re: [PATCH 0/7] MIPS: Enable EFI support Heinrich Schuchardt
- Re: [PATCH 0/7] MIPS: Enable EFI support Jiaxun Yang