public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 0/9] Adding size relevant build options
@ 2013-05-07 12:51 Sven Eckelmann
  2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 1/9] alfred: Add CFLAGS to the linker step Sven Eckelmann
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Sven Eckelmann @ 2013-05-07 12:51 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Sven Eckelmann

Hi,

I was talking with Marek and Simon about build options which may be size
relevant. The first change is to allow the linker to check for unused code
sections. The second change is to let the compiler use get the whole source
code instead of only one source file during the final compilation step (ok,
it is originally the link step).

These changes reduce the size on an amd64 (default Debian settings with -O2) by
around 25%. The size reduction on MIPSel (default OpenWRT settings with -Os)
were only by 6%-10%. Marek were still interested and asked me to submit the
changes.

Kind regards,
	Sven

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-05-14  9:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 12:51 [B.A.T.M.A.N.] [PATCH 0/9] Adding size relevant build options Sven Eckelmann
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 1/9] alfred: Add CFLAGS to the linker step Sven Eckelmann
2013-05-14  9:41   ` Simon Wunderlich
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 2/9] batctl: " Sven Eckelmann
2013-05-08  5:04   ` Marek Lindner
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 3/9] batmand: " Sven Eckelmann
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 4/9] vis: " Sven Eckelmann
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 5/9] alfred: Use section garbage collection to reduce binary size Sven Eckelmann
2013-05-14  9:44   ` Simon Wunderlich
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 6/9] alfred: Enable Link-time optimization Sven Eckelmann
2013-05-14  9:45   ` Simon Wunderlich
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 7/9] batman-adv-devel: Add missing TARGET_* flags to batctl compile Sven Eckelmann
2013-05-08  5:11   ` Marek Lindner
2013-05-08  7:24     ` Sven Eckelmann
2013-05-12  7:52       ` Marek Lindner
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 8/9] batman-adv-devel: Use section garbage collection to reduce binary size Sven Eckelmann
2013-05-12  8:20   ` Marek Lindner
2013-05-07 12:51 ` [B.A.T.M.A.N.] [PATCH 5/9] batman-adv-devel: Enable Link-time optimization Sven Eckelmann
2013-05-12  8:21   ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox