X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fgenesis.lisp;h=9dec38505916acb4c50bc37e7add0847223beb05;hb=d83c8a160b4215cfc5379dd4fb70c9589a428ae0;hp=fc8fed26d5df3958e7324c17185c815f2de76605;hpb=d2054d96f0c8200decf8b6b8560d754d3c541cd7;p=sbcl.git diff --git a/src/compiler/generic/genesis.lisp b/src/compiler/generic/genesis.lisp index fc8fed2..9dec385 100644 --- a/src/compiler/generic/genesis.lisp +++ b/src/compiler/generic/genesis.lisp @@ -2594,7 +2594,7 @@ core and return a descriptor to it." (dolist (line '("This is a machine-generated file. Please do not edit it by hand." "(As of sbcl-0.8.14, it came from WRITE-CONFIG-H in genesis.lisp.)" - "" + nil "This file contains low-level information about the" "internals of a particular version and configuration" "of SBCL. It is used by the C compiler to create a runtime" @@ -2602,7 +2602,7 @@ core and return a descriptor to it." "operating system's native format, which can then be used to" "load and run 'core' files, which are basically programs" "in SBCL's own format.")) - (format t " * ~A~%" line)) + (format t " *~@[ ~A~]~%" line)) (format t " */~%")) (defun write-config-h () @@ -2746,7 +2746,7 @@ core and return a descriptor to it." ((< value cutoff) "~D") (t - "LISPOBJ(~D)"))) + "LISPOBJ(~DU)"))) value) (format t " /* 0x~X */~@[ /* ~A */~]~%" value doc)))) (terpri)) @@ -2821,7 +2821,9 @@ core and return a descriptor to it." (defun write-structure-object (dd) (flet ((cstring (designator) - (substitute #\_ #\- (string-downcase (string designator))))) + (substitute + #\_ #\% + (substitute #\_ #\- (string-downcase (string designator)))))) (format t "#ifndef LANGUAGE_ASSEMBLY~2%") (format t "struct ~A {~%" (cstring (dd-name dd))) (format t " lispobj header;~%") @@ -3289,7 +3291,11 @@ initially undefined function references:~2%") (format t "~&#include \"~A.h\"~%" (string-downcase (string (sb!vm:primitive-object-name obj))))))) - (dolist (class '(hash-table layout)) + (dolist (class '(hash-table + layout + sb!c::compiled-debug-info + sb!c::compiled-debug-fun + sb!xc:package)) (out-to (string-downcase (string class)) (write-structure-object