Merge "linker: fix the undefined weak symbols issue"