diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/libmach/symdwarf.c | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/libmach/symdwarf.c')
-rw-r--r-- | src/libmach/symdwarf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libmach/symdwarf.c b/src/libmach/symdwarf.c index 4552b034..49a66dad 100644 --- a/src/libmach/symdwarf.c +++ b/src/libmach/symdwarf.c @@ -79,7 +79,7 @@ top: name, unit, tref); return 0; } - + if(ds.attrs.have.bytesize) return ds.attrs.bytesize; @@ -230,7 +230,7 @@ dwarftosym(Fhdr *fp, Dwarf *d, DwarfSym *ds, Symbol *s, int infn) { DwarfBuf buf; DwarfBlock b; - + memset(s, 0, sizeof *s); s->u.dwarf.uoff = ds->uoff; s->u.dwarf.unit = ds->unit; @@ -356,7 +356,7 @@ dwarfeval(Dwarf *d, Map *map, Regs *regs, ulong cfa, int rno, DwarfExpr e, u64in if(rget(regs, regname(d, e.reg), &uu) < 0) return -1; if(get4(map, uu+e.offset, &u4) < 0) - return -1; + return -1; *u = u4; return 0; case RuleLocation: @@ -465,4 +465,3 @@ err: free(e); return -1; } - |