]> granicus.if.org Git - strace/blob - sram_alloc.c
clone: fix print_tls_arg on x86
[strace] / sram_alloc.c
1 /*
2  * Copyright (c) 2014-2018 The strace developers.
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: LGPL-2.1-or-later
6  */
7
8 #include "defs.h"
9
10 #ifdef BFIN
11
12 # include <bfin_sram.h>
13
14 # include "xlat/sram_alloc_flags.h"
15
16 SYS_FUNC(sram_alloc)
17 {
18         /* size */
19         tprintf("%lu, ", tcp->u_arg[0]);
20         /* flags */
21         printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
22
23         return RVAL_DECODED | RVAL_HEX;
24 }
25
26 #endif /* BFIN */