summaryrefslogtreecommitdiff
path: root/core/dnsresolv.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-13 22:46:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-13 22:46:25 -0700
commit4cc0c3ab6541753b89cba58c345c0cae8c7d151d (patch)
treefb8904a1e48da982a6fe3eb105a5c8be20c5a342 /core/dnsresolv.inc
parent95a461a83adf65aa5689b65f85330ce970121f56 (diff)
downloadsyslinux-unify-pm.tar.gz
core: rename .text, .data and .bss to .text16, .data16, .bss16unify-pm
Rename the .text, .data and .bss sections to .text16, .data16 and .bss16, in anticipation of being linked with compiler-generated 32-bit code, which presumably would like to use the standard section names. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/dnsresolv.inc')
-rw-r--r--core/dnsresolv.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/dnsresolv.inc b/core/dnsresolv.inc
index e9bebad9..7b632378 100644
--- a/core/dnsresolv.inc
+++ b/core/dnsresolv.inc
@@ -24,7 +24,7 @@ DNS_MAX_PACKET equ 512 ; Defined by protocol
DNS_LOCAL_PORT equ htons(60053) ; All local DNS queries come from this port #
DNS_MAX_SERVERS equ 4 ; Max no of DNS servers
- section .text
+ section .text16
;
; Turn a string in DS:SI into a DNS "label set" in ES:DI.
@@ -150,14 +150,14 @@ dns_skiplabel:
.rdata: equ $
endstruc
- section .bss
+ section .bss16
alignb 2
DNSSendBuf resb DNS_MAX_PACKET
DNSRecvBuf resb DNS_MAX_PACKET
LocalDomain resb 256 ; Max possible length
DNSServers resd DNS_MAX_SERVERS
- section .data
+ section .data16
pxe_udp_write_pkt_dns:
.status: dw 0 ; Status
.sip: dd 0 ; Server IP
@@ -185,7 +185,7 @@ LastDNSServer dw DNSServers
;
; No segment assumptions permitted.
;
- section .text
+ section .text16
dns_resolv:
push ds
push es