GNU Binutils with patches for OS216
修订版 | 630dfe9a3683d0246d81261aa60c00c543c85610 (tree) |
---|---|
时间 | 2002-07-20 13:24:21 |
作者 | Jason Thorpe <thorpej@netb...> |
Commiter | Jason Thorpe |
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
DT_PLTGOT into the dynamic section if there is a PLT.
@@ -1,3 +1,8 @@ | ||
1 | +2002-07-20 Jason Thorpe <thorpej@wasabisystems.com> | |
2 | + | |
3 | + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert | |
4 | + DT_PLTGOT into the dynamic section if there is a PLT. | |
5 | + | |
1 | 6 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2 | 7 | |
3 | 8 | * configure.in: Set is_release=y for 2.12.1 release. |
@@ -3237,12 +3237,10 @@ elf64_alpha_size_dynamic_sections (output_bfd, info) | ||
3237 | 3237 | return false; |
3238 | 3238 | } |
3239 | 3239 | |
3240 | - if (!add_dynamic_entry (DT_PLTGOT, 0)) | |
3241 | - return false; | |
3242 | - | |
3243 | 3240 | if (relplt) |
3244 | 3241 | { |
3245 | - if (!add_dynamic_entry (DT_PLTRELSZ, 0) | |
3242 | + if (!add_dynamic_entry (DT_PLTGOT, 0) | |
3243 | + || !add_dynamic_entry (DT_PLTRELSZ, 0) | |
3246 | 3244 | || !add_dynamic_entry (DT_PLTREL, DT_RELA) |
3247 | 3245 | || !add_dynamic_entry (DT_JMPREL, 0)) |
3248 | 3246 | return false; |