android_kernel_xiaomi_sm7250/arch/blackfin
Bernd Schmidt 6f985294f7 Blackfin arch: fix bugs in linker script when using upstream binutils
Fix a few problems I discovered when building a kernel with upstream CVS
binutils.

We have to add the NOTES macro to our linker script, since a kernel
built with --build-id is otherwise unable to boot.  Last time NOTES was
added, it broke things, but the definition of the macro has changed not
to rely on parts of the linker script that aren't present on Blackfin.

I also noticed that _l2_lma_start does not point into the kernel image,
but rather somewhere in L1/L2 space, which seems unintended.  Also, when
the L2 section was added to the linker script, the part following it which
computes then length of the init section was not updated.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:39 +08:00
..
boot kbuild: use KECHO convenience echo 2008-12-03 21:32:01 +01:00
configs Blackfin arch: use physmap in board resources rather than legacy config method 2008-11-18 17:48:22 +08:00
include/asm Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
kernel Blackfin arch: fix bugs in linker script when using upstream binutils 2009-01-07 23:14:39 +08:00
lib Blackfin arch: move EXPORT_SYMBOL to the place where it is actually defined 2008-10-28 11:07:15 +08:00
mach-bf518 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-bf527 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-bf533 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-bf537 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-bf538 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-bf548 Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00
mach-bf561 Blackfin arch: gpio.h split into machine subfolders like already done for BF54x 2009-01-07 23:14:39 +08:00
mach-common Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00
mm Blackfin arch: fix unused warning for some blackfin derivatives 2008-11-18 17:48:22 +08:00
oprofile Blackfin arch: SMP supporting patchset: Blackfin header files and machine common code 2009-01-07 23:14:39 +08:00
Kconfig Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00
Kconfig.debug Blackfin arch: Add optional verbose debug 2008-10-10 18:13:21 +08:00
Makefile Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00