From 176be9adaddaf3ff48d3cb046e221b3984c6725e Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Fri, 7 Jan 2011 16:25:05 +0000 Subject: DC: Ensure creation of output sections .{c,d}tors Add an object with an empty .ctors and .dtors section to the build of each plugin. This ensures that there will be an output section .ctors and one .dtors in the output file (they could be empty though). If these output sections were to be removed, the symbols defined inside by the linker script could disappear as well, and we don't want that. svn-id: r55149 --- backends/platform/dc/plugin_head.S | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 backends/platform/dc/plugin_head.S (limited to 'backends/platform/dc') diff --git a/backends/platform/dc/plugin_head.S b/backends/platform/dc/plugin_head.S new file mode 100644 index 0000000000..6cbe9eec85 --- /dev/null +++ b/backends/platform/dc/plugin_head.S @@ -0,0 +1,6 @@ + + .section .ctors,"aw",@progbits + .section .dtors,"aw",@progbits + + .end + -- cgit v1.2.3