summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/unwind.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: fix unwinding for XIP kernelsSascha Hauer2022-11-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Newer gcc versions generate a warning about accessing an array out of bounds: In function 'search_index', inlined from 'unwind_find_idx' at arch/arm/lib32/unwind.c:109: , inlined from 'unwind_frame' at arch/arm/lib32/unwind.c:248:8: arch/arm/lib32/unwind.c:86:32: warning: array subscript -1 is outside array bounds of 'struct unwind_idx[268435455]' [-Warray-bounds] 86 | } else if (addr >= last->addr) | ~~~~^~~~~~ arch/arm/lib32/unwind.c: In function 'unwind_frame': arch/arm/lib32/unwind.c:46:26: note: at offset -8 into object '__stop_unwind_idx' of size [0, 2147483647] 46 | extern struct unwind_idx __stop_unwind_idx[]; | ^~~~~~~~~~~~~~~~~ This was fixed by accident in the Kernel back in 2011 in de66a979012d ("ARM: 7187/1: fix unwinding for XIP kernels") . Adopt that commit for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20221107111419.722978-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arch/arm/include: Convert to SPDX-License and -Copyright specifiersUwe Kleine-König2020-07-141-15/+4
| | | | | | | | | Converts the files that licensecheck can determine the license for. Also convert to obvious right Copyright statements. Additionally some minor code reformatting is done. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add UNWIND macroSascha Hauer2017-02-081-0/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-3/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add stack unwinding supportSascha Hauer2011-03-101-0/+54
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>