criu/pie
Saied Kazemi 8d8d638454 pie: Fix pie.lds.S.in script to work with the gold linker
The pie.lds.S.in needs two minor changes to work with the gold (/usr/bin/gold)
linker. These changes are compatible with /usr/bin/ld and make linker script
more portable.

The first change is adding a comma before /DISCARD/ so that the grammar
won't be ambiguous. A Otherwise, gold treats it as a part of the assignment
and would generate a syntax error about the "unexpected ':'".

The second change is moving initialization of __export_parasite_args
to inside the SECTIONS command because it references the dot symbol.
Otherwise, gold would generate the error "invalid reference to dot
symbol outside of SECTIONS clause.

Signed-off-by: Saied Kazemi <saied@google.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-03-11 22:15:02 +04:00
..
log-simple.c plugin: allow to use logging function in plugins 2013-12-18 21:52:12 +04:00
Makefile Add ability to compile program with gprof output 2014-02-21 23:44:37 +04:00
parasite.c pie: add EOL in the error message 2014-01-23 13:24:33 +04:00
pie.lds.S.in pie: Fix pie.lds.S.in script to work with the gold linker 2014-03-11 22:15:02 +04:00
restorer.c space-before-tab whitespace cleanup 2013-12-12 10:00:53 +04:00
util-fd.c headers: Drop SCM_MAX_FD internal variable 2013-11-14 22:13:32 +04:00
util.c headers: Move fcntl related data to include/fcntl.h 2013-11-14 22:13:10 +04:00