e902126cae
Add a number of small test that check whether accessing unaligned addresses in various ways leads to a specification exception. Run these test both in softmmu and user configurations; expect a PGM in one case and SIGILL in the other. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230316164428.275147-13-iii@linux.ibm.com> [thuth: Added -Wl,--build-id=none to LDFLAGS] Signed-off-by: Thomas Huth <thuth@redhat.com>
21 lines
235 B
Plaintext
21 lines
235 B
Plaintext
/*
|
|
* Linker script for the softmmu test kernels.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS {
|
|
. = 0;
|
|
|
|
.text : {
|
|
*(.head)
|
|
*(.text)
|
|
}
|
|
|
|
/DISCARD/ : {
|
|
*(*)
|
|
}
|
|
}
|