Fixed bug in assembler: incorrect offset of far symbols in LUI instruction.

Added .gitignore files for most subdirs.
This commit is contained in:
Sergey
2014-04-18 01:12:49 -07:00
parent 5c4efd1e44
commit d404fca13a
133 changed files with 478 additions and 2 deletions
+5
View File
@@ -21,5 +21,10 @@
*.i*86
*.x86_64
*.hex
*.dis
*.0
*.img
sdcard.rd
.profile
Makefile.user
+1
View File
@@ -0,0 +1 @@
*
+3
View File
@@ -0,0 +1,3 @@
phones
remote
termcap
+1
View File
@@ -0,0 +1 @@
*
+13
View File
@@ -0,0 +1,13 @@
a.out.h
aout
ar
ar.h
as
ld
nlist.h
nm
ranlib
ranlib.h
retroImage
size
strip
+1
View File
@@ -0,0 +1 @@
*
+1
View File
@@ -0,0 +1 @@
*
+3
View File
@@ -0,0 +1,3 @@
re.help
misc
unixbench
+71
View File
@@ -0,0 +1,71 @@
basename
bc
cal
cat
cb
chgrp
chmod
cmp
col
comm
cp
dd
df
du
echo
ed
egrep
expr
expr.c
false
fgrep
file
grep
head
hostid
iostat
join
kill
last
ln
mail
mesg
mkdir
mv
nice
nohup
od
pagesize
pr
printenv
ps
pwd
rev
rm
rmail
rmdir
size
sleep
sort
split
strip
su
sum
sync
tail
tar
tee
time
touch
tr
true
tsort
tty
uniq
vmstat
w
wall
wc
whereis
who
write
+1
View File
@@ -0,0 +1 @@
adb
+1
View File
@@ -0,0 +1 @@
adc-demo
+1
View File
@@ -0,0 +1 @@
ar
+2
View File
@@ -0,0 +1,2 @@
aout
as
+3 -2
View File
@@ -1278,7 +1278,7 @@ void emit_la (opcode, relinfo)
register unsigned opcode;
register struct reloc *relinfo;
{
register unsigned value;
register unsigned value, hi;
int cval, segment;
if (getlex (&cval) != ',')
@@ -1297,7 +1297,8 @@ void emit_la (opcode, relinfo)
* addiu d, d, %lo(value) */
relinfo->flags |= RHIGH16S;
relinfo->offset = value & 0xffff;
emitword (opcode | 0x3c000000 | (value >> 16), relinfo, (value + 0x8000) >> 16);
hi = (value + 0x8000) >> 16;
emitword (opcode | 0x3c000000 | hi, relinfo, hi);
relinfo->flags &= ~RHIGH16S;
opcode |= 0x24000000 | (opcode & 0x1f0000) << 5 | (value & 0xffff);
+6
View File
@@ -0,0 +1,6 @@
awk
awk.h
proc
proctab.c
token.h
y.tab.h
+2
View File
@@ -0,0 +1,2 @@
basic
renumber
+1
View File
@@ -0,0 +1 @@
cc
+1
View File
@@ -0,0 +1 @@
chflags
+1
View File
@@ -0,0 +1 @@
chown
+1
View File
@@ -0,0 +1 @@
chpass
+1
View File
@@ -0,0 +1 @@
chroot
+1
View File
@@ -0,0 +1 @@
compress
+3
View File
@@ -0,0 +1,3 @@
cpp
y.tab.c
y.tab.h
+2
View File
@@ -0,0 +1,2 @@
cron
crontab
+1
View File
@@ -0,0 +1 @@
date
+1
View File
@@ -0,0 +1 @@
dc
+1
View File
@@ -0,0 +1 @@
devupdate
+2
View File
@@ -0,0 +1,2 @@
diff
diffh
+1
View File
@@ -0,0 +1 @@
disktool
+1
View File
@@ -0,0 +1 @@
env
+1
View File
@@ -0,0 +1 @@
fdisk
+3
View File
@@ -0,0 +1,3 @@
bigram
code
find
+1
View File
@@ -0,0 +1 @@
forth
+1
View File
@@ -0,0 +1 @@
fsck
+1
View File
@@ -0,0 +1 @@
fstat
+1
View File
@@ -0,0 +1 @@
getty
+1
View File
@@ -0,0 +1 @@
glcdtest
+3
View File
@@ -0,0 +1,3 @@
globdump
globread
globwrite
+1
View File
@@ -0,0 +1 @@
hostname
+3
View File
@@ -0,0 +1,3 @@
groups
id
whoami
+1
View File
@@ -0,0 +1 @@
init
+1
View File
@@ -0,0 +1 @@
la
+1
View File
@@ -0,0 +1 @@
lcc
+1
View File
@@ -0,0 +1 @@
lcpp
+1
View File
@@ -0,0 +1 @@
ld
+1
View File
@@ -0,0 +1 @@
login
+1
View File
@@ -0,0 +1 @@
ls
+2
View File
@@ -0,0 +1,2 @@
gram.c
xmake
+2
View File
@@ -0,0 +1,2 @@
apropos
man
+1
View File
@@ -0,0 +1 @@
med
+1
View File
@@ -0,0 +1 @@
mkfs
+1
View File
@@ -0,0 +1 @@
mknod
+1
View File
@@ -0,0 +1 @@
mkpasswd
+1
View File
@@ -0,0 +1 @@
more
+1
View File
@@ -0,0 +1 @@
mount
+1
View File
@@ -0,0 +1 @@
msec
+1
View File
@@ -0,0 +1 @@
nm
+1
View File
@@ -0,0 +1 @@
passwd
+1
View File
@@ -0,0 +1 @@
picoc
+2
View File
@@ -0,0 +1,2 @@
lol
portio
+1
View File
@@ -0,0 +1 @@
printf
+1
View File
@@ -0,0 +1 @@
pstat
+1
View File
@@ -0,0 +1 @@
pwm
+1
View File
@@ -0,0 +1 @@
ranlib
+1
View File
@@ -0,0 +1 @@
rdprof
+1
View File
@@ -0,0 +1 @@
re
+3
View File
@@ -0,0 +1,3 @@
halt
poweroff
reboot
+1
View File
@@ -0,0 +1 @@
renice
+1
View File
@@ -0,0 +1 @@
retroforth
+1
View File
@@ -0,0 +1 @@
scm
+1
View File
@@ -0,0 +1 @@
sed
+1
View File
@@ -0,0 +1 @@
setty
+1
View File
@@ -0,0 +1 @@
sh
+1
View File
@@ -0,0 +1 @@
shutdown
+1
View File
@@ -0,0 +1 @@
sl
+1
View File
@@ -0,0 +1 @@
smallc
+1
View File
@@ -0,0 +1 @@
smlrc
+4
View File
@@ -6,6 +6,10 @@ CFLAGS = -Os -Wall -DMIPS -DNO_ANNOTATIONS -DNO_PREPROCESSOR \
-DNO_PPACK -D_RETROBSD -D__SMALLER_C_SCHAR__ \
-D__SMALLER_C__ -D__SMALLER_C_32__
# For cross compile
#CFLAGS = -Os -Wall -DMIPS -m32
#LDFLAGS = -m32
LIBS = -lc
ARCH = mips
+2
View File
@@ -27,6 +27,7 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/
#ifndef __APPLE__
/*****************************************************************************/
/* */
/* minimal stdlibc */
@@ -1397,3 +1398,4 @@ int fclose(FILE* stream)
--__FileCnt__;
return OsClose(fd);
}
#endif /*__APPLE__*/
+1
View File
@@ -0,0 +1 @@
smux
+1
View File
@@ -0,0 +1 @@
smux
+1
View File
@@ -0,0 +1 @@
stty
+1
View File
@@ -0,0 +1 @@
sysctl
+1
View File
@@ -0,0 +1 @@
talloc
+1
View File
@@ -0,0 +1 @@
test
+1
View File
@@ -0,0 +1 @@
tip
+1
View File
@@ -0,0 +1 @@
umount
+1
View File
@@ -0,0 +1 @@
uname
+20
View File
@@ -0,0 +1,20 @@
arithoh
context1
dhry2
dhry2reg
double
execl
float
fsbuffer
fsdisk
fstime
hanoi
int
long
looper
pipe
register
short
spawn
syscall
whetstone-double
+1
View File
@@ -0,0 +1 @@
update
+13
View File
@@ -0,0 +1,13 @@
uucico
uuclean
uucp
uudecode
uuencode
uulog
uuname
uupoll
uuq
uusend
uusnap
uux
uuxqt
+1
View File
@@ -0,0 +1 @@
vipw
+1
View File
@@ -0,0 +1 @@
virus
+5
View File
@@ -0,0 +1,5 @@
chat-server
ntpdate
telnet
web-client
web-server
+1
View File
@@ -0,0 +1 @@
xargs
+2
View File
@@ -0,0 +1,2 @@
rz
sz
+15
View File
@@ -0,0 +1,15 @@
arithmetic
banner
bcd
canfield
cfscores
factor
fish
morse
number
ppt
primes
rain
worm
worms
wump
+1
View File
@@ -0,0 +1 @@
adventure
+2
View File
@@ -0,0 +1,2 @@
backgammon
teachgammon
+6
View File
@@ -0,0 +1,6 @@
_dayfile.c
_globals.c
_nightfile.c
battle_strings
battlestar
mkstr

Some files were not shown because too many files have changed in this diff Show More