During investigation about FreeBsd scripts I found that few of them uses
'extern' keyword. This patch just reads all globals inside as regular ones.
Note: I downloaded FreeBsd sources and tried to link with every *.map file in batch mode,
some of them are not script files, so I had to skip them manually.
Seems that this one in combination with D21556 allows to parse all available
FreeBsd version scripts.