[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/22971] RFE: Support <xi:include> for managing abixml documents.
https://sourceware.org/bugzilla/show_bug.cgi?id=22971
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
Example of what I'm thinking about:
abi/x86_64/libc.so.6.abi.xml
<abi-corpus path='./lib64/libc-2.27.9000.so' architecture='elf-amd-x86_64'
soname='libc.so.6'>
<elf-needed>
<dependency name='ld-linux-x86-64.so.2'/>
</elf-needed>
<elf-function-symbols>
...
</elf-function-symbols>
<!-- Include new elf function symbols in downstream. -->
<xi:include href="../final-abi/x86_64/libc.so.6.efs.abi.xml"/>
...
</abi-corpus>
final-abi/x86_64/libc.so.6.efs.abi.xml
<elf-function-symbols>
... List of all new elf function symbols
</elf-functions-symbols>
Delta file suggestion:
abi/x86_64/libc.so.6.abi.xml
<abi-corpus path='./lib64/libc-2.27.9000.so' architecture='elf-amd-x86_64'
soname='libc.so.6'>
<elf-needed>
<dependency name='ld-linux-x86-64.so.2'/>
</elf-needed>
<elf-function-symbols>
...
</elf-function-symbols>
...
</abi-corpus>
final-abi/x86_64/libc.so.6.abi.xml
<abi-corpus path='./lib64/libc-2.28.so' architecture='elf-amd-x86_64'
soname='libc.so.6'>
<!-- Include baseline upstream corpus. -->
<xi:include href="../abi/x86_64/libc.so.6.abi.xml"/>
<elf-needed>
<dependency name='ld-linux-x86-64.so.2'/>
</elf-needed>
<elf-function-symbols>
...
<!-- The following symbols are removed from the baseline. -->
<elf-symbol-removed name='_IO_2_1_stderr_' size='224' version='GLIBC_2.2.5'
is-default-version='yes' type='object-type' binding='global-binding'
visibility='default-visibility' is-defined='yes'/>
</elf-function-symbols>
...
</abi-corpus>
* Requires support for nested <abi-corpus>
* Requires support for override/deltion of ABI elements.
--
You are receiving this mail because:
You are on the CC list for the bug.