Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In 1869 the waffle iron was invented for people who had wrinkled waffles.


devel / comp.os.msdos.djgpp / Re: [PING][PATCH] increase stack and malloc alignment to 16 bytes

SubjectAuthor
* [PATCH] increase stack and malloc alignment to 16 bytesJ.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com]
`* [PING][PATCH] increase stack and malloc alignment to 16 bytesJ.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com]
 `- Re: [PING][PATCH] increase stack and malloc alignment to 16 bytesOzkan Sezer (sezeroz@gmail.com) [via djgpp@delorie.com]

1
[PATCH] increase stack and malloc alignment to 16 bytes

<20211125151322.439824-1-jwjagersma@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=122&group=comp.os.msdos.djgpp#122

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 25 Nov 2021 09:25:33 -0600
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=from:to:cc:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=N64K10UqIVQhjbtLKmJjceYXmdgxeHMtXu1Spcq2KDo=;
b=b13LGShyL0GaJRLgw2DafFBnsthZixPClJuAcX9gz0SAdY1v+FkulQHP6ZogXF83CK
SZxWBenWQjqnR6WAraA9SMAFwv7O1sP9ZzqpZv6c+LxhuKuZ9c/mUUqqNkF3QfE1l2hX
ZkoTPYPo/X4QR8tLY5WeMS88YqJcNF8EZ1nm0erwiW3h+ATWMoXy8tkCahhUDhV6Bt2H
0j5jeKQOhgD44FvIgoOK5NR4UKZ2Ai6qFPT9NHOppr3J+fMJlogyXBq3/0Nb59O3UtBR
v5gFaxW+ggz1NyWwZcGaPvCfMgXI8ZFkNGyKK1pHjeANSfOM2nosfdsQ6Oq5n6c8Llae
ItTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=N64K10UqIVQhjbtLKmJjceYXmdgxeHMtXu1Spcq2KDo=;
b=lxK8NVjjy0AEcml6RM50lsyMfkVPGDqzXVoJ4ctrl6+kLwpOPKG6tHtoDbVqmlBPSE
/StyR4cJ01OUe4V7COUh1ot7COV7DRf5DZoM6uUThmKUvSWOpFfv9RKG9jS4mEYmEVqQ
XBy7Cw9lwQoFDuuUHCLu+WcLxQEi0mhkIpFkPnw5njk/MF1A3JChNXc+XGMJx0z0jPNx
ssMFm5obBkoYYDuO26D0OUeHL89ug6IuXfF0p5+5DfnQuNfNHgYmJj/aOvH0X+aurAuO
IXIcabj1P3Q+Ko5mlzTrhozBwj2eFeacyGMtomxYF0qJDckOSq3zfQYHpjPL8UnNzFH8
feZg==
X-Gm-Message-State: AOAM533Vp1z/BTpzQ30F98A1cyZy5UVgWAgGMnShg4YqQlaPfqOZxZ1Y
i5GpRB7JOM2ORKJkVnrrBnckC92cqf4=
X-Google-Smtp-Source: ABdhPJwmH/vFnynpH5y5YDtw7stJ5lG6SC7tgGTMTtwJLbITxc/SbBoL5iu7RWNIIMWvl2GzKdO9nA==
X-Received: by 2002:a17:907:6d99:: with SMTP id sb25mr34763478ejc.261.1637853922812;
Thu, 25 Nov 2021 07:25:22 -0800 (PST)
From: djg...@delorie.com (J.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com])
To: djgpp@delorie.com
Cc: "J.W. Jagersma" <jwjagersma@gmail.com>
Subject: [PATCH] increase stack and malloc alignment to 16 bytes
Date: Thu, 25 Nov 2021 16:13:24 +0100
Message-Id: <20211125151322.439824-1-jwjagersma@gmail.com>
X-Mailer: git-send-email 2.33.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 42
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-XCm5ejHkMpwpnrETm8lQaxi6yK/q3UGoAcPYh6FTApXdlY+5D+2WRGo0nlbYjtVdqc9+N1TYaUty4MG!POffGOQQIauihM5/rHuE/Z0ehj3qlHVAq+IQexS2oCbOvHE3tP0oeakDpw6BjT+Z1gH1gVdZRA==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4563
 by: J.W. Jagersma (jwjag - Thu, 25 Nov 2021 15:13 UTC

The section alignment patch I posted here earlier has been accepted in binutils,
so that will be available in the next release.

Now in libc only these two lines need to be adjusted, and then all code, data,
stack and heap will be aligned to 16 byte boundaries.

Should be good for SSE, hopefully it will help resolve the gcc 11 Ada issue too.

---
src/libc/ansi/stdlib/nmalcdef.h | 2 +-
src/libc/crt0/crt0.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libc/ansi/stdlib/nmalcdef.h b/src/libc/ansi/stdlib/nmalcdef.h
index cb41f619..495c63a6 100644
--- a/src/libc/ansi/stdlib/nmalcdef.h
+++ b/src/libc/ansi/stdlib/nmalcdef.h
@@ -188,7 +188,7 @@ typedef struct memblock {
/* conversion and access macros */
#define MEMBLKp(p) (memblockp)((byte*)(p) - DATAOFFSET)
#define PTR(m) (void*)((byte*)(m) + DATAOFFSET)
-#define ALIGN 8
+#define ALIGN 16
#define ALIGNMASK (ALIGN-1)
diff --git a/src/libc/crt0/crt0.S b/src/libc/crt0/crt0.S
index 446a989b..226f0cb9 100644
--- a/src/libc/crt0/crt0.S
+++ b/src/libc/crt0/crt0.S
@@ -315,7 +315,7 @@ use_stubinfo_stack_size:
addl __stklen, %eax
movw %ds, %dx /* set stack */
movw %dx, %ss
- andb $0xf8, %al /* align to 8-byte boundary */
+ andb $0xf0, %al /* align to 16-byte boundary */
movl %eax, %esp
movl %eax, ___djgpp_stack_top /* Top of stack */
subl ___djgpp_stack_limit, %eax
--
2.33.0

[PING][PATCH] increase stack and malloc alignment to 16 bytes

<fc07cacc-a161-fec8-4f4d-8885e0d4ed6b@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=237&group=comp.os.msdos.djgpp#237

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 25 Jan 2023 21:48:51 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=content-transfer-encoding:in-reply-to:from:to:references
:content-language:subject:user-agent:mime-version:date:message-id
:from:to:cc:subject:date:message-id:reply-to;
bh=c249pQ8U5utkdMXdEyU9NEHx8/0YarrPwNwOwqoNxts=;
b=pNE4inbw2pnqYknEVHPlto8TVMNT8TqqEl8rQa4ULye9taT+j8osnQAjxmy0t3NEpW
LoVYTkDCdaZCdvzj1QeG1gEJKtywAOD9B3XpRAIswwqMLjQ5UOhVGZGZzBQuJ9y6rsMF
F4ZqiQ4/d0k6er706bqFwOW1cc9og4Ue9JvhqJVoY+mZatZUUIY7vDU8IGMFNCNkAP7a
Ej63WrA+QWHuKpaVwwUSwwBGvDZwCgwqfHztoqbD9wTE2N57hDANriFp/c1oZG/LxVpO
FCfuxP9r6avXRv9PvPHbr1wVp1L9tqUGPh8b/g6IncKhQkZYvMWghexJrEf9wAq9uS2L
MZoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:in-reply-to:from:to:references
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=c249pQ8U5utkdMXdEyU9NEHx8/0YarrPwNwOwqoNxts=;
b=63et/PuBNPxNiRIAoZU5VfszkaDUd8RvVRz/qacruBUM2dYZ+XRYFmqGMhgtvLV1RM
SoD3uhaYEW/1+zjg+zphJG3sj5QMlDL/v/pOZuz3ayUPcJX5agSn2RdpICP5tj1kSZsQ
rhxhMliQ+QUWyUB+ZTOljxL8qpss636K7p1u4twjUscmC4yAOjZMb8IhTsOAB0Ag/2JT
MACfNVRvAdhuHhCWVlkZJ8EVI/ilORdy05M9SNioy8lKDBzQQBNrO3EF3wXognhr19Zy
uevuiagPg5FNjnDYjfoH1tZxuuuPojr7hkuRs50OT5A2roIhDPcnA0SDgJFazWHgGAum
dRMg==
X-Gm-Message-State: AFqh2krUqW484+xQH43r1xU/NYPkaYihyBfFBvvyDX858Yg/32rOjflc
/PEAokA1YGvTBrxtfbcLXz9Nnkg+SGcDwQ==
X-Google-Smtp-Source: AMrXdXs6CDXwPLm7iLhdvbksrcMFo8jCrRNk/lPRvG0sOh2VPlnf233TcMsPAg97rs1jNrYQF/23bA==
X-Received: by 2002:a17:907:8dca:b0:85f:5d72:1841 with SMTP id tg10-20020a1709078dca00b0085f5d721841mr38116656ejc.39.1674683125966;
Wed, 25 Jan 2023 13:45:25 -0800 (PST)
Message-ID: <fc07cacc-a161-fec8-4f4d-8885e0d4ed6b@gmail.com>
Date: Wed, 25 Jan 2023 22:45:24 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Subject: [PING][PATCH] increase stack and malloc alignment to 16 bytes
Content-Language: en-US
References: <20211125151322.439824-1-jwjagersma@gmail.com>
To: djgpp@delorie.com
From: djg...@delorie.com (J.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com])
In-Reply-To: <20211125151322.439824-1-jwjagersma@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 49
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-ZIRoXwrswzMV39ZujUftxB1NnQZNbR4ds/5hsuS851uFZLCXNDgIb6SkbuSk4XzSC0f365g3jrRjWSR!HoyYTyjsFRgykECK0LRxuHpT9Xsjt0/yIRwYwCGzUIxu25TSyaWCh4+Bw7MEOVq/KWOih05L1xn4
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: J.W. Jagersma (jwjag - Wed, 25 Jan 2023 21:45 UTC

Pinging another patch that I think is important, particularly for -msse users.

Note that gcc / libstdc++ also expect 16-byte alignment, as evidenced by
alignof(std::max_align_t) == 16, the macro __STDCPP_DEFAULT_NEW_ALIGNMENT__
(defined to 16), and the fact that it always bumps the stack pointer by
multiples of 16.

On 2021-11-25 16:13, J.W. Jagersma wrote:
> The section alignment patch I posted here earlier has been accepted in binutils,
> so that will be available in the next release.
>
> Now in libc only these two lines need to be adjusted, and then all code, data,
> stack and heap will be aligned to 16 byte boundaries.
>
> Should be good for SSE, hopefully it will help resolve the gcc 11 Ada issue too.
>
> ---
> src/libc/ansi/stdlib/nmalcdef.h | 2 +-
> src/libc/crt0/crt0.S | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libc/ansi/stdlib/nmalcdef.h b/src/libc/ansi/stdlib/nmalcdef.h
> index cb41f619..495c63a6 100644
> --- a/src/libc/ansi/stdlib/nmalcdef.h
> +++ b/src/libc/ansi/stdlib/nmalcdef.h
> @@ -188,7 +188,7 @@ typedef struct memblock {
> /* conversion and access macros */
> #define MEMBLKp(p) (memblockp)((byte*)(p) - DATAOFFSET)
> #define PTR(m) (void*)((byte*)(m) + DATAOFFSET)
> -#define ALIGN 8
> +#define ALIGN 16
>
> #define ALIGNMASK (ALIGN-1)
>
> diff --git a/src/libc/crt0/crt0.S b/src/libc/crt0/crt0.S
> index 446a989b..226f0cb9 100644
> --- a/src/libc/crt0/crt0.S
> +++ b/src/libc/crt0/crt0.S
> @@ -315,7 +315,7 @@ use_stubinfo_stack_size:
> addl __stklen, %eax
> movw %ds, %dx /* set stack */
> movw %dx, %ss
> - andb $0xf8, %al /* align to 8-byte boundary */
> + andb $0xf0, %al /* align to 16-byte boundary */
> movl %eax, %esp
> movl %eax, ___djgpp_stack_top /* Top of stack */
> subl ___djgpp_stack_limit, %eax

Re: [PING][PATCH] increase stack and malloc alignment to 16 bytes

<CAA2C=vB6RibrKQkVSseiff++t=jDzrwAum7+DK=wriuA1WC3Kw@mail.gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=477&group=comp.os.msdos.djgpp#477

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 27 Feb 2024 17:34:52 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709055280; x=1709660080; darn=delorie.com; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Yu1HPusJPj+bjDKu8J5kgjdkHc5ZL0JmkEOAO2snYss=; b=lAq7LXsEiR3GZ/eMWqsw3ug5DU9FGjNbVy5MT0/FugFqtWi5Bb78T1CLTY5OXVXsAS 8Oxr9WSnQKcCAupi3CmKP4TVEFQCpYqHKFzv23MPa0X3oNeAGcAfAx/bmcMVrrowVUMX 11/1mWb6489xK87wzYWkb9KbwCmdMOsZ8u0vR5456mojmF21i6/5ArgbXAzV+knYCNS0 urbfvsWOguVk4MzeFnNdHjUMZy5oeRAQ60BcH4DPtL2LEzgEXLfMbii33U/iFb+IBDsj GkAySrPjnkEkFYzHmZ6558TLpoCZjBbF04L6NZHVG64JpDxK8cANwzZoXhH6ydh8ePdV ja+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709055280; x=1709660080; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yu1HPusJPj+bjDKu8J5kgjdkHc5ZL0JmkEOAO2snYss=; b=dwHy8x+0XqTLLNHKkwGB5QQQlvQ2yWaSJIzXNJn1TPR2GV9ewDrpo7XeEJQlOnO37/ vhxmgk6UEdJ8mHxBsLUMzccVThoSkxDqbq0q1/58iSN23K1lFI1+yVfAJ5HvMHKUPKDp pyEMWrMfzDWbyurBUdfnhFRTlVodqLgvtWy8b0LxhnL3v/5Xv6YJd06lYVTnXPX7ls5e yBWhQtckG9KISinGJSHXlRP/Jlt5JpCLPl6n5VtdW1aG8f8yn+GwJEpuUaFUGzVy5iZk qLTvqFPqw7h0Z6Q9fwjwPvYc15tIdKGrLXL0N7nf6DclHw+fDGJgmWXE7c6DHtRBLbwN Qdtg==
X-Gm-Message-State: AOJu0Ywx3ns2i9azsT1RHcwxBcVTELIBaQyFVrh0J0+yalhDpBNdKo7k 4ja/SIHTmJFhFFJDl9/kDiIL6qMB1MpwM0RodHftnmnBL20kenrtnICmuC8+oanql3Odr4Psu/C hbG4yNhrXGRAD9iTIgY7xngutElE3R81p
X-Google-Smtp-Source: AGHT+IGCf1Ug+UAt49jdZF7y3IM6rYfDWJStgJxHcj2TcPpM6geXrLRJWd97F0hwq7PMsDvqUfpXj/yRPlsshz3BVs8=
X-Received: by 2002:a05:600c:524b:b0:412:9dd0:f7e7 with SMTP id fc11-20020a05600c524b00b004129dd0f7e7mr7342390wmb.22.1709055279772; Tue, 27 Feb 2024 09:34:39 -0800 (PST)
MIME-Version: 1.0
References: <20211125151322.439824-1-jwjagersma@gmail.com> <fc07cacc-a161-fec8-4f4d-8885e0d4ed6b@gmail.com>
In-Reply-To: <fc07cacc-a161-fec8-4f4d-8885e0d4ed6b@gmail.com>
From: djg...@delorie.com (Ozkan Sezer (sezeroz@gmail.com) [via djgpp@delorie.com])
Date: Tue, 27 Feb 2024 20:34:28 +0300
Message-ID: <CAA2C=vB6RibrKQkVSseiff++t=jDzrwAum7+DK=wriuA1WC3Kw@mail.gmail.com>
Subject: Re: [PING][PATCH] increase stack and malloc alignment to 16 bytes
To: djgpp@delorie.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 41RHYfhI1027930
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 55
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-onFCiFAe54FPIQJFNt70yY1V8b8WeEflaj3bMWVh7GI/x/prCBGfe92wDwaULNNsuChYWGJ3Bde57Gr!BBnzg1exMxcsXMb7Tvr7//yz+UKZwTr4uLcylkVakK/ruwWtholqgGU4QRNf5cdWoVfulTRZmTRS!KERGnXYXcCKjWlMM+rro/T6FXjk=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 5996
 by: Ozkan Sezer (sezeroz - Tue, 27 Feb 2024 17:34 UTC

On Thu, Jan 26, 2023 at 12:50 AM J.W. Jagersma (jwjagersma@gmail.com)
[via djgpp@delorie.com] <djgpp@delorie.com> wrote:
>
> Pinging another patch that I think is important, particularly for -msse users.
>
> Note that gcc / libstdc++ also expect 16-byte alignment, as evidenced by
> alignof(std::max_align_t) == 16, the macro __STDCPP_DEFAULT_NEW_ALIGNMENT__
> (defined to 16), and the fact that it always bumps the stack pointer by
> multiples of 16.
>
>
> On 2021-11-25 16:13, J.W. Jagersma wrote:
> > The section alignment patch I posted here earlier has been accepted in binutils,
> > so that will be available in the next release.
> >
> > Now in libc only these two lines need to be adjusted, and then all code, data,
> > stack and heap will be aligned to 16 byte boundaries.
> >
> > Should be good for SSE, hopefully it will help resolve the gcc 11 Ada issue too.
> >
> > ---
> > src/libc/ansi/stdlib/nmalcdef.h | 2 +-
> > src/libc/crt0/crt0.S | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/src/libc/ansi/stdlib/nmalcdef.h b/src/libc/ansi/stdlib/nmalcdef.h
> > index cb41f619..495c63a6 100644
> > --- a/src/libc/ansi/stdlib/nmalcdef.h
> > +++ b/src/libc/ansi/stdlib/nmalcdef.h
> > @@ -188,7 +188,7 @@ typedef struct memblock {
> > /* conversion and access macros */
> > #define MEMBLKp(p) (memblockp)((byte*)(p) - DATAOFFSET)
> > #define PTR(m) (void*)((byte*)(m) + DATAOFFSET)
> > -#define ALIGN 8
> > +#define ALIGN 16
> >
> > #define ALIGNMASK (ALIGN-1)
> >
> > diff --git a/src/libc/crt0/crt0.S b/src/libc/crt0/crt0.S
> > index 446a989b..226f0cb9 100644
> > --- a/src/libc/crt0/crt0.S
> > +++ b/src/libc/crt0/crt0.S
> > @@ -315,7 +315,7 @@ use_stubinfo_stack_size:
> > addl __stklen, %eax
> > movw %ds, %dx /* set stack */
> > movw %dx, %ss
> > - andb $0xf8, %al /* align to 8-byte boundary */
> > + andb $0xf0, %al /* align to 16-byte boundary */
> > movl %eax, %esp
> > movl %eax, ___djgpp_stack_top /* Top of stack */
> > subl ___djgpp_stack_limit, %eax
>

PING? Has anyone reviewed this?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor