From: Alan Modra <amodra@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: binutils@sourceware.org, simon.marchi@polymtl.ca
Subject: Re: [PATCH v2] bfd: Define pagesize variables only for mmap
Date: Tue, 9 Apr 2024 15:11:37 +0930 [thread overview]
Message-ID: <ZhTVEcN9YrwzNHi9@squeak.grove.modra.org> (raw)
In-Reply-To: <20240409023924.1156002-1-hjl.tools@gmail.com>
On Mon, Apr 08, 2024 at 07:39:23PM -0700, H.J. Lu wrote:
> Define _bfd_pagesize, _bfd_pagesize_m1 and _bfd_minimum_mmap_size only
> if HAVE_MMAP is defined.
>
> * libbfd-in.h (_bfd_pagesize): Declare only if HAVE_MMAP is
> defined.
> (_bfd_pagesize_m1): Likewise.
> (_bfd_minimum_mmap_size): Likewise.
> * libbfd.c (_bfd_pagesize): Define only if HAVE_MMAP is defined.
> (_bfd_pagesize_m1): Likewise.
> (_bfd_minimum_mmap_size): Likewise.
> (bfd_init_pagesize): Likewise.
> * lynx-core.c (lynx_core_file_p): Replace _bfd_pagesize with
> getpagesize.
OK.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2024-04-09 5:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 2:39 H.J. Lu
2024-04-09 5:41 ` Alan Modra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZhTVEcN9YrwzNHi9@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=hjl.tools@gmail.com \
--cc=simon.marchi@polymtl.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).