Permalink
Browse files

upgrade data

  • Loading branch information...
1 parent da0394f commit a407ff751cdc69a1c337ab449043166b1779b823 @comex committed Dec 16, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 data
  2. +2 −2 make.py
  3. BIN mroib/.usb.c.swo
  4. +1 −1 mroib/mroib.c
Submodule data updated 19 files
+23 −0 Makefile
+287 −275 binary.c
+15 −13 binary.h
+4 −3 cc.c
+2 −0 cc.h
+16 −3 common.c
+5 −6 common.h
+2 −1 deplaceholder.c
+69 −3 find.c
+3 −0 find.h
+15 −0 findtest.c
+1 −1 kernel_patcher.c
+153 −0 link.c
+6 −0 link.h
+2 −4 lzss.c
+202 −0 reloc.h
+371 −0 running_kernel.c
+8 −0 running_kernel.h
+78 −473 white_loader.c
View
@@ -90,7 +90,7 @@ def compile_stuff(files, output, ent='', cflags=[], ldflags=[], strip=True, gcc=
run_multiple(['cp', output + '_', output],
['strip', '-Sx', output])
else:
- run(gcc, '-o', output, objs, ldflags)
+ run(gcc, '-o', output, objs, ldflags, '-dead_strip')
def pf2():
goto('pf2')
@@ -103,7 +103,7 @@ def chain():
compile_stuff(['start.s', 'chain.c', 'dt.c', 'stuff.c', 'fffuuu.S', 'putc.S', 'bcopy.s', 'bzero.s', 'what.s'], 'chain-kern.dylib', cflags=cf, ldflags=ldf, strip=False)
compile_stuff(['chain-user.c'], 'chain-user', ldflags=['-framework', 'IOKit', '-framework', 'CoreFoundation'])
-data_files = ['binary.c', 'find.c', 'common.c', 'cc.c', 'lzss.c']
+data_files = ['binary.c', 'find.c', 'common.c', 'cc.c', 'lzss.c', 'running_kernel.c']
def data(gcc=GCC, ldid=True):
goto('data')
View
Binary file not shown.
View
@@ -59,7 +59,7 @@ extern uint32_t serial_putc[];
extern uint32_t serial_getc[];
__attribute__((constructor))
-static void init() {
+void mr_init() {
serial_init[0] = 0xe51ff004;
serial_init[1] = (uint32_t) &mr_setup;
serial_putc[0] = 0x47184b00;

0 comments on commit a407ff7

Please sign in to comment.