Logo
Explore Help
Sign In
sysadmin/ipxe
1
0
Fork 0
You've already forked ipxe
mirror of https://github.com/ipxe/ipxe synced 2025-12-13 23:41:45 +03:00
Code Issues Packages Projects Releases Wiki Activity
Files
41307f2874989048679c83686527a3887ed485b3
ipxe/src/arch/i386/core/stack16.S

14 lines
306 B
ArmAsm
Raw Normal View History

Use internal real-mode stack from non-returnable prefixes
2007-06-28 21:56:14 +01:00
.arch i386
/****************************************************************************
* Internal stack
****************************************************************************
*/
[i386] Add explicit ""aw", @nobits" declarations to stack sections As reported by Stefan, commit 13d09e6 ("[i386] Simplify linker script and standardise linker-defined symbol names") breaks gdb, readelf and associated utilities. This is caused by the .stack section overwriting a block in the middle of the .debug_info section (despite being included in the .bss.textdata section in the output file, which apparently has the correct attributes for a .bss section). Fixed by adding explicit flags and type to the stack section declaration.
2009-02-15 10:02:26 +00:00
.section ".stack16", "aw", @nobits
Use internal real-mode stack from non-returnable prefixes
2007-06-28 21:56:14 +01:00
.align 8
.globl _stack16
_stack16:
.space 4096
.globl _estack16
_estack16:
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 974ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API