forked from robertapengelly/ld86
-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.h
17 lines (13 loc) · 810 Bytes
/
map.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/******************************************************************************
* @file map.h
*****************************************************************************/
#ifndef _MAP_H
#define _MAP_H
void add_map_object (const char *filename, uint32_t a_bss, uint32_t a_data, uint32_t a_text);
void add_map_bss_symbol (const char *filename, const char *symname, uint32_t value);
void add_map_data_symbol (const char *filename, const char *symname, uint32_t value);
void add_map_text_symbol (const char *filename, const char *symname, uint32_t value);
void generate_map (void);
void set_map_sections_size (uint32_t text_size, uint32_t data_size, uint32_t bss_size);
void set_map_sections_start (uint32_t text_start, uint32_t data_start, uint32_t bss_start);
#endif /* _MAP_H */