Since the shared code now has special status with respect to copyrights, port them into a more structured format in the source tree and add a python function that parses and returns a dictionary with the information.
I need this to exclude these files from the Contributed-by changes and I reckon it would be useful to know these files for future tooling.
04f2125c6e Port shared code information from the wiki
SHARED-FILES | 207 +++++++++++++++++++++++++++++++++++++++++++
scripts/glibc_shared_code.py | 70 +++++++++++++++
2 files changed, 277 insertions(+)