Changeset a6dffb8 in mainline for uspace/lib/c/rtld/include
- Timestamp:
- 2011-04-28T18:56:01Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b40a3b6
- Parents:
- b678410
- Location:
- uspace/lib/c/rtld/include
- Files:
-
- 1 edited
- 1 moved
-
rtld.h (modified) (1 diff)
-
rtld_debug.h (moved) (moved from uspace/app/dload/include/start.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/rtld/include/rtld.h
rb678410 ra6dffb8 42 42 #include <module.h> 43 43 44 /* Define to enable debugging mode. */45 #undef RTLD_DEBUG46 47 #ifdef RTLD_DEBUG48 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__)49 #else50 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__)51 #endif52 53 44 typedef struct { 54 45 elf_dyn_t *rtld_dynamic; -
uspace/lib/c/rtld/include/rtld_debug.h
rb678410 ra6dffb8 27 27 */ 28 28 29 /** @addtogroup init29 /** @addtogroup generic 30 30 * @{ 31 31 */ 32 /** 33 * @file 32 /** @file 34 33 */ 35 34 36 #ifndef _DLOAD_START_H37 #define _DLOAD_START_H35 #ifndef RTLD_DEBUG_H_ 36 #define RTLD_DEBUG_H_ 38 37 39 void program_run(void *entry, pcb_t *pcb); 38 #include <sys/types.h> 39 #include <adt/list.h> 40 41 #include <dynamic.h> 42 #include <module.h> 43 44 /* Define to enable debugging mode. */ 45 #undef RTLD_DEBUG 46 47 #ifdef RTLD_DEBUG 48 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__) 49 #else 50 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__) 51 #endif 40 52 41 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
