From nobody Tue Nov 1 00:46:22 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N1WYB5d9xz4gy0s; Tue, 1 Nov 2022 00:46:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N1WYB57skz3Q9d; Tue, 1 Nov 2022 00:46:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667263582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x2HtumobFhLUQmiVTAzwc/KTssA3K66eIzuyB/nOCmI=; b=neDQRjBEl7sKZvfm6l7gcBqSY1pnrZ1IHKgWmrZ8fQDfZ2+gRPROgzh2ENshfrXCNslYKV lImZpQxRHarucaH0kMcI7pOSolqlU2ZbilCPxEbHgjAG+tdp41Ur8rrXDa/HCZZBBpV/Xn hYtaSZm4RSDqPLya8lYJaAPeSLw/RwbaWkOaqvFCsnBBzmviYUsOIGZyQ10RYWmG/2n1uW fuLaw+U7uK0jnN9tg3JtNd3bt6zyTZQ2eH7Je8/qt9rYLP7AXBrGPd5/ewo8+SampVBiqA I1T9gM5RLdSBgXOOjyotfuHmE42mC1OAUeMlgKU8IqF0NLLeySY8Ei6LfyloKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N1WYB4FNfzwmZ; Tue, 1 Nov 2022 00:46:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A10kMOi041819; Tue, 1 Nov 2022 00:46:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A10kMdw041818; Tue, 1 Nov 2022 00:46:22 GMT (envelope-from git) Date: Tue, 1 Nov 2022 00:46:22 GMT Message-Id: <202211010046.2A10kMdw041818@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7542ee89d81f - stable/13 - i386: move hard-coded load address for PIE below default linker base List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7542ee89d81fadfb21e66d5feb0345f525f24311 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667263582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x2HtumobFhLUQmiVTAzwc/KTssA3K66eIzuyB/nOCmI=; b=lagin4THPz/3/zTgGYiB5+BmmqbPjWvWHBiKiyfdNOOJcA1UxLNR7JK54Zvliqj8KSpvLd v0xHVST++6hSKMiHq40bsIVCBjo3ZskG9fo1LlGQi3Ykr3jwMDVLMeIvwZMGQWjqsTFyDV S9pcq8AiOf1MP7Jid0RfiVB/AA8KR8DoWf249c0iEB8FQrXdVX+qlniFTxGBvWI11gUI+q PxOXfY04tzv1ERq7lgb9uMEmt8tSn0QAlQzJOaGHCFxvk/jFQ5b1SfXpxzvuFt3e/YSozL EG+YZ2kFHNMLiceMng6mX20sVXaqj1Ytm/+jLZCoQZj+zPgqH/gAQNA0w+CeXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667263582; a=rsa-sha256; cv=none; b=RlnCxZ/DXZxoy9j+DIZ4O4dZb5v+wVZeMh1RBAlZoo9P2C1adblDweXlGyCbJCCsI1r2K6 T6b3YhWo3xDGPVugGV5RiXt8T9EMxc4uWap4NJB8mFdXo9lG1j8qeT4mWcRrcmZX1xlCIx PBCmYlyRTWeBWYrjvLMHLOE+VLgaDZ/u4VqP+rsKYFLpjesdCpH+ext1pE3FljepCcE0/x tucEwol2ipnKIod3uPNj1AaRR23YXfdBYY5PX/wfZtaW9qTXTrUHccZxS5akgYKh/7tMcl Q9TDRYpLhy4OlntACws4SgLRA99X4IKU03RljWtM1FqkUb/N7rxtrH6sqfJYZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7542ee89d81fadfb21e66d5feb0345f525f24311 commit 7542ee89d81fadfb21e66d5feb0345f525f24311 Author: Konstantin Belousov AuthorDate: 2022-10-22 20:03:17 +0000 Commit: Konstantin Belousov CommitDate: 2022-11-01 00:44:40 +0000 i386: move hard-coded load address for PIE below default linker base (cherry picked from commit 5f00525dfca4b1fbb0f8296a411bf57c23bce694) --- sys/x86/include/elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/x86/include/elf.h b/sys/x86/include/elf.h index e587b52202e8..e8744858e4b7 100644 --- a/sys/x86/include/elf.h +++ b/sys/x86/include/elf.h @@ -89,7 +89,7 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH EM_386 #define ELF_TARG_VER 1 -#define ET_DYN_LOAD_ADDR 0x01001000 +#define ET_DYN_LOAD_ADDR 0x00002000 #elif defined(__amd64__) @@ -150,7 +150,7 @@ __ElfType(Auxinfo); #define ELF_TARG_VER 1 #if __ELF_WORD_SIZE == 32 -#define ET_DYN_LOAD_ADDR 0x01001000 +#define ET_DYN_LOAD_ADDR 0x00002000 #else #define ET_DYN_LOAD_ADDR 0x01021000 #endif