From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org
Cc: "David S . Miller" <davem@davemloft.net>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Matt Turner <mattst88@gmail.com>
Subject: [PATCH 1/5] silo: Build with -fno-PIC to reduce size
Date: Sun, 5 Apr 2020 11:48:54 -0700 [thread overview]
Message-ID: <20200405184858.3963582-1-mattst88@gmail.com> (raw)
Otherwise the resulting image will be too large:
| ./util second.map second.aout second2.aout second.b second.b2
| Distance between two changes larger than 63K 3 84553 0
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
Rules.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rules.make b/Rules.make
index 0f176db..3d0efe7 100644
--- a/Rules.make
+++ b/Rules.make
@@ -19,7 +19,7 @@ cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
> /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
CFLAGS = -Os -Wall -I. -I../include -fomit-frame-pointer \
- -fno-strict-aliasing -DSMALL_RELOC=$(SMALL_RELOC) \
+ -fno-strict-aliasing -fno-PIC -DSMALL_RELOC=$(SMALL_RELOC) \
-DLARGE_RELOC=$(LARGE_RELOC)
HOSTCFLAGS = -O2 -Wall
--
2.24.1
next reply other threads:[~2020-04-05 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 18:48 Matt Turner [this message]
2020-04-05 18:48 ` [PATCH 2/5] silo: Build with -U_FORTIFY_SOURCE Matt Turner
2020-04-05 18:48 ` [PATCH 3/5] silo: Fix misleading indentation Matt Turner
2020-04-05 18:48 ` [PATCH 4/5] second: Fix typo'd operator Matt Turner
2020-04-05 18:48 ` [PATCH 5/5] second/util: Remove unused shadowed variables Matt Turner
2020-04-05 18:54 ` [PATCH 1/5] silo: Build with -fno-PIC to reduce size Matt Turner
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=20200405184858.3963582-1-mattst88@gmail.com \
--to=mattst88@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=davem@davemloft.net \
--cc=linux-alpha@vger.kernel.org \
/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