From 4cc0c3ab6541753b89cba58c345c0cae8c7d151d Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 13 May 2009 22:46:25 -0700 Subject: core: rename .text, .data and .bss to .text16, .data16, .bss16 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 --- core/dnsresolv.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/dnsresolv.inc') 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 -- cgit v1.2.1