diff --git a/cpukit/libdebugger/rtems-debugger-microblaze.c b/cpukit/libdebugger/rtems-debugger-microblaze.c index 71b11dd9f6..e84d19ed1d 100644 --- a/cpukit/libdebugger/rtems-debugger-microblaze.c +++ b/cpukit/libdebugger/rtems-debugger-microblaze.c @@ -391,6 +391,8 @@ static void target_printk( const char *format, ... ) static int microblaze_debug_probe( rtems_debugger_target *target ) { + (void) target; + uint32_t msr; uint32_t pvr0; uint32_t pvr3; @@ -482,6 +484,8 @@ int rtems_debugger_target_configure( rtems_debugger_target *target ) static void target_print_frame( CPU_Exception_frame *frame ) { + (void) frame; + EXC_FRAME_PRINT( target_printk, "[} ", frame ); } @@ -602,6 +606,8 @@ static bool tid_is_excluded( const rtems_id tid ) static void mb_thread_switch( Thread_Control *executing, Thread_Control *heir ) { + (void) executing; + if ( tid_is_excluded( heir->Object.id ) == true ) { rtems_debugger_target_swbreak_remove(); return; @@ -1374,6 +1380,11 @@ int rtems_debugger_target_hwbreak_control( DB_UINT kind ) { + (void) wp; + (void) insert; + (void) addr; + (void) kind; + return 0; } diff --git a/cpukit/libdl/rtl-mdreloc-microblaze.c b/cpukit/libdl/rtl-mdreloc-microblaze.c index 0956e22bc7..9ff920f5c7 100644 --- a/cpukit/libdl/rtl-mdreloc-microblaze.c +++ b/cpukit/libdl/rtl-mdreloc-microblaze.c @@ -135,6 +135,9 @@ rtems_rtl_elf_reloc_rela (rtems_rtl_obj* obj, const Elf_Byte syminfo, const Elf_Word symvalue, const bool parsing) { + (void) symname; + (void) syminfo; + Elf_Word *where; Elf_Word addend = (Elf_Word)rela->r_addend; Elf_Addr target; @@ -276,6 +279,14 @@ rtems_rtl_elf_relocate_rel (rtems_rtl_obj* obj, const char* symname, const Elf_Byte syminfo, const Elf_Word symvalue) { + + (void) obj; + (void) rel; + (void) sect; + (void) symname; + (void) syminfo; + (void) symvalue; + rtems_rtl_set_error (EINVAL, "rel type record not supported"); return rtems_rtl_elf_rel_failure; } diff --git a/cpukit/score/cpu/microblaze/cpu.c b/cpukit/score/cpu/microblaze/cpu.c index 823825d2b1..f733077f4d 100644 --- a/cpukit/score/cpu/microblaze/cpu.c +++ b/cpukit/score/cpu/microblaze/cpu.c @@ -60,6 +60,9 @@ void _CPU_Context_Initialize( void *tls_area ) { + (void) new_level; + (void) is_fp; + uint32_t stack = (uint32_t) stack_area_begin; uint32_t stack_high = stack + stack_area_size; @@ -173,6 +176,8 @@ void _CPU_ISR_install_vector( void *_CPU_Thread_Idle_body( uintptr_t ignored ) { + (void) ignored; + while ( true ) { } }