Skip to content

Commit

Permalink
Fix break for powerpc64
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Oct 5, 2020
1 parent f77d773 commit 44470cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gen.py
Expand Up @@ -31,6 +31,8 @@ def convert_tbl(out, f):
m = re.match('^(\\d+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)', l)
if m:
nr, abi, name, entrypoint = m.groups()
if name in {'break'}:
name = '_' + name
if abi in abis:
print(name + ' = ' + nr + ',', file=o)
footer(o)
Expand Down
2 changes: 1 addition & 1 deletion src/b32/powerpc.rs
Expand Up @@ -18,7 +18,7 @@ time = 13,
mknod = 14,
chmod = 15,
lchown = 16,
break = 17,
_break = 17,
oldstat = 18,
lseek = 19,
getpid = 20,
Expand Down
2 changes: 1 addition & 1 deletion src/b64/powerpc64.rs
Expand Up @@ -18,7 +18,7 @@ time = 13,
mknod = 14,
chmod = 15,
lchown = 16,
break = 17,
_break = 17,
oldstat = 18,
lseek = 19,
getpid = 20,
Expand Down

0 comments on commit 44470cd

Please sign in to comment.