]> xenbits.xensource.com Git - mini-os.git/commit
Mini-OS: don't use objcopy --dump-section
authorJuergen Gross <jgross@suse.com>
Wed, 6 Dec 2023 16:17:44 +0000 (17:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 7 Dec 2023 18:53:04 +0000 (18:53 +0000)
commit090eeeb1631f00a9a41ebf66d9b4aacb97eb51e7
tree2186c8698182b6fe1bddd503e8a2589e6392fcbc
parent33411a11f848853b6c81a38426faaab303477a31
Mini-OS: don't use objcopy --dump-section

The objcopy option "--dump-section" isn't supported in binutils before
version 2.25, which are still supported by the Xen build system.

Avoid that by using the "-O binary" format together with
"--only-section". This requires to set the "alloc" section flag.

Fixes: 33411a11f848 ("Mini-OS: hide all symbols not exported via EXPORT_SYMBOLS()")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Makefile