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