diff --git a/examples/C/sum_mixed/sum_mixed b/examples/C/sum_mixed/sum_mixed
deleted file mode 100755
index 5e4c7a354..000000000
Binary files a/examples/C/sum_mixed/sum_mixed and /dev/null differ
diff --git a/examples/asm/example/Makefile b/examples/asm/example/Makefile
index 0cb8448fd..0828638ff 100644
--- a/examples/asm/example/Makefile
+++ b/examples/asm/example/Makefile
@@ -1,9 +1,9 @@
 example.objdump: example
 	riscv64-unknown-elf-objdump -D example > example.objdump
     
-example: example.S
+example: example.S Makefile
 	riscv64-unknown-elf-gcc -o example -march=rv32i -mabi=ilp32 -mcmodel=medany \
-	    -nostartfiles -nostdlib -T../../link/link.ld  example.S
+	    -nostartfiles -T../../link/link.ld  example.S
 
 clean:
 	rm -f example example.objdump
diff --git a/examples/asm/sumtest/Makefile b/examples/asm/sumtest/Makefile
index 371444b89..ba7734ca1 100644
--- a/examples/asm/sumtest/Makefile
+++ b/examples/asm/sumtest/Makefile
@@ -3,7 +3,7 @@ TARGET = sumtest
 $(TARGET).objdump: $(TARGET)
 	riscv64-unknown-elf-objdump -D $(TARGET) > $(TARGET).objdump
     
-$(TARGET): $(TARGET).S sum.S
+$(TARGET): $(TARGET).S sum.S Makefile
 	riscv64-unknown-elf-gcc -g -o $(TARGET) -march=rv64gc -mabi=lp64 -mcmodel=medany \
 	    -nostartfiles -T../../link/link.ld $(TARGET).S sum.S
 
diff --git a/examples/link/link.ld b/examples/link/link.ld
index 15d36f156..d84c332a1 100644
--- a/examples/link/link.ld
+++ b/examples/link/link.ld
@@ -4,7 +4,7 @@ ENTRY(rvtest_entry_point)
 SECTIONS
 {
   . = 0x80000000;
-  .text : { *(.text) }
+  .text : { *(.text.init) }
   . = ALIGN(0x1000);
   .tohost : { *(.tohost) }
   . = ALIGN(0x1000);