Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: process for updating library expected symbols
> From: Brett Lymn <blymn%internode.on.net@localhost>
> Date: Tue, 3 Dec 2024 11:29:52 +1030
>
> I am adding a new function to a library and I am just wondering what the
> process is for updating the expected symbols file? Is this a manual
> process?
You can review the changes to make sure they make sense, and then use
`make update-symbols' to update the .expsym file in your source tree.
(If your NETBSDSRCDIR is a read-only null mount of a read/write tree,
you can still use `make update-symbols' by setting NETBSDSRCDIR_RW to
the path to the read/write tree.)
> I also have found that there are these symbols that are
> missing:
>
> _end
> _fini
> _init
This probably arises from having generated the .actsym file with an
older bsd.lib.mk, from when it failed to filter those symbols out.
Just delete the .actsym file in your objdir (you can nuke all files
matching *.actsym -- they're cheap to recreate) and try again.
If you're still getting _end/_fini/_init after deleting any existing
.actsym and updating bsd.lib.mk, let me know.
Home |
Main Index |
Thread Index |
Old Index