| 1 | 2015-07-24 Nick Clifton <nickc@redhat.com> |
| 2 | |
| 3 | * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for |
| 4 | the _-rl78_abs__ symbol. |
| 5 | |
| 6 | 2015-07-20 Alan Modra <amodra@gmail.com> |
| 7 | |
| 8 | * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define. |
| 9 | (INIT_START, FINI_START): Don't ALIGN. |
| 10 | * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR. |
| 11 | |
| 12 | 2015-07-20 Alan Modra <amodra@gmail.com> |
| 13 | |
| 14 | * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot. |
| 15 | * ldexp.c (is_align_conditional): Handle binary ALIGN. |
| 16 | (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to |
| 17 | dot inside output sections. Handle absolute expressions. |
| 18 | |
| 19 | 2015-07-14 H.J. Lu <hongjiu.lu@intel.com> |
| 20 | |
| 21 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make |
| 22 | --compress-debug-sections=zlib the same as |
| 23 | --compress-debug-sections=zlib-gabi. |
| 24 | * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi. |
| 25 | |
| 26 | 2015-07-14 Nick Clifton <nickc@redhat.com> |
| 27 | |
| 28 | * ld.texinfo (Options): Add missing period after @xref. |
| 29 | |
| 30 | 2015-07-10 Alan Modra <amodra@gmail.com> |
| 31 | |
| 32 | * ldexp.c (align_dot_val): New function. |
| 33 | (fold_unary <ALIGN_K, NEXT>): Use it. |
| 34 | |
| 35 | 2015-07-03 Kai Tietz <ktietz@redhat.com> |
| 36 | |
| 37 | PR ld/11539 |
| 38 | * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*, |
| 39 | .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr, |
| 40 | .eh_frame, .pdata. .xdata, and .gcc_except_table sections |
| 41 | as KEEP. |
| 42 | * scripttempl/pe.sc: Likewise. |
| 43 | * ld.texinfo: Document that --gc-sections has experimental support |
| 44 | for COFF and PE targets. |
| 45 | * NEWS: Mention experimental support. |
| 46 | |
| 47 | 2015-07-03 Alan Modra <amodra@gmail.com> |
| 48 | |
| 49 | * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS. |
| 50 | * Makefile.in: Regenerate. |
| 51 | |
| 52 | 2015-06-28 H.J. Lu <hongjiu.lu@intel.com> |
| 53 | |
| 54 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): |
| 55 | Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. |
| 56 | |
| 57 | 2015-06-26 H.J. Lu <hongjiu.lu@intel.com> |
| 58 | |
| 59 | * emulparams/elf_iamcu.sh (COMPILE_IN): New. |
| 60 | |
| 61 | 2015-06-15 Nick Clifton <nickc@redhat.com> |
| 62 | |
| 63 | PR ld/18466 |
| 64 | * emultempl/pe.em (pe_find_data_imports): Generate an error if a |
| 65 | symbol name is too long to handle. |
| 66 | * emultempl/pep.em (pep_find_data_imports): Likewise. |
| 67 | |
| 68 | 2015-06-12 Tristan Gingold <gingold@adacore.com> |
| 69 | |
| 70 | * NEWS: Mention new option. |
| 71 | * lexsup.c (parse_args): Handle --print-memory-usage. |
| 72 | (ld_options): Add --print-memory-usage. |
| 73 | * ldmain.c (main): Call lang_print_memory_usage. |
| 74 | * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE. |
| 75 | * ldlang.h: Add prototype of lang_print_memory_usage. |
| 76 | * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New |
| 77 | functions. |
| 78 | * ld.texinfo (Options): Document --print-memory-usage. |
| 79 | * ld.h (args_type): Add print_memory_usage field. |
| 80 | |
| 81 | 2015-06-08 Nick Clifton <nickc@redhat.com> |
| 82 | |
| 83 | * po/fr.po: Updated French Translation. |
| 84 | |
| 85 | 2015-05-28 Catherine Moore <clm@codesourcery.com> |
| 86 | Paul Brook <paul@codesourcery.com> |
| 87 | |
| 88 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): |
| 89 | Add Compact EH support. |
| 90 | * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab |
| 91 | sections. |
| 92 | |
| 93 | 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com> |
| 94 | |
| 95 | * configure.ac (AC_PROG_GREP): Check for grep program. |
| 96 | (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options): |
| 97 | Enable ELF option printing for emulations containing |
| 98 | 'TEMPLATE_NAME=elf32'. |
| 99 | * configure: Regenerate. |
| 100 | |
| 101 | 2015-05-14 Nick Clifton <nickc@redhat.com> |
| 102 | |
| 103 | * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd |
| 104 | symbols. |
| 105 | |
| 106 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
| 107 | |
| 108 | * configure.tgt: Support i[3-7]86-*-elfiamcu target. |
| 109 | |
| 110 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
| 111 | |
| 112 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. |
| 113 | (eelf_iamcu.c): New. |
| 114 | * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is |
| 115 | enabled in BFD. |
| 116 | * Makefile.in: Regenerated. |
| 117 | * emulparams/elf_iamcu.sh: New file. |
| 118 | |
| 119 | 2015-05-05 Nick Clifton <nickc@redhat.com> |
| 120 | |
| 121 | * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. |
| 122 | * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. |
| 123 | (.data): Add .lower.data and .either.data. |
| 124 | (.bss): Add .lower.bss and .either.bss. |
| 125 | (.rodata): Add .lower.rodata and .either.rodata. |
| 126 | * emultempl/msp430.em: New file. Implements a new orphan |
| 127 | placement algorithm that divides sections between lower and upper |
| 128 | memory regions. |
| 129 | * Makefile.am (emsp430elf.c): Depend upon msp430.em. |
| 130 | *emsp430X.c): Likewise. |
| 131 | * Makefine.in: Regenerate. |
| 132 | |
| 133 | 2015-04-28 Andreas Schwab <schwab@linux-m68k.org> |
| 134 | |
| 135 | PR ld/18344 |
| 136 | * ldlex.l (INPUTLIST): Increment lineno on newline. |
| 137 | |
| 138 | 2015-04-24 Alan Modra <amodra@gmail.com> |
| 139 | |
| 140 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): |
| 141 | Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out. |
| 142 | |
| 143 | 2015-04-24 DJ Delorie <dj@redhat.com> |
| 144 | |
| 145 | * Makefile.am (msp430): Rename primary emulation to msp430elf. |
| 146 | (emsp430.c): Rename to emsp430elf.c, update dependencies |
| 147 | (emsp430X.c): Update dependencies. |
| 148 | * Makefile.in: Likewise. |
| 149 | * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. |
| 150 | * emulparams/msp430.sh: Rename to msp430elf.sh. |
| 151 | * emulparams/msp430X.sh: Update. |
| 152 | |
| 153 | 2015-04-23 H.J. Lu <hongjiu.lu@intel.com> |
| 154 | |
| 155 | PR binutils/18209 |
| 156 | * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1. |
| 157 | |
| 158 | 2015-04-23 Alan Modra <amodra@gmail.com> |
| 159 | |
| 160 | * emulparams/elf64ppc.sh (GOT): Align. |
| 161 | |
| 162 | 2015-04-22 Alan Modra <amodra@gmail.com> |
| 163 | |
| 164 | * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add |
| 165 | data_seg.relro_offset. |
| 166 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base. |
| 167 | (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset. |
| 168 | * ldlang.c (lang_size_sections): Rewrite code adjusting relro |
| 169 | segment base to line up last section on page boundary. |
| 170 | |
| 171 | 2015-04-15 H.J. Lu <hongjiu.lu@intel.com> |
| 172 | |
| 173 | * NEWS: Mention |
| 174 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. |
| 175 | |
| 176 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
| 177 | |
| 178 | * ld.texinfo: Document --compress-debug-sections=. |
| 179 | * ldmain.c (main): Set BFD_COMPRESS on output_bfd if |
| 180 | COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd |
| 181 | for COMPRESS_DEBUG_GABI_ZLIB. |
| 182 | * lexsup.c (elf_static_list_options): Add |
| 183 | --compress-debug-sections=. |
| 184 | * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New. |
| 185 | (xtra_long): Add "compress-debug-sections". |
| 186 | (gld${EMULATION_NAME}_handle_option): Handle |
| 187 | OPTION_COMPRESS_DEBUG. |
| 188 | |
| 189 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
| 190 | |
| 191 | PR ld/pr17709 |
| 192 | * ld.texinfo: Document "-z noextern-protected-data". |
| 193 | * ldmain.c (main): Initialize link_info.extern_protected_data |
| 194 | to -1. |
| 195 | * lexsup.c (elf_shlib_list_options): Add |
| 196 | "-z [no]extern-protected-data". |
| 197 | * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh. |
| 198 | * emulparams/elf_i386.sh: Likewise. |
| 199 | * emulparams/elf_i386_be.sh: Likewise. |
| 200 | * emulparams/elf_i386_chaos.sh: Likewise. |
| 201 | * emulparams/elf_i386_ldso.sh: Likewise. |
| 202 | * emulparams/elf_i386_vxworks.sh: Likewise. |
| 203 | * emulparams/elf_k1om.sh: Likewise. |
| 204 | * emulparams/elf_l1om.sh: Likewise. |
| 205 | * emulparams/elf_x86_64.sh: Source extern_protected_data.sh. |
| 206 | (PARSE_AND_LIST_OPTIONS): Renamed to ... |
| 207 | (PARSE_AND_LIST_OPTIONS_BNDPLT): This. |
| 208 | (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ... |
| 209 | (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This. |
| 210 | (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT. |
| 211 | (PARSE_AND_LIST_ARGS_CASE_Z): Append |
| 212 | $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT. |
| 213 | * emulparams/extern_protected_data.sh: New file. |
| 214 | |
| 215 | 2015-04-11 H.J. Lu <hongjiu.lu@intel.com> |
| 216 | |
| 217 | * plugin.c (plugin_load_plugins): Removed an extra ';'. |
| 218 | |
| 219 | 2015-04-10 Nick Clifton <nickc@redhat.com> |
| 220 | |
| 221 | PR binutils/18198 |
| 222 | * ld.texinfo (--be8): Add a note about the interaction of this |
| 223 | option with the assembler's -EB option. |
| 224 | |
| 225 | 2015-04-10 Alan Modra <amodra@gmail.com> |
| 226 | |
| 227 | * configure.ac: Set elf_list_options etc. in proper case. |
| 228 | * configure: Regenerate. |
| 229 | |
| 230 | 2015-04-10 Alan Modra <amodra@gmail.com> |
| 231 | |
| 232 | PR ld/18223 |
| 233 | * ldlang.c (lang_process): Add _init and _fini to gc_sym_list. |
| 234 | |
| 235 | 2015-04-09 H.J. Lu <hongjiu.lu@intel.com> |
| 236 | |
| 237 | * emulparams/elf_x86_64.sh (BNDPLT): Removed. |
| 238 | (PARSE_AND_LIST_OPTIONS): New. |
| 239 | (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. |
| 240 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove |
| 241 | BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z. |
| 242 | (gld${EMULATION_NAME}_list_options): Remove BNDPLT check. |
| 243 | |
| 244 | 2015-04-09 Nick Clifton <nickc@redhat.com> |
| 245 | |
| 246 | * po/fr.po: Updated French translation. |
| 247 | |
| 248 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 249 | |
| 250 | * configure.ac (elf_list_options): Set to TRUE for |
| 251 | --enable-targets=all. |
| 252 | (elf_shlib_list_options): Likewise. |
| 253 | (elf_plt_unwind_list_options): Likewise. |
| 254 | * configure: Regenerated. |
| 255 | |
| 256 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 257 | |
| 258 | * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. |
| 259 | |
| 260 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 261 | |
| 262 | * Makefile.am (ELF_CLFAGS): New. |
| 263 | (AM_CFLAGS): Add $(ELF_CLFAGS). |
| 264 | * configure.ac (elf_list_options): New. AC_SUBST. |
| 265 | (elf_shlib_list_options): Likewise. |
| 266 | (elf_plt_unwind_list_options): Likewise. |
| 267 | * lexsup.c (elf_shlib_list_options): New. |
| 268 | (elf_static_list_options): Likewise. |
| 269 | (elf_plt_unwind_list_options): Likewise. |
| 270 | (ld_list_options): Likewise. |
| 271 | (help): Call ld_list_options. |
| 272 | * Makefile.in: Regenerated. |
| 273 | * configure: Likewise. |
| 274 | * emulparams/plt_unwind.sh (PLT_UNWIND): New. |
| 275 | (PARSE_AND_LIST_OPTIONS): Removed. |
| 276 | * emultempl/elf32.em (gld_list_options): New. |
| 277 | (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or |
| 278 | PARSE_AND_LIST_OPTIONS is defined. |
| 279 | (ld_${EMULATION_NAME}_emulation): Replace |
| 280 | gld${EMULATION_NAME}_list_options with ${gld_list_options. |
| 281 | |
| 282 | 2015-04-07 Alan Modra <amodra@gmail.com> |
| 283 | |
| 284 | PR ld/18176 |
| 285 | * ldlang.c (lang_size_sections): Cast shift expression. |
| 286 | |
| 287 | 2015-04-07 Alan Modra <amodra@gmail.com> |
| 288 | |
| 289 | * emultempl/ppc32elf.em: Handle --no-pic-fixup. |
| 290 | (params): Init new field. |
| 291 | (ppc_before_allocation): Enable relaxation for pic_fixup. |
| 292 | |
| 293 | 2015-04-07 Nick Clifton <nickc@redhat.com> |
| 294 | |
| 295 | * ld.h (struct ld_config_type): Add new field: warn_orphan. |
| 296 | * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and |
| 297 | OPTION_NO_WARN_ORPHAN. |
| 298 | * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. |
| 299 | (parse_args): Handle the new options. |
| 300 | * ldemul.c (ldemul_place_orphan): If requested, generate a warning |
| 301 | message when an orphan section is placed in the output file. |
| 302 | * ld.texinfo: Document the new option. |
| 303 | * NEWS: Mention the new feature. |
| 304 | |
| 305 | 2015-04-02 Andrew Turner <andrew@freebsd.org> |
| 306 | |
| 307 | * Makefile.am: Add FreeBSD aarch64 files. |
| 308 | * Makefile.in: Regenerate. |
| 309 | * configure.tgt: Add aarch64-*-freebsd* target triple. |
| 310 | * emulparams/aarch64fbsd.sh: New file. |
| 311 | * emulparams/aarch64fbsdb.sh: New file. |
| 312 | |
| 313 | 2015-04-01 H.J. Lu <hongjiu.lu@intel.com> |
| 314 | |
| 315 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work |
| 316 | around a GCC uninitialized warning bug fixed in GCC 4.6. |
| 317 | |
| 318 | 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> |
| 319 | |
| 320 | * emultempl/aarch64elf.em |
| 321 | (aarch64_elf_create_output_section_statements): Add parameter in |
| 322 | bfd_elf${ELFSIZE}_aarch64_set_options call. |
| 323 | (OPTION_FIX_ERRATUM_843419): Define. |
| 324 | (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. |
| 325 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. |
| 326 | |
| 327 | 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> |
| 328 | |
| 329 | * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for |
| 330 | relocating operation. |
| 331 | |
| 332 | 2015-04-01 Alan Modra <amodra@gmail.com> |
| 333 | |
| 334 | PR ld/18176 |
| 335 | * ldlang.c (lang_size_sections): When alignment of sections |
| 336 | results in relro base adjustment being too large, don't go lower |
| 337 | than the initial value. |
| 338 | * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. |
| 339 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE |
| 340 | alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. |
| 341 | |
| 342 | 2015-04-01 Alan Modra <amodra@gmail.com> |
| 343 | |
| 344 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't |
| 345 | init ehdr_start_save. |
| 346 | |
| 347 | 2015-04-01 Alan Modra <amodra@gmail.com> |
| 348 | |
| 349 | * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and |
| 350 | ldemul-list.h. |
| 351 | (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, |
| 352 | eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, |
| 353 | eelf32ppcsim.c): Rearrange deps for consistency. |
| 354 | * Makefile.in: Regenerate. |
| 355 | |
| 356 | 2015-04-01 Ed Schouten <ed@nuxi.nl> |
| 357 | |
| 358 | * emultempl/elf32.em (gld*_before_allocation): Zero-initialize |
| 359 | the ehdr_start_save variable. |
| 360 | |
| 361 | 2015-03-31 Ed Schouten <ed@nuxi.nl> |
| 362 | |
| 363 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add |
| 364 | eelf_x86_64_cloudabi.c. |
| 365 | (eelf_x86_64_cloudabi.c): New. |
| 366 | * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for |
| 367 | x86_64-*-cloudabi*. |
| 368 | * Makefile.in: Regenerated. |
| 369 | * emulparams/elf_x86_64_cloudabi.sh: New file. |
| 370 | |
| 371 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
| 372 | |
| 373 | * configure.ac (AM_ZLIB): Removed. |
| 374 | * Makefile.in: Regenerated. |
| 375 | * config.in: Likewise. |
| 376 | * configure: Likewise. |
| 377 | |
| 378 | 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 379 | |
| 380 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section |
| 381 | alignment to 2. |
| 382 | |
| 383 | 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 384 | |
| 385 | * emultempl/aarch64elf.em |
| 386 | (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. |
| 387 | |
| 388 | 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> |
| 389 | |
| 390 | * ldmain.c (main): Use %F instead of %X for einfo. |
| 391 | |
| 392 | 2015-03-02 Alan Modra <amodra@gmail.com> |
| 393 | |
| 394 | * ld.texinfo (Options <-z nocopyreloc>): Rewrite. |
| 395 | |
| 396 | 2015-02-27 Nick Clifton <nickc@redhat.com> |
| 397 | |
| 398 | PR ld/17900 |
| 399 | * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the |
| 400 | sense of the following memory region attribute characters. |
| 401 | |
| 402 | 2015-02-27 Alan Modra <amodra@gmail.com> |
| 403 | |
| 404 | * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. |
| 405 | (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, |
| 406 | eh8300sxelf_linux.c): Do not invoke genscripts here. |
| 407 | * Makefile.in: Regenerate. |
| 408 | |
| 409 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
| 410 | |
| 411 | * Makefile.am (ev850.c): Add dependency upon |
| 412 | $(srcdir)/emultempl/v850elf.em. |
| 413 | (ev850_rh850.c): Likewise. |
| 414 | * Makefile.in: Regenerate. |
| 415 | * emultempl/v850elf.em: New file. |
| 416 | * emulparams/v850.sh (EXTRA_EM_FILE): Define. |
| 417 | * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. |
| 418 | * scripttempl/v850.sc: Add .note.renesas section. |
| 419 | * scripttempl/v850_rh850.sc: Likewise. |
| 420 | |
| 421 | 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
| 422 | |
| 423 | * scripttempl/avr.sc: Add new user_signatures region. Define and |
| 424 | use symbols for all region lengths. |
| 425 | * scripttempl/avrtiny.sc: Define and use symbols for all region |
| 426 | lengths. |
| 427 | |
| 428 | 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> |
| 429 | |
| 430 | * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. |
| 431 | * Makefile.in: Regenerate. |
| 432 | * configure.tgt: Add h8300-*-linux |
| 433 | * emulparams/h8300elf_linux.sh: Add new emulation. |
| 434 | * emulparams/h8300helf_linux.sh: Likewise. |
| 435 | * emulparams/h8300self_linux.sh: Likewise. |
| 436 | * emulparams/h8300sxelf_linux.sh: Likewise. |
| 437 | |
| 438 | 2015-02-23 Nick Clifton <nickc@redhat.com> |
| 439 | |
| 440 | * lexsup.c (parse_args): Produce a more reasonable error message |
| 441 | when -ixxx or -rxxx is the last option on the linker command line. |
| 442 | |
| 443 | 2015-02-14 H.J. Lu <hongjiu.lu@intel.com> |
| 444 | |
| 445 | PR ld/17973 |
| 446 | * testplug2.c (allsymbolsread_silent): New. |
| 447 | (set_register_hook): Handle allsymbolsreadsilent. |
| 448 | (onall_symbols_read): Skip a message if allsymbolsread_silent is |
| 449 | TRUE. |
| 450 | |
| 451 | 2015-02-14 Alan Modra <amodra@gmail.com> |
| 452 | |
| 453 | PR ld/17973 |
| 454 | * ldlang.h (struct lang_input_statement_flags): Add lto_output. |
| 455 | * ldlang.c (lang_process): Don't set loading_lto_outputs. |
| 456 | * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output |
| 457 | to bfd. |
| 458 | * plugin.c (add_input_file, add_input_library): Set flags.lto_output. |
| 459 | |
| 460 | 2015-02-13 H.J. Lu <hongjiu.lu@intel.com> |
| 461 | |
| 462 | * NEWS: Mention support for LLVM plugin. |
| 463 | |
| 464 | 2015-02-13 Alan Modra <amodra@gmail.com> |
| 465 | |
| 466 | * ld.texinfo (Options <--defsym>): Correct cross reference. |
| 467 | |
| 468 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
| 469 | |
| 470 | * lexsup.c (ld_options): Add --[no-]map-whole-files for gold |
| 471 | option compatibility. |
| 472 | |
| 473 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
| 474 | |
| 475 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output |
| 476 | "error:" for LDPL_FATAL and LDPL_ERROR. |
| 477 | * testplug2.c (parse_option): Handle fatal, error and warning. |
| 478 | |
| 479 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
| 480 | |
| 481 | * testplug2.c (dump_tv_tag): Removed. |
| 482 | (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't |
| 483 | closed. |
| 484 | * testplug3.c (dump_tv_tag): Removed. |
| 485 | (onclaim_file): Fix typo. |
| 486 | |
| 487 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
| 488 | |
| 489 | PR ld/17878 |
| 490 | * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and |
| 491 | libldtestplug3.la. |
| 492 | (libldtestplug2_la_SOURCES): New. |
| 493 | (libldtestplug2_la_CFLAGS): Likewise. |
| 494 | (libldtestplug2_la_LDFLAGS): Likewise. |
| 495 | (libldtestplug3_la_SOURCES): New. |
| 496 | (libldtestplug3_la_CFLAGS): Likewise. |
| 497 | (libldtestplug3_la_LDFLAGS): Likewise. |
| 498 | * Makefile.in: Regenerated. |
| 499 | * testplug2.c: New file. |
| 500 | * testplug3.c: Likewise. |
| 501 | |
| 502 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
| 503 | |
| 504 | PR ld/17878 |
| 505 | * plugin.c: Include ../bfd/plugin.h. |
| 506 | (plugin_get_ir_dummy_bfd): Call bfd_create with |
| 507 | link_info.output_bfd instead of srctemplate. Copy BFD info |
| 508 | from srctemplate only if it doesn't use BFD plugin target |
| 509 | vector. |
| 510 | (plugin_load_plugins): Call register_ld_plugin_object_p with |
| 511 | (plugin_object_p) |
| 512 | (plugin_maybe_claim): Renamed to ... |
| 513 | (plugin_object_p): This. Return dummy BFD target vector if |
| 514 | input is calimed by plugin library, otherwise return NULL. |
| 515 | Update plugin_format and plugin_dummy_bfd. |
| 516 | (plugin_maybe_claim): New. Use plugin_object_p. |
| 517 | |
| 518 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
| 519 | |
| 520 | * plugin.c (plugin_maybe_claim): Initialize use_mmap. |
| 521 | |
| 522 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
| 523 | |
| 524 | * plugin.c (plugin_input_file_t): Add use_mmap. |
| 525 | (plugin_pagesize): New. |
| 526 | (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. |
| 527 | (plugin_load_plugins): Initialize plugin_pagesize. |
| 528 | (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the |
| 529 | file. |
| 530 | |
| 531 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
| 532 | |
| 533 | * plugin.c (get_view): Align offset passed to mmap. |
| 534 | |
| 535 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
| 536 | |
| 537 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format |
| 538 | if plugin isn't active or there is no thing more to claim. |
| 539 | |
| 540 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
| 541 | |
| 542 | * plugin.c (plugin_maybe_claim): Check format against bfd_object |
| 543 | directly. |
| 544 | |
| 545 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
| 546 | |
| 547 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with |
| 548 | ibfd. |
| 549 | |
| 550 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
| 551 | |
| 552 | * plugin.c: Include "libbfd.h". |
| 553 | (plugin_strdup): New. |
| 554 | (plugin_maybe_claim): Remove the argument of pointer to struct |
| 555 | ld_plugin_input_file. Open and handle input entry. |
| 556 | * plugin.h (plugin_maybe_claim): Updated. |
| 557 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly |
| 558 | without passing a pointer to struct ld_plugin_input_file. |
| 559 | * ldmain.c: Don't include "libbfd.h". |
| 560 | (add_archive_element): Call plugin_maybe_claim directly without |
| 561 | passing a pointer to struct ld_plugin_input_file. |
| 562 | |
| 563 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
| 564 | |
| 565 | * ld.texinfo: Document -z text, -z notext and -z textoff. |
| 566 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add |
| 567 | -z text, -z notext and -z textoff. |
| 568 | |
| 569 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
| 570 | |
| 571 | * configure.ac: Add AC_FUNC_MMAP. |
| 572 | * config.in: Regenerated. |
| 573 | * configure: Likewise. |
| 574 | * plugin.c: Include <sys/mman.h>. |
| 575 | (MAP_FAILED): New. Defined if not defined. |
| 576 | (PROT_READ): Likewise. |
| 577 | (MAP_PRIVATE): Likewise. |
| 578 | (view_buffer_t): New. |
| 579 | (plugin_input_file_t): Add view_buffer. |
| 580 | (get_view): Try mmap and cache the view buffer. |
| 581 | (plugin_maybe_claim): Initialize view_buffer. |
| 582 | |
| 583 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
| 584 | |
| 585 | * plugin.c (release_input_file): Set fd to -1 after closing it. |
| 586 | (plugin_maybe_claim): Close fd only if fd != -1. |
| 587 | |
| 588 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
| 589 | |
| 590 | PR ld/17878 |
| 591 | * plugin.c: Include <errno.h>. |
| 592 | (errno): New. Declare if needed. |
| 593 | (plugin_input_file_t): New. |
| 594 | (get_input_file): Implemented. |
| 595 | (get_view): Likewise. |
| 596 | (release_input_file): Likewise. |
| 597 | (add_symbols): Updated. |
| 598 | (get_symbols): Likewise. |
| 599 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd |
| 600 | only for a bfd_object input. |
| 601 | |
| 602 | 2015-02-02 Alan Modra <amodra@gmail.com> |
| 603 | |
| 604 | * emultempl/ppc64elf.em (toc_section_name): New var. |
| 605 | (ppc_after_open): Set it. |
| 606 | (ppc_before_allocation): Use it. |
| 607 | (gld${EMULATION_NAME}_after_allocation): Here too. |
| 608 | |
| 609 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
| 610 | |
| 611 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() |
| 612 | with link_info.lto_plugin_active. |
| 613 | * ldlang.c (lang_process): Likewise. |
| 614 | * ldmain.c (add_archive_element): Likewise. |
| 615 | * plugin.c (plugin_active_plugins_p): Removed. |
| 616 | * plugin.h (plugin_active_plugins_p): Likewise. |
| 617 | |
| 618 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
| 619 | |
| 620 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to |
| 621 | ... |
| 622 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. |
| 623 | |
| 624 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
| 625 | |
| 626 | PR ld/17878 |
| 627 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. |
| 628 | (get_view): New function. |
| 629 | (set_tv_header): Handle LDPT_GET_VIEW. |
| 630 | * testplug.c (tag_names): Add LDPT_GET_VIEW. |
| 631 | (tv_get_view): New. |
| 632 | (dump_tv_tag): Handle LDPT_GET_VIEW. |
| 633 | (parse_tv_tag): Likewise. |
| 634 | |
| 635 | 2015-01-28 Alan Modra <amodra@gmail.com> |
| 636 | |
| 637 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. |
| 638 | * emultempl/ppc64elf.em (params): Init new field. |
| 639 | (ppc_after_open): New function. |
| 640 | (LDEMUL_AFTER_OPEN): Define. |
| 641 | * ldlang.c (lang_final): Whitespace fix. |
| 642 | |
| 643 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
| 644 | |
| 645 | * Makefile.am: Add FT32 files. |
| 646 | * configure.tgt: Handle FT32 target. |
| 647 | * emulparams/elf32ft32.sh: New file. |
| 648 | * scripttempl/ft32.sc: New file. |
| 649 | * Makefile.in: Regenerate. |
| 650 | |
| 651 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
| 652 | |
| 653 | PR 4643 |
| 654 | * ldexp.c (fold_name): Fold LENGTH only after |
| 655 | lang_first_phase_enum. |
| 656 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH |
| 657 | rightaway. |
| 658 | * ldlang.h (struct memory_region_struct): Add origin_exp and |
| 659 | length_exp fields. |
| 660 | * ldlang.c (lang_do_memory_regions): New. |
| 661 | (lang_memory_region_lookup): Initialize origin_exp and |
| 662 | length_exp fields. |
| 663 | (lang_process): Call lang_do_memory_regions. |
| 664 | |
| 665 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
| 666 | |
| 667 | * ldlang.c (print_assignment): Only evaluate the expression for a |
| 668 | PROVIDE'd assignment when the destination is being defined. |
| 669 | Display a special message for PROVIDE'd symbols that are not being |
| 670 | provided. |
| 671 | |
| 672 | 2015-01-20 Alan Modra <amodra@gmail.com> |
| 673 | |
| 674 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. |
| 675 | (OTHER_BSS_SYMBOLS): ..this. |
| 676 | (OTHER_PLT_RELOC_SECTIONS): Don't define. |
| 677 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. |
| 678 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. |
| 679 | (OTHER_RELRO_SECTIONS_2): ..here. |
| 680 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. |
| 681 | |
| 682 | 2015-01-20 Alan Modra <amodra@gmail.com> |
| 683 | |
| 684 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. |
| 685 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. |
| 686 | (OTHER_RELRO_SECTIONS_2): ..here. |
| 687 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, |
| 688 | PLT_BEFORE_GOT): Define. |
| 689 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ |
| 690 | PLT_BEFORE_GOT combination. |
| 691 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. |
| 692 | |
| 693 | 2015-01-20 Alan Modra <amodra@gmail.com> |
| 694 | |
| 695 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. |
| 696 | (OTHER_RELRO_SECTIONS_2): ..here, new define. |
| 697 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. |
| 698 | |
| 699 | 2015-01-19 Alan Modra <amodra@gmail.com> |
| 700 | |
| 701 | PR ld/17615 |
| 702 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
| 703 | |
| 704 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
| 705 | |
| 706 | * ld-arm/elf32-reject.s: New testcase. |
| 707 | * ld-arm/elf32-reject.d: Likewise. |
| 708 | * ld-arm/elf32-reject-pie.s: Likewise. |
| 709 | * ld-arm/elf32-reject-pie.d: Likewise. |
| 710 | * ld-arm/arm-elf.exp: Run new testcases. |
| 711 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. |
| 712 | * ld-arm/ifunc-7.rd: Likewise. |
| 713 | * ld-arm/ifunc-7.gd: Likewise. |
| 714 | * ld-arm/ifunc-7.dd: Likewise. |
| 715 | * ld-arm/ifunc-8.s: Likewise. |
| 716 | * ld-arm/ifunc-8.rd: Likewise. |
| 717 | * ld-arm/ifunc-8.gd: Likewise. |
| 718 | * ld-arm/ifunc-8.dd: Likewise. |
| 719 | |
| 720 | 2015-01-01 Alan Modra <amodra@gmail.com> |
| 721 | |
| 722 | * ldver.c (ldversion): Just print current year. |
| 723 | |
| 724 | 2015-01-01 Alan Modra <amodra@gmail.com> |
| 725 | |
| 726 | Update year range in copyright notice of all files. |
| 727 | |
| 728 | For older changes see ChangeLog-2014 |
| 729 | \f |
| 730 | Copyright (C) 2015 Free Software Foundation, Inc. |
| 731 | |
| 732 | Copying and distribution of this file, with or without modification, |
| 733 | are permitted in any medium without royalty provided the copyright |
| 734 | notice and this notice are preserved. |
| 735 | |
| 736 | Local Variables: |
| 737 | mode: change-log |
| 738 | left-margin: 8 |
| 739 | fill-column: 74 |
| 740 | version-control: never |
| 741 | End: |