<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-memb.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-memb.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.6'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-memb.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.8'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-memb.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.8'>
+<!--
+SPDX-FileCopyrightText: 2022 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-bp.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-cds.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-common.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='libpthread.so.0'/>
<dependency name='libc.so.6'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-mb.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-qsbr.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu-signal.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
<abi-corpus architecture='elf-amd-x86_64' soname='liburcu.so.4'>
+<!--
+SPDX-FileCopyrightText: 2021 EfficiOS Inc.
+
+SPDX-License-Identifier: CC0-1.0
+-->
<elf-needed>
<dependency name='liburcu-common.so.4'/>
<dependency name='libpthread.so.0'/>
"--no-corpus-path" # Do not put the path in the abi-corpus
)
+# Older version of the reuse tool are a bit dumb, split the tags string to make
+# it happy.
+spdx="SPDX"
+copyright="FileCopyrightText"
+license="License-Identifier"
+
for lib in "${INDIR}"/liburcu*.so.?
do
abidw "${ARGS[@]}" --out-file "${OUTDIR}/$(basename "$lib").xml" "$lib"
# Clean the full paths
sed -i "s#$(pwd)/##g" "${OUTDIR}/$(basename "$lib").xml"
+
+ # Add SPDX headers
+ sed -i "2 i <!--\n${spdx}-${copyright}: $(date +%Y) EfficiOS Inc.\n\n${spdx}-${license}: CC0-1.0\n-->" "${OUTDIR}/$(basename "$lib").xml"
done