coreboot-kgpe-d16/util/lint
Benjamin Barenblat 82ef8ada82 src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy
Rewrite inline assembly for ARMv7+ to correctly annotate inputs and
outputs.  On ARM GCC 6.1.1, this causes assembly output to change from
the incorrect

	@ r0 is allocated to hold dst and x0
	@ r1 is allocated to hold src and x1
	ldr r0, [r1]		@ clobbers dst!
	ldr r1, [r1, #4]
	str r0, [r0]
	str r1, [r0, #4]

to the correct

	@ r0 is allocated to hold dst
	@ r1 is allocated to hold src and x1
	@ r3 is allocated to hold x0
	ldr r3, [r1]
	ldr r1, [r1, #4]
	str r3, [r0]
	str r1, [r0, #4]

Also modify checkpatch.pl to ignore spaces before opening brackets when
used in inline assembly.

Change-Id: I255995f5e0a7b1a95375258755a93972c51d79b8
Signed-off-by: Benjamin Barenblat <bbaren@google.com>
Reviewed-on: https://review.coreboot.org/15216
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-06-24 19:10:05 +02:00
..
check_lint_tests lint/check_lint_tests: Add script that will break all stable tests 2016-04-10 18:13:01 +02:00
checkpatch.pl src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
kconfig_lint kconfig_lint: make sure if and endif statements are balanced 2016-03-03 20:42:49 +01:00
kconfig_lint_README kconfig_lint: demote 'always defined' errors to warnings 2016-02-09 21:52:45 +01:00
lint lint: properly terminate junit report on error 2015-11-19 16:13:50 +01:00
lint-000-license-headers util/lint: update lint-000-license-headers 2016-04-13 17:37:53 +02:00
lint-001-no-global-config-in-romstage tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-007-checkpatch lint: rename lint-006-checkpatch because board name is lint-006 2016-01-12 22:32:16 +01:00
lint-008-kconfig kconfig_lint: update kconfig lint shell scripts 2016-02-10 17:17:56 +01:00
lint-014-qualified-types util/lint: Find unsigned variables with no length specified 2016-04-21 23:13:09 +02:00
lint-stable-000-license-headers lint: Add check for amd & apple mainboard license headers 2016-04-21 23:07:31 +02:00
lint-stable-003-whitespace tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-stable-004-style-labels lint/lint-stable-004-style-labels: Update script 2016-04-13 02:11:28 +02:00
lint-stable-005-board-status lint: Update board status script to look at the whole tree 2016-03-29 23:30:47 +02:00
lint-stable-006-board-name lint: Add check for new board name scheme 2015-04-18 08:31:36 +02:00
lint-stable-008-kconfig lint-kconfig: pipe stderr to stdout to catch script errors 2016-03-05 15:40:31 +01:00
lint-stable-009-old-licenses util/lint: Fix linter for old license headers 2016-01-21 12:31:53 +01:00
lint-stable-010-asm-syntax lint: test for assembler dialect switches 2016-02-07 00:36:46 +01:00
lint-stable-012-executable-bit lint: Add a check for the executable bit being set on source code 2016-01-30 03:23:44 +01:00
lint-stable-013-site-local lint: Make sure site-local isn't committed to coreboot repo 2016-02-16 22:47:39 +01:00
remccoms3.sed
spelling.txt Add Linux kernel's checkpatch.pl script 2015-02-11 19:53:53 +01:00