From 54101cf327b7def90636babbadbb66ce697298ee Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 13 Sep 2020 18:29:53 -0400 Subject: making elf loader zero bss sections --- src/user/include/knob/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/user/include') diff --git a/src/user/include/knob/format.h b/src/user/include/knob/format.h index 89402c0..d55036c 100644 --- a/src/user/include/knob/format.h +++ b/src/user/include/knob/format.h @@ -5,8 +5,8 @@ #include bool try_sntoi(const char *s, uint32_t n, uint32_t *out); -void itosz(uint32_t i, char *out); -void itosz_h8(uint8_t i, char *out); -void itosz_h32(uint32_t i, char *out); +void itosz(uint32_t i, char *out) __attribute__ ((access (write_only, 2))); +void itosz_h8(uint8_t i, char *out) __attribute__ ((access (write_only, 2))); +void itosz_h32(uint32_t i, char *out) __attribute__ ((access (write_only, 2))); #endif \ No newline at end of file -- cgit v1.2.3