install runtime lib in correct location.
fix one bad type definition in defs.h.
clear out $GOROOT/lib in clean.bash.
TBR=r
OCL=26691
CL=26691
# license that can be found in the LICENSE file.
rm -f $GOROOT/pkg/*.[6a]
+rm -f $GOROOT/lib/*.[6a]
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
do
cd $i
mfixalloc.$O\
mgc0.$O\
mheap.$O\
+ mheapmap64.$O\
msize.$O\
print.$O\
proc.$O\
$(GOOS)/$(GOARCH)/defs.h\
install: $(LIB) runtime.acid
- cp $(LIB) $(GOROOT)/lib_$(GOARCH)_$(GOOS).a
+ cp $(LIB) $(GOROOT)/lib/lib_$(GOARCH)_$(GOOS).a
cp runtime.acid $(GOROOT)/acid/runtime.acid
$(LIB): $(OFILES)
struct MachPort {
uint32 name;
uint32 pad1;
- uint32 pad2;
- uint32 disposition;
- uint32 type;
+ uint16 pad2;
+ uint8 disposition;
+ uint8 type;
};
typedef struct StackT StackT;
r = &mc->ss;
printf("Faulting address: %p\n", info->si_addr);
- printf("PC=%X\n", r->rip);
+ printf("pc: %X\n", r->rip);
printf("\n");
if(gotraceback()){