<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/vmlinux.lds.h, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-03-11T09:15:12Z</updated>
<entry>
<title>ARM: Do not use NOCROSSREFS directive with ld.lld</title>
<updated>2022-03-11T09:15:12Z</updated>
<author>
<name>Nathan Chancellor</name>
</author>
<published>2022-03-09T22:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=868d5f8a428f41da7f493a6744913b55c5c97ee2'/>
<id>urn:sha1:868d5f8a428f41da7f493a6744913b55c5c97ee2</id>
<content type='text'>
commit 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa upstream.

ld.lld does not support the NOCROSSREFS directive at the moment, which
breaks the build after commit b9baf5c8c5c3 ("ARM: Spectre-BHB
workaround"):

  ld.lld: error: ./arch/arm/kernel/vmlinux.lds:34: AT expected, but got NOCROSSREFS

Support for this directive will eventually be implemented, at which
point a version check can be added. To avoid breaking the build in the
meantime, just define NOCROSSREFS to nothing when using ld.lld, with a
link to the issue for tracking.

Cc: stable@vger.kernel.org
Fixes: b9baf5c8c5c3 ("ARM: Spectre-BHB workaround")
Link: https://github.com/ClangBuiltLinux/linux/issues/1609
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ARM: Spectre-BHB workaround</title>
<updated>2022-03-11T09:15:12Z</updated>
<author>
<name>Russell King (Oracle)</name>
</author>
<published>2022-02-10T16:05:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99e14db3b711c27f93079ba9d7f2fff169916d5f'/>
<id>urn:sha1:99e14db3b711c27f93079ba9d7f2fff169916d5f</id>
<content type='text'>
commit b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 upstream.

Workaround the Spectre BHB issues for Cortex-A15, Cortex-A57,
Cortex-A72, Cortex-A73 and Cortex-A75. We also include Brahma B15 as
well to be safe, which is affected by Spectre V2 in the same ways as
Cortex-A15.

Reviewed-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
[changes due to lack of SYSTEM_FREEING_INITMEM - gregkh]
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ARM: use LOADADDR() to get load address of sections</title>
<updated>2022-03-11T09:15:12Z</updated>
<author>
<name>Russell King (Oracle)</name>
</author>
<published>2022-02-11T19:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67e1f18a972be16363c6e88d7b29cde880774164'/>
<id>urn:sha1:67e1f18a972be16363c6e88d7b29cde880774164</id>
<content type='text'>
commit 8d9d651ff2270a632e9dc497b142db31e8911315 upstream.

Use the linker's LOADADDR() macro to get the load address of the
sections, and provide a macro to set the start and end symbols.

Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vmlinux.lds.h: Fix incomplete .text.exit discards</title>
<updated>2018-10-11T21:54:58Z</updated>
<author>
<name>Peter Oberparleiter</name>
</author>
<published>2018-09-13T10:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dcf86caa1e3daf4a6ccf38e97f4f752b411f829'/>
<id>urn:sha1:8dcf86caa1e3daf4a6ccf38e97f4f752b411f829</id>
<content type='text'>
Enabling CONFIG_GCOV_PROFILE_ALL=y causes linker errors on ARM:

  `.text.exit' referenced in section `.ARM.exidx.text.exit':
  defined in discarded section `.text.exit'

  `.text.exit' referenced in section `.fini_array.00100':
  defined in discarded section `.text.exit'

And related errors on NDS32:

  `.text.exit' referenced in section `.dtors.65435':
  defined in discarded section `.text.exit'

The gcov compiler flags cause certain compiler versions to generate
additional destructor-related sections that are not yet handled by the
linker script, resulting in references between discarded and
non-discarded sections.

Since destructors are not used in the Linux kernel, fix this by
discarding these additional sections.

Reported-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Tested-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reported-by: Greentime Hu &lt;green.hu@gmail.com&gt;
Tested-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Peter Oberparleiter &lt;oberpar@linux.ibm.com&gt;
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
</content>
</entry>
<entry>
<title>ARM: 8774/1: remove no-op macro VMLINUX_SYMBOL()</title>
<updated>2018-05-19T10:53:46Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2018-05-17T07:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83d41fb9c0eb66b3a97968cbe836e8c4df6af8ec'/>
<id>urn:sha1:83d41fb9c0eb66b3a97968cbe836e8c4df6af8ec</id>
<content type='text'>
VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
is defined.  It has ever been selected only by BLACKFIN and METAG.
VMLINUX_SYMBOL() is unneeded for ARM-specific code.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: simplify and fix linker script for TCM</title>
<updated>2018-03-10T01:20:43Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2018-03-09T02:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b54290e51accea4f696f5dacef8e609d0ccbe54a'/>
<id>urn:sha1:b54290e51accea4f696f5dacef8e609d0ccbe54a</id>
<content type='text'>
Let's put the TCM stuff in the __init section directly. No need for
a separately freed memory area.

Remove redundant linker sections, as well as comments that were more
confusing than no comments at all. Finally make it XIP compatible by
using LOAD_OFFSET in the section LMA specification.

Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Chris Brandt &lt;Chris.Brandt@renesas.com&gt;
</content>
</entry>
<entry>
<title>ARM: linker script: factor out TCM bits</title>
<updated>2018-03-10T01:20:22Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2018-03-09T01:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3146c43db4974f4571bd9d42b172ca03a9137c6'/>
<id>urn:sha1:c3146c43db4974f4571bd9d42b172ca03a9137c6</id>
<content type='text'>
This is a plain move with identical results, and therefore
still broken in the XIP case.

Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Chris Brandt &lt;Chris.Brandt@renesas.com&gt;
</content>
</entry>
<entry>
<title>ARM: linker script: factor out vectors and stubs</title>
<updated>2018-03-10T01:20:04Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2018-03-02T03:17:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9147095896fb321ae10ec5a5f789079318137ac9'/>
<id>urn:sha1:9147095896fb321ae10ec5a5f789079318137ac9</id>
<content type='text'>
Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Chris Brandt &lt;Chris.Brandt@renesas.com&gt;
</content>
</entry>
<entry>
<title>ARM: linker script: factor out unwinding table sections</title>
<updated>2018-03-10T01:19:55Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2018-03-01T22:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9a46e6e714178f6ce7fe2c536c59542a2964f6f'/>
<id>urn:sha1:d9a46e6e714178f6ce7fe2c536c59542a2964f6f</id>
<content type='text'>
Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Chris Brandt &lt;Chris.Brandt@renesas.com&gt;
</content>
</entry>
<entry>
<title>ARM: linker script: factor out stuff for the .text section</title>
<updated>2018-03-10T01:19:45Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2018-03-05T21:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47b4c77dc3565993e4925fb1c0cf00790f3b1eee'/>
<id>urn:sha1:47b4c77dc3565993e4925fb1c0cf00790f3b1eee</id>
<content type='text'>
Move common entries to vmlinux.lds.h as ARM_TEXT.

Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Chris Brandt &lt;Chris.Brandt@renesas.com&gt;
</content>
</entry>
</feed>
