OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * This is a custom linker script used to build nacl_helper_bootstrap. | 5 * This is a custom linker script used to build nacl_helper_bootstrap. |
6 * It has a very special layout. This script will only work with input | 6 * It has a very special layout. This script will only work with input |
7 * that is kept extremely minimal. If there are unexpected input sections | 7 * that is kept extremely minimal. If there are unexpected input sections |
8 * not named here, the result will not be correct. | 8 * not named here, the result will not be correct. |
9 * | 9 * |
10 * We need to use a standalone loader program rather than just using a | 10 * We need to use a standalone loader program rather than just using a |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 /* | 124 /* |
125 * These are empty input sections the linker generates. | 125 * These are empty input sections the linker generates. |
126 * If we don't discard them, they pollute the flags in the output segment. | 126 * If we don't discard them, they pollute the flags in the output segment. |
127 */ | 127 */ |
128 /DISCARD/ : { | 128 /DISCARD/ : { |
129 *(.iplt) | 129 *(.iplt) |
130 *(.rel*) | 130 *(.rel*) |
131 *(.igot.plt) | 131 *(.igot.plt) |
132 } | 132 } |
133 } | 133 } |
OLD | NEW |