genode/repos/base/src/lib/ldso/linux-32.ld

21 lines
482 B
Plaintext

/**
* \brief Linker script for Linux
* \author Sebastian Sumpf
* \date 2015-12-08
*
* On Linux 32 bit, we remove the ".text.crt0" section because it contains a
* text relocation and is not used as startup code for the dynamic linker.
*/
/*
* Copyright (C) 2009-2015 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
SECTIONS
{
/DISCARD/ : { *(.text.crt0) }
}