[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAErSpo71fVU5mJgXnxMwiE_TUrNyfSYHo5RDF-=u2BK5grDYAw@mail.gmail.com>
Date: Wed, 4 Feb 2015 09:53:28 -0600
From: Bjorn Helgaas <bhelgaas@...gle.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Mark Salter <msalter@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Mark Langsdorf <mlangsdo@...hat.com>,
linaro-acpi@...ts.linaro.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Yijing Wang <wangyijing@...wei.com>,
Rob Herring <robh@...nel.org>,
Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>,
Timur Tabi <timur@...eaurora.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
Grant Likely <grant.likely@...aro.org>,
Charles Garcia-Tobin <Charles.Garcia-Tobin@....com>,
phoenix.liyi@...wei.com, Robert Richter <rric@...nel.org>,
Jason Cooper <jason@...edaemon.net>,
Arnd Bergmann <arnd@...db.de>,
Marc Zyngier <marc.zyngier@....com>,
Jon Masters <jcm@...hat.com>, Mark Brown <broonie@...nel.org>,
linux-arm <linux-arm-kernel@...ts.infradead.org>,
Ashwin Chaugule <ashwinc@...eaurora.org>,
Graeme Gregory <graeme.gregory@...aro.org>,
Randy Dunlap <rdunlap@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Hanjun Guo <hanjun.guo@...aro.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
Sudeep Holla <Sudeep.Holla@....com>,
Olof Johansson <olof@...om.net>
Subject: Re: [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64
On Wed, Feb 4, 2015 at 4:48 AM, Russell King - ARM Linux
<linux@....linux.org.uk> wrote:
> Moreover, __weak is positively harmful when you consider it adds bloat
> and dead code - the overriden __weak function is left behind in the
> resulting final image.
Huh, I didn't realize that. Is that a linker bug, or is there some
reason the weak function has to be in the final image? I tried a
trivial test on x86 with gcc-4.8.2/ld-2.24, and I think the weak
function text was omitted, but a string constant used only by the weak
function was included.
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists