| 1 | 2011-09-20 Alan Modra <amodra@gmail.com> |
| 2 | |
| 3 | PR ld/13201 |
| 4 | * ldlang.h (lang_input_statement_type): Add "reload" bitfield. |
| 5 | Clarify comments. |
| 6 | * ldlang.c (new_afile): Init new field. |
| 7 | (load_symbols): Don't call ldlang_add_file when reloading. |
| 8 | (open_input_bfds): Reload as-needed libs during plugin rescan. |
| 9 | |
| 10 | 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> |
| 11 | |
| 12 | PR ld/12975 |
| 13 | * ldlang.c (lang_elf_version_info): Removed. |
| 14 | (lang_register_vers_node): Replace lang_elf_version_info with |
| 15 | link_info.version_info. |
| 16 | (lang_add_vers_depend): Likewise. |
| 17 | * pe-dll.c (process_def_file_and_drectve): Likewise. |
| 18 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. |
| 19 | |
| 20 | * ldlang.h (lang_elf_version_info): Removed. |
| 21 | |
| 22 | * plugin.c (is_visible_from_outside): Check if symbol is hidden |
| 23 | by version script. |
| 24 | |
| 25 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): |
| 26 | Remove lang_elf_version_info. |
| 27 | |
| 28 | 2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
| 29 | |
| 30 | PR ld/13183 |
| 31 | * ldmain.c (add_archive_element): Support thin archive member |
| 32 | for LTO. |
| 33 | |
| 34 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
| 35 | |
| 36 | * po/es.po: Updated Spanish translation. |
| 37 | |
| 38 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
| 39 | |
| 40 | * NEWS: Mention that --no-copy-dt-needed-entries is now the |
| 41 | default. |
| 42 | |
| 43 | 2011-08-22 Michael Matz <matz@suse.de> |
| 44 | |
| 45 | * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE. |
| 46 | * ld.texinfo (--copy-dt-needed-entries): Mention new default. |
| 47 | |
| 48 | 2011-08-17 Alan Modra <amodra@gmail.com> |
| 49 | |
| 50 | PR ld/12762 |
| 51 | * ldlang.c (section_already_linked): Revert 2011-07-09 changes. |
| 52 | * plugin.c: Likewise. |
| 53 | (asymbol_from_plugin_symbol): Create linkonce section for syms |
| 54 | with comdat_key. |
| 55 | |
| 56 | 2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
| 57 | |
| 58 | * emultempl/armelf.em (fix_arm1176): New variable. |
| 59 | (arm_elf_create_output_section_statements): Pass |
| 60 | fix_arm1176 option to bfd backend. |
| 61 | (OPTION_FIX_ARM1176): New define. |
| 62 | (OPTION_NO_FIX_ARM1176): Likewise. |
| 63 | (PARSE_AND_LIST_LONGOPTS): Add new command line options. |
| 64 | (PARSE_AND_LIST_OPTIONS): Likewise. |
| 65 | (PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 66 | * ld.texinfo: Document new command line options. |
| 67 | |
| 68 | 2011-08-09 Alan Modra <amodra@gmail.com> |
| 69 | |
| 70 | PR ld/13066 |
| 71 | * plugin.c (add_symbols): Revert 2011-08-05. |
| 72 | |
| 73 | 2011-08-06 Kai Tietz <ktietz@redhat.com> |
| 74 | |
| 75 | * scripttempl/pep.sc: Add .debug_macro section. |
| 76 | * scripttempl/pe.sc: Likewise. |
| 77 | |
| 78 | 2011-08-05 Alan Modra <amodra@gmail.com> |
| 79 | |
| 80 | PR ld/12762 |
| 81 | * plugin.c (add_symbols): Exclude comdat_key symbols from symbol |
| 82 | table if already seen. |
| 83 | |
| 84 | 2011-08-04 H.J. Lu <hongjiu.lu@intel.com> |
| 85 | |
| 86 | * ldmain.c (main): Replace remove_output with ld_cleanup in |
| 87 | comments. |
| 88 | |
| 89 | 2011-07-26 Alan Modra <amodra@gmail.com> |
| 90 | |
| 91 | * emulparams/elf32ppc.sh: Source plt_unwind.sh. |
| 92 | * emulparams/elf64ppc.sh: Likewise. |
| 93 | * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust. |
| 94 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, |
| 95 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to |
| 96 | existing values. |
| 97 | * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust. |
| 98 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, |
| 99 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to |
| 100 | existing values. |
| 101 | |
| 102 | 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> |
| 103 | |
| 104 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and |
| 105 | eelf_k1om_fbsd.o |
| 106 | (eelf_k1om.c): New. |
| 107 | (eelf_k1om_fbsd.c): Likewise. |
| 108 | * Makefile.in: Regenerated. |
| 109 | |
| 110 | * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64 |
| 111 | is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported. |
| 112 | (targ_extra_emuls): Likewise. |
| 113 | |
| 114 | * emulparams/elf_k1om.sh: New. |
| 115 | * emulparams/elf_k1om_fbsd.sh: Likewise. |
| 116 | |
| 117 | 2011-07-16 Roland McGrath <roland@hack.frob.com> |
| 118 | |
| 119 | * ld.h (args_type): New field print_output_format. |
| 120 | * lexsup.c (enum option_values, ld_options, parse_args): |
| 121 | Handle --print-output-format. |
| 122 | * ldmain.c (main): Implement --print-output-format. |
| 123 | * ld.texinfo (Options): Document it. |
| 124 | |
| 125 | * ldlang.c (lang_get_output_target): Don't return current_target |
| 126 | when it's NULL. |
| 127 | |
| 128 | 2011-07-15 Alan Modra <amodra@gmail.com> |
| 129 | |
| 130 | * Makefile.am (e*.c): Sort. |
| 131 | * Makefile.in: Regenerate. |
| 132 | |
| 133 | 2011-07-14 Alan Modra <amodra@gmail.com> |
| 134 | |
| 135 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option, |
| 136 | gld${EMULATION_NAME}_list_options): Don't condition -z relro |
| 137 | and -z norelro on COMMONPAGESIZE being defined. |
| 138 | |
| 139 | 2011-07-14 Alan Modra <amodra@gmail.com> |
| 140 | |
| 141 | * emultempl/ppc64elf.em (plt_static_chain): New var. |
| 142 | (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs. |
| 143 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, |
| 144 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle |
| 145 | --plt-static-chain and --no-plt-static-chain. |
| 146 | |
| 147 | 2011-07-14 Alan Modra <amodra@gmail.com> |
| 148 | |
| 149 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, |
| 150 | gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): |
| 151 | Provide --build-id, -z defs, -z muldefs, -z max-page-size, |
| 152 | -z common-page-size, -z execstack, -z noexecstack for all targets. |
| 153 | Add help for --exclude-libs. |
| 154 | (OPTION_LD_GENERATED_UNWIND_INFO, |
| 155 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. |
| 156 | (gld${EMULATION_NAME}_handle_option): ..and code handling |
| 157 | --ld-generated-unwind-info and --no-ld-generated-unwind-info.. |
| 158 | * emulparams/plt_unwind.sh: ..to here. New file. Add help. |
| 159 | * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. |
| 160 | * emulparams/elf_i386.sh: Likewise. |
| 161 | * emulparams/elf_i386_chaos.sh: Likewise. |
| 162 | * emulparams/elf_i386_ldso.sh: Likewise. |
| 163 | * emulparams/elf_l1om.sh: Likewise. |
| 164 | * emulparams/elf_x86_64.sh: Likewise. |
| 165 | |
| 166 | 2011-07-11 Catherine Moore <clm@codesourcery.com> |
| 167 | |
| 168 | * ld.h (section_flag_list): Add field to struct wildcard_spec. |
| 169 | * ld.texinfo (INPUT_SECTION_FLAGS): Document. |
| 170 | * ldgram.y (flag_info_list, flag_info): Add to union. |
| 171 | (INPUT_SECTION_FLAGS): New token. |
| 172 | (wildcard_spec): Initialize section_flag_list to NULL for |
| 173 | each alternative. |
| 174 | (sect_flag_list, sect_flags): New rules. |
| 175 | (input_section_spec_no_keep): Add alternatives to recognize |
| 176 | sect_flags. |
| 177 | * ldlang.c (walk_wild_consider_section): Initialize |
| 178 | section_flag_info field of the section struct. |
| 179 | (lang_add_section): Check input section flags. |
| 180 | (lang_add_wild): Initialize section_flag_list field of |
| 181 | the statement struct. |
| 182 | * ldlang.h (lang_input_statement_struct): Add section_flag_list field. |
| 183 | (lang_wild_statement_struct): Likewise. |
| 184 | * ldlex.l (INPUT_SECTION_FLAGS): New token. |
| 185 | * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. |
| 186 | * NEWS: Announce INPUT_SECTION_FLAGS enhancement. |
| 187 | |
| 188 | 2011-07-09 H.J. Lu <hongjiu.lu@intel.com> |
| 189 | |
| 190 | PR ld/12942 |
| 191 | * ldlang.c (section_already_linked): Pass "struct already_linked *" |
| 192 | to bfd_section_already_linked. |
| 193 | (lang_process): Set link_info.loading_lto_outputs before |
| 194 | loading LTO outputs. |
| 195 | * plugin.c: Include "libbfd.h". |
| 196 | (add_symbols): Call bfd_section_already_linked with comdat_key. |
| 197 | |
| 198 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
| 199 | |
| 200 | * configure.tgt: Revert x32 change. |
| 201 | |
| 202 | 2011-06-20 Jakub Jelinek <jakub@redhat.com> |
| 203 | |
| 204 | PR ld/12570 |
| 205 | * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, |
| 206 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. |
| 207 | (gld${EMULATION_NAME}_handle_option): Handle |
| 208 | --ld-generated-unwind-info and --no-ld-generated-unwind-info. |
| 209 | * ld.texinfo (--ld-generated-unwind-info, |
| 210 | --no-ld-generated-unwind-info): Document. |
| 211 | |
| 212 | 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> |
| 213 | |
| 214 | * configure.tgt: Support x32. |
| 215 | |
| 216 | 2011-06-15 Nick Clifton <nickc@redhat.com> |
| 217 | |
| 218 | * NEWS: Mention addition of TILEPRO and TIKE-Gx support. |
| 219 | |
| 220 | 2011-06-13 Walter Lee <walt@tilera.com> |
| 221 | |
| 222 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and |
| 223 | eelf32tilepro.c. |
| 224 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. |
| 225 | (eelf32tilegx.c): New target. |
| 226 | (eelf32tilepro.c): Likewise. |
| 227 | (eelf64tilegx.c): Likewise. |
| 228 | * Makefile.in: Regenerate. |
| 229 | * configure.tgt: Handle tilegx-*-* and tilepro-*-*. |
| 230 | * emulparams/elf32tilegx.sh: New file. |
| 231 | * emulparams/elf64tilegx.sh: New file. |
| 232 | * emulparams/elf32tilepro.sh: New file. |
| 233 | |
| 234 | 2011-06-13 Alan Modra <amodra@gmail.com> |
| 235 | |
| 236 | * ldlang.c (sort_def_symbol, lang_one_common): Don't handle |
| 237 | warning symbols here. |
| 238 | * emultempl/pe.em (pr_sym): Remove redundant test. |
| 239 | * emultempl/pep.em (pr_sym): Likewise. |
| 240 | |
| 241 | 2011-06-09 Nick Clifton <nickc@redhat.com> |
| 242 | |
| 243 | PR ld/12845 |
| 244 | * emultempl/mipself.em (mips_add_stub_section): Do not add stubs |
| 245 | for sections that have been removed by garbage collection. |
| 246 | |
| 247 | 2011-06-08 Alan Modra <amodra@gmail.com> |
| 248 | |
| 249 | * ldlang.c (lang_one_common): Handle warning symbols. |
| 250 | |
| 251 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
| 252 | |
| 253 | * configure.tgt: Accept any V850 architecture. |
| 254 | |
| 255 | 2011-06-03 Nick Clifton <nickc@redhat.com> |
| 256 | |
| 257 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c |
| 258 | Add rule to build eelf32am33lin.c |
| 259 | * Makefile.in: Regenerate. |
| 260 | |
| 261 | 2011-06-02 Nick Clifton <nickc@redhat.com> |
| 262 | |
| 263 | * lexsup.c: Fix spelling mistake in comment. |
| 264 | * scripttempl/epocpe.sc: Likewise. |
| 265 | * scripttempl/i386beos.sc: Likewise. |
| 266 | * scripttempl/mcorepe.sc: Likewise. |
| 267 | * scripttempl/pe.sc: Likewise. |
| 268 | * scripttempl/pep.sc: Likewise. |
| 269 | * po/ld.pot: Regenerate. |
| 270 | |
| 271 | 2011-05-27 Nick Clifton <nickc@redhat.com> |
| 272 | |
| 273 | * scripttempl/v850.sc (_heap_start): Provide. |
| 274 | |
| 275 | 2011-05-23 Alan Modra <amodra@gmail.com> |
| 276 | |
| 277 | * ldmisc.c (vfinfo): Add %H. |
| 278 | * ldmain.c (reloc_overflow): Use %H rather than %C. |
| 279 | (reloc_dangerous, unattached_reloc): Likewise. |
| 280 | |
| 281 | 2011-05-23 Alan Modra <amodra@gmail.com> |
| 282 | |
| 283 | PR 12763 |
| 284 | * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 |
| 285 | like sections to existing .sdata2, and similarly for orphan TLS |
| 286 | sections. |
| 287 | * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss. |
| 288 | |
| 289 | 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> |
| 290 | |
| 291 | PR ld/12759 |
| 292 | * emultempl/rxelf.em (ignore_lma): New variable. |
| 293 | (rx_elf_create_output_section_statements): Pass the setiing of |
| 294 | ignore_lma to bfd_elf32_rx_set_target_flags. |
| 295 | (OPTION_IGNORE_LMA): Define. |
| 296 | (OPTION_NO_IGNORE_LMA): Define. |
| 297 | (PARSE_AND_LIST_LONGOPTS): Add ignore lma. |
| 298 | (PARSE_AND_LIST_OPTIONS): Add ignore lma. |
| 299 | (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. |
| 300 | |
| 301 | 2011-05-17 Alan Modra <amodra@gmail.com> |
| 302 | |
| 303 | PR ld/12760 |
| 304 | * ldmain.c (notice): Add "flags" and "string" param. |
| 305 | * plugin.c (plugin_notice): Likewise. Handle indirect, warning |
| 306 | and constructor syms. |
| 307 | |
| 308 | 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 309 | |
| 310 | * ldlang.c (print_assignment): Use the symbol's section if we |
| 311 | use its value. |
| 312 | * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand |
| 313 | comment on copying symbol type. |
| 314 | |
| 315 | 2011-05-16 H.J. Lu <hongjiu.lu@intel.com> |
| 316 | |
| 317 | PR ld/12760 |
| 318 | * plugin.c (plugin_notice): Set u.undef.abfd for symbols made |
| 319 | undefweak. |
| 320 | |
| 321 | 2011-05-16 Alan Modra <amodra@gmail.com> |
| 322 | |
| 323 | * ldlang.c (lang_leave_output_section_statement): Don't copy |
| 324 | previous lma_region if given address. |
| 325 | |
| 326 | 2011-05-13 Bernd Schmidt <bernds@codesourcery.com> |
| 327 | |
| 328 | (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, |
| 329 | eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. |
| 330 | * Makefile.am (ALL_EMULATIONS): Add these files. |
| 331 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. |
| 332 | * Makefile.in: Regenerated. |
| 333 | * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target |
| 334 | vectors. |
| 335 | * emulparams/elf32_tic6x_elf_be.sh: New file. |
| 336 | * emulparams/elf32_tic6x_elf_le.sh: New file. |
| 337 | * emulparams/elf32_tic6x_linux_be.sh: New file. |
| 338 | * emulparams/elf32_tic6x_linux_le.sh: New file. |
| 339 | * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. |
| 340 | (tic6x-*-*): Replaced by these. |
| 341 | |
| 342 | 2011-05-13 Jan Beulich <jbeulich@novell.com> |
| 343 | |
| 344 | * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep. |
| 345 | |
| 346 | 2011-05-09 Paul Brook <paul@codesourcery.com> |
| 347 | |
| 348 | * emultempl/tic6xdsbt.em (merge_exidx_entries): New. |
| 349 | (compare_output_sec_vma): New function. |
| 350 | (gld${EMULATION_NAME}_after_allocation): New function. |
| 351 | (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. |
| 352 | (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. |
| 353 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. |
| 354 | (LDEMUL_AFTER_ALLOCATION): Set. |
| 355 | * ld.texinfo: Document c6x --no-merge-exidx-entries. |
| 356 | |
| 357 | 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> |
| 358 | |
| 359 | PR ld/12365 |
| 360 | * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. |
| 361 | (__rt_psrelocs_end): Likewise. |
| 362 | (__rt_psrelocs_size): Likewise difference between the above. |
| 363 | (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section |
| 364 | immediately after end of pseudo-reloc data. |
| 365 | (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. |
| 366 | (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and |
| 367 | calculate backward from list end. |
| 368 | (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. |
| 369 | * scripttempl/pep.sc: Likewise. |
| 370 | |
| 371 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
| 372 | |
| 373 | * scripttempl/alphavms.sc (CODE): Add *$CODE*. |
| 374 | |
| 375 | 2011-05-04 Tristan Gingold <gingold@adacore.com> |
| 376 | |
| 377 | * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add |
| 378 | LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. |
| 379 | * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. |
| 380 | (gld${EMULATION_NAME}_add_options): New function. |
| 381 | (gld${EMULATION_NAME}_list_options): Ditto. |
| 382 | (gld${EMULATION_NAME}_handle_option): Ditto. |
| 383 | (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) |
| 384 | (LDEMUL_LIST_OPTIONS): Define. |
| 385 | |
| 386 | 2011-05-04 Alan Modra <amodra@gmail.com> |
| 387 | |
| 388 | PR ld/12726 |
| 389 | * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. |
| 390 | * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't |
| 391 | assign to dot when lang_assigning_phase_enum. |
| 392 | * ldlang.h (lang_do_assignments): Update prototype. |
| 393 | * ldlang.c (lang_do_assignments): Add phase parameter. Update all |
| 394 | callers. |
| 395 | * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update |
| 396 | lang_do_assignments calls. |
| 397 | |
| 398 | 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> |
| 399 | |
| 400 | PR ld/12614 |
| 401 | * emultempl/pe.em (_after_open): Correctly check whether symbol is |
| 402 | in undef list. |
| 403 | |
| 404 | 2011-04-26 Kai Tietz <ktietz@redhat.com> |
| 405 | |
| 406 | * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. |
| 407 | * scripttempl/pep.sc: Likewise. |
| 408 | |
| 409 | 2011-04-24 Alan Modra <amodra@gmail.com> |
| 410 | |
| 411 | PR ld/12365 |
| 412 | PR ld/12696 |
| 413 | * ldmain.c (notice): Delete "name" param, add "h". |
| 414 | * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle |
| 415 | redefinitions of IR symbols in real BFDs. |
| 416 | (plugin_multiple_definition, plugin_multiple_common): Delete. |
| 417 | (non_ironly_hash, init_non_ironly_hash): Delete. |
| 418 | (is_visible_from_outside): Traverse entry_symbol chain. |
| 419 | (get_symbols): Use non_ir_ref flag rather than hash lookup. |
| 420 | |
| 421 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
| 422 | |
| 423 | * scripttempl/alphavms.sc: Add dwarf2 embedding marks. |
| 424 | |
| 425 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
| 426 | |
| 427 | * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. |
| 428 | |
| 429 | 2011-04-20 Alan Modra <amodra@gmail.com> |
| 430 | |
| 431 | * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. |
| 432 | |
| 433 | 2011-04-20 Alan Modra <amodra@gmail.com> |
| 434 | |
| 435 | PR ld/12365 |
| 436 | * ldfile.c (ldfile_try_open_bfd): Move code creating and switching |
| 437 | to plugin IR BFD.. |
| 438 | * ldmain.c (add_archive_element): ..and similar code here.. |
| 439 | * plugin.c (plugin_maybe_claim): ..to here. New function. |
| 440 | (plugin_call_claim_file): Make static. |
| 441 | (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. |
| 442 | (plugin_multiple_common): New function. |
| 443 | (plugin_call_all_symbols_read): Hook in plugin_multiple_common. |
| 444 | * plugin.h (plugin_call_claim_file): Don't declare. |
| 445 | (plugin_maybe_claim): Declare. |
| 446 | |
| 447 | 2011-04-20 Alan Modra <amodra@gmail.com> |
| 448 | |
| 449 | PR ld/12365 |
| 450 | * ldmain.c (multiple_definition): Take a bfd_link_hash_entry |
| 451 | pointer arg rather than "name", "obfd", "osec", "oval". Add code |
| 452 | removed from linker.c. Hack around xcofflink.c oddity in |
| 453 | passing NULL nbfd. |
| 454 | (multiple_common): Similarly. |
| 455 | * plugin.c (orig_allow_multiple_defs): Delete. |
| 456 | (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. |
| 457 | (plugin_multiple_definition): Update. |
| 458 | |
| 459 | 2011-04-18 Kai Tietz <ktietz@redhat.com> |
| 460 | |
| 461 | * deffilep.y (def_aligncomm): Avoid duplets. |
| 462 | |
| 463 | * deffilep.y (def_pool_str): New type. |
| 464 | (pool_strs): Local static. |
| 465 | (def_pool_alloc): Local function. |
| 466 | (def_pool_strdup): Likewise. |
| 467 | (def_pool_free): Likewise. |
| 468 | (opt_name): Replace xmalloc/xstrdup by |
| 469 | def_pool_alloc/def_pool_strdup. |
| 470 | (dot_name): Likewise. |
| 471 | (anylang_id): Likewise. |
| 472 | (def_lex): Likewise. |
| 473 | (def_file_parse): Call def_pool_free on |
| 474 | exit and cleanup directives elements. |
| 475 | (def_file_add_directive): Call def_pool_free. |
| 476 | |
| 477 | 2011-04-18 Paul Brook <paul@codesourcery.com> |
| 478 | |
| 479 | * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS |
| 480 | for unwinding tables. |
| 481 | |
| 482 | 2011-04-18 Alan Modra <amodra@gmail.com> |
| 483 | |
| 484 | PR ld/12365 |
| 485 | PR ld/12672 |
| 486 | * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action |
| 487 | when no_more_claiming. |
| 488 | * ldmain.c (add_archive_element): Likewise. |
| 489 | (multiple_definition): Remove plugin_multiple_definition call. |
| 490 | (notice): Remove plugin_notice call. |
| 491 | * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. |
| 492 | Delete prototype. |
| 493 | (plugin_insert): New static var. |
| 494 | (open_input_bfds): Only rescan libs after plugin insert point. |
| 495 | (lang_gc_sections): Omit plugin claimed files. |
| 496 | (lang_process): Set plugin_insert. Only rescan when plugin adds |
| 497 | objects. |
| 498 | * plugin.h (no_more_claiming): Declare. |
| 499 | (plugin_notice, plugin_multiple_definition): Don't declare. |
| 500 | * plugin.c: Formatting. |
| 501 | (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, |
| 502 | plugin_callbacks): New static vars. |
| 503 | (no_more_claiming): Make global. |
| 504 | (plugin_cached_allow_multiple_defs): Delete. |
| 505 | (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, |
| 506 | use newer bfd_make_section variant. Make COMMON section too. |
| 507 | Error handling. Correct setting of gp size. |
| 508 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. |
| 509 | (message): Likewise for ACONCAT. |
| 510 | (asymbol_from_plugin_symbol): Use our COMMON section. |
| 511 | (get_symbols): When report_plugin_symbols, show visibility too. |
| 512 | (init_non_ironly_hash): Move. Don't test non_ironly_hash. |
| 513 | (plugin_load_plugins): Save state of linker callbacks, set up to |
| 514 | call plugin_notice instead. Call init_non_ironly_hash here. |
| 515 | (plugin_call_all_symbols_read): Set plugin_multiple_definition in |
| 516 | plugin callbacks. |
| 517 | (plugin_notice): Rewrite. |
| 518 | (plugin_multiple_definition): Make static, call original callback. |
| 519 | |
| 520 | 2011-04-15 Alan Modra <amodra@gmail.com> |
| 521 | |
| 522 | PR ld/12672 |
| 523 | * ldlang.c (enum open_bfd_mode): New. |
| 524 | (open_input_bfds): Replace "force" param with "mode". Reload |
| 525 | archives for rescan. Update all callers. |
| 526 | (lang_process): Make another open_input_bfds pass for plugins. |
| 527 | |
| 528 | 2011-04-13 Kai Tietz <ktietz@redhat.com> |
| 529 | |
| 530 | PR binutils/12658 |
| 531 | * deffile.h (def_file_add_export): Add is_dup argument. |
| 532 | (def_file_add_import): Likewise. |
| 533 | * deffilep.y (are_names_equal): New helper. |
| 534 | (cmp_export_elem): New helper. |
| 535 | (find_export_in_list): Add search routine for exports. |
| 536 | (def_file_add_export): Check for duplicates. |
| 537 | (cmp_import_elem): New helper. |
| 538 | (find_import_in_list): Add search routine for imports. |
| 539 | (def_file_add_import): Check for duplicates. |
| 540 | (def_exports): Handle duplicates. |
| 541 | (def_imports): Likewise. |
| 542 | * pe-dll.c (process_def_file_and_drectve): Likewise. |
| 543 | (pe_implied_import_dll): Likewise. |
| 544 | |
| 545 | 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> |
| 546 | |
| 547 | * scripttempl/elf.sc (.exception_ranges): Add new section. |
| 548 | |
| 549 | 2011-04-08 Hector Oron <hector.oron@gmail.com> |
| 550 | |
| 551 | PR ld/12643 |
| 552 | * configure.tgt: Add support for arm-*-gnueabihf targets. |
| 553 | |
| 554 | 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> |
| 555 | |
| 556 | * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. |
| 557 | |
| 558 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
| 559 | |
| 560 | * configure.tgt: Remove stray ;;. |
| 561 | |
| 562 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
| 563 | |
| 564 | * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, |
| 565 | strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, |
| 566 | thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, |
| 567 | xscale-*-coff, xscale-*-elf): Remove targets. |
| 568 | |
| 569 | 2011-03-31 H.J. Lu <hongjiu.lu@intel.com> |
| 570 | |
| 571 | * configure.tgt: Add elf_l1om to targ_extra_libpath for |
| 572 | x86_64-*-linux-*. |
| 573 | |
| 574 | * emulparams/elf_l1om.sh: Remove duplicates. |
| 575 | |
| 576 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
| 577 | |
| 578 | * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, |
| 579 | GENERATE_SHLIB_SCRIPT): New defines. |
| 580 | (TEXT_START_ADDR): Define differently depending on target. |
| 581 | (.got): Redefine to include "*(.dsbt)". |
| 582 | (SDATA_START_SYMBOLS): Remove, replace with |
| 583 | (OTHER_GOT_SYMBOLS): New. |
| 584 | (OTHER_BSS_SECTIONS): Define only for ELF targets. |
| 585 | * emultempl/tic6xdsbt.em: New file. |
| 586 | * gen-doc.texi: Set C6X. |
| 587 | * ld.texinfo: Likewise. |
| 588 | (Options specific to C6X uClinux targets): New section. |
| 589 | |
| 590 | 2011-03-29 Alan Modra <amodra@gmail.com> |
| 591 | |
| 592 | PR ld/12613 |
| 593 | * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. |
| 594 | |
| 595 | 2011-03-26 John Marino <binutils@marino.st> |
| 596 | |
| 597 | * configure.host: Update *-*-dragonfly* host entry. |
| 598 | * configure.tgt: Update *-*-dragonfly* target entry. |
| 599 | * ldlex.l: Prevent redefinition of YY_NO_UNPUT. |
| 600 | |
| 601 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
| 602 | |
| 603 | * configure.in: Check for windows.h, not Windows.h. |
| 604 | * configure: Regenerate. |
| 605 | * plugin.c: Include windows.h, not Windows.h. |
| 606 | |
| 607 | 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> |
| 608 | |
| 609 | * Makefile.in: Regenerate. |
| 610 | |
| 611 | 2011-03-23 Joseph Myers <joseph@codesourcery.com> |
| 612 | |
| 613 | * lexsup.c (parse_args): Only set report_plugin_symbols if plugins |
| 614 | are enabled. Mark level as possibly unused. |
| 615 | |
| 616 | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> |
| 617 | |
| 618 | * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. |
| 619 | (eavrxmega?.c): Likewise. |
| 620 | * configure.tgt (targ_extra_emuls): Likewise. |
| 621 | * emulparams/avrxmega1.sh: New file. |
| 622 | * emulparams/avrxmega2.sh: Likewise. |
| 623 | * emulparams/avrxmega3.sh: Likewise. |
| 624 | * emulparams/avrxmega4.sh: Likewise. |
| 625 | * emulparams/avrxmega5.sh: Likewise. |
| 626 | * emulparams/avrxmega6.sh: Likewise. |
| 627 | * emulparams/avrxmega7.sh: Likewise. |
| 628 | * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): |
| 629 | Add avrxmega6, avrxmega7 to list of architectures for no stubs. |
| 630 | |
| 631 | 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> |
| 632 | |
| 633 | * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. |
| 634 | |
| 635 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
| 636 | |
| 637 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check |
| 638 | eh->target_internal. |
| 639 | |
| 640 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
| 641 | |
| 642 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj |
| 643 | instead of dynamic_sections_created. |
| 644 | |
| 645 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
| 646 | |
| 647 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. |
| 648 | |
| 649 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
| 650 | |
| 651 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. |
| 652 | |
| 653 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
| 654 | |
| 655 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, |
| 656 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. |
| 657 | * ldmain.c (add_archive_element): Set it if the member is claimed. |
| 658 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. |
| 659 | (find_replacements_insert_point): New helper function. |
| 660 | (lang_process): After adding and opening replacement files passed |
| 661 | from plugin, splice them into correct place in statement list and |
| 662 | file chains to preserve critical link order. |
| 663 | (lang_list_insert_after): New helper function. |
| 664 | (lang_list_remove_tail): Likewise. |
| 665 | |
| 666 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
| 667 | |
| 668 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. |
| 669 | (IRONLY_SUFFIX_LEN): Delete. |
| 670 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. |
| 671 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of |
| 672 | enclosing lang input statement instead. |
| 673 | |
| 674 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
| 675 | |
| 676 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve |
| 677 | alignment of input sections when creating orphan output sections |
| 678 | during relocatable link. |
| 679 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. |
| 680 | |
| 681 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
| 682 | |
| 683 | * ld.texinfo: Document --verbose[=NUMBER]. |
| 684 | |
| 685 | * lexsup.c (ld_options): Update --verbose. |
| 686 | (parse_args): Set report_plugin_symbols. |
| 687 | |
| 688 | * plugin.c (report_plugin_symbols): New. |
| 689 | (get_symbols): Report plugin symbols if report_plugin_symbols |
| 690 | is TRUE. |
| 691 | |
| 692 | * plugin.h (report_plugin_symbols): New. |
| 693 | |
| 694 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
| 695 | |
| 696 | PR ld/12529 |
| 697 | * testplug.c: Don't include "filenames.h". |
| 698 | (onclaim_file): Don't use filename_cmp. |
| 699 | |
| 700 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
| 701 | |
| 702 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. |
| 703 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): |
| 704 | Likewise. |
| 705 | (gld${EMULATION_NAME}_stat_needed): Likewise. |
| 706 | (gld${EMULATION_NAME}_check_needed): Likewise. |
| 707 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. |
| 708 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. |
| 709 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. |
| 710 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. |
| 711 | * ldfile.c (ldfile_open_file): Likewise. |
| 712 | * ldlang.c (wild_sort): Likewise. |
| 713 | (lookup_name): Likewise. |
| 714 | (check_excluded_libs): Likewise. |
| 715 | * ldmisc.c (vfinfo): Likewise. |
| 716 | * pe-dll.c (libnamencmp): Likewise. |
| 717 | (auto_export): Likewise. |
| 718 | (pe_dll_generate_implib): Likewise. |
| 719 | * testplug.c (onclaim_file): Likewise. |
| 720 | |
| 721 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
| 722 | |
| 723 | PR ld/12507 |
| 724 | * plugin.c (get_symbols): Don't check entry symbol here. |
| 725 | (init_non_ironly_hash): Add entry_symbol chain into |
| 726 | non_ironly_hash. |
| 727 | |
| 728 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
| 729 | |
| 730 | PR ld/12507 |
| 731 | * plugin.c (get_symbols): Don't mark entry symbol IR only. |
| 732 | |
| 733 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
| 734 | |
| 735 | PR ld/12376 |
| 736 | emulparams/hppalinux.sh (DATA_ADDR): Define. |
| 737 | (SHLIB_DATA_ADDR): Likewise. |
| 738 | |
| 739 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
| 740 | |
| 741 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to |
| 742 | x32 for x32. |
| 743 | |
| 744 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
| 745 | |
| 746 | * pe-dll.c (process_def_file_and_drectve): Don't strip |
| 747 | leading underscore from symbol by calling bfd_find_version_for_sym. |
| 748 | |
| 749 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
| 750 | |
| 751 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to |
| 752 | the bfd_demangle of sym, change users of sym to c_sym when not |
| 753 | already demangling, and free when done. Change callers of |
| 754 | cplus_demangle to bfd_demangle. |
| 755 | |
| 756 | 2011-02-14 Alan Modra <amodra@gmail.com> |
| 757 | |
| 758 | * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy |
| 759 | .text section, use newer bfd_make_section variant. Error handling. |
| 760 | Correct setting of gp size. |
| 761 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. |
| 762 | (message): Likewise for ACONCAT. |
| 763 | (get_symbols): Formatting. |
| 764 | |
| 765 | 2011-02-14 Alan Modra <amodra@gmail.com> |
| 766 | |
| 767 | * ldmain.c (remove_output): Rename to.. |
| 768 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. |
| 769 | (main): Adjust. |
| 770 | * plugin.c (plugin_call_cleanup): Make global. |
| 771 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. |
| 772 | * plugin.h (plugin_call_cleanup): Declare. |
| 773 | |
| 774 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 775 | |
| 776 | * configure: Regenerate. |
| 777 | |
| 778 | 2011-02-10 Alan Modra <amodra@gmail.com> |
| 779 | |
| 780 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. |
| 781 | * scripttempl/avr.sc: Likewise. |
| 782 | * scripttempl/elf32cr16.sc: Likewise. |
| 783 | * scripttempl/elf32crx.sc: Likewise. |
| 784 | * scripttempl/elf32msp430.sc: Likewise. |
| 785 | * scripttempl/elf32msp430_3.sc: Likewise. |
| 786 | * scripttempl/elf32sh-symbian.sc: Likewise. |
| 787 | * scripttempl/elf64hppa.sc: Likewise. |
| 788 | * scripttempl/elf_chaos.sc: Likewise. |
| 789 | * scripttempl/elfd10v.sc: Likewise. |
| 790 | * scripttempl/elfd30v.sc: Likewise. |
| 791 | * scripttempl/elfi370.sc: Likewise. |
| 792 | * scripttempl/elfm68hc11.sc: Likewise. |
| 793 | * scripttempl/elfm68hc12.sc: Likewise. |
| 794 | * scripttempl/elfxtensa.sc: Likewise. |
| 795 | * scripttempl/ip2k.sc: Likewise. |
| 796 | * scripttempl/iq2000.sc: Likewise. |
| 797 | * scripttempl/mep.sc: Likewise. |
| 798 | * scripttempl/mmo.sc: Likewise. |
| 799 | * scripttempl/v850.sc: Likewise. |
| 800 | * scripttempl/xstormy16.sc: Likewise. |
| 801 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. |
| 802 | |
| 803 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
| 804 | |
| 805 | * Makefile.am (CXX): Removed. |
| 806 | |
| 807 | * configure.in: Add AC_PROG_CXX. |
| 808 | |
| 809 | * Makefile.in: Regenerated. |
| 810 | * configure: Likewise. |
| 811 | |
| 812 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
| 813 | |
| 814 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's |
| 815 | private data and GP size. |
| 816 | |
| 817 | 2011-01-21 Alan Modra <amodra@gmail.com> |
| 818 | |
| 819 | * ldexp.c (fold_binary): Set result section for arithmetic and |
| 820 | logical operations to NULL when both operands are in same section. |
| 821 | * ld.texinfo (Expression Section): Describe this. |
| 822 | |
| 823 | 2011-01-14 Alan Modra <amodra@gmail.com> |
| 824 | |
| 825 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
| 826 | attempt to put non-alloc orphans before debug sections, just place |
| 827 | them after .comment. |
| 828 | |
| 829 | 2011-01-14 J. Park <grassman@gmail.com> |
| 830 | |
| 831 | PR ld/12339 |
| 832 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. |
| 833 | |
| 834 | 2011-01-14 Alan Modra <amodra@gmail.com> |
| 835 | |
| 836 | * Makefile.am: Sort emulation rules. |
| 837 | (eelf32am33lin.c): Delete. |
| 838 | (ALL_EMULATION_SOURCES): Sort, add missing entries. |
| 839 | (ALL_64_EMULATION_SOURCES): Likewise. |
| 840 | * Makefile.in: Regenerate. |
| 841 | |
| 842 | 2011-01-13 Alan Modra <amodra@gmail.com> |
| 843 | |
| 844 | PR ld/12356 |
| 845 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. |
| 846 | (Expression Section): Update. |
| 847 | * ld.h (ld_config_type): Add sane_expr. |
| 848 | * ldgram.y (ifile_p1): Add LD_FEATURE. |
| 849 | * ldlex.l (LD_FEATYRE): New. |
| 850 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. |
| 851 | * ldexp.h (struct ldexp_control): Delete uses_defined. |
| 852 | * ldexp.c: Remove all uses of uses_defined. |
| 853 | (fold_name): Test config.sane_expr rather than ld_compatibility. |
| 854 | (exp_fold_tree_1): Likewise. Adjust handling of assignments |
| 855 | during first phase. |
| 856 | * ldlang.h (ld_compatibility): Delete. |
| 857 | (lang_ld_feature): Declare. |
| 858 | * ldlang.c (ld_compatibility): Delete. |
| 859 | (open_input_bfds): Only handle assignments for --defsym. |
| 860 | (lang_ld_feature): New function. |
| 861 | |
| 862 | PR ld/12356 |
| 863 | * ldexp.h (exp_assop): Delete. |
| 864 | (exp_assign, exp_defsym): Declare. |
| 865 | * ldexp.c (exp_assop): Make static, handle all assignment variations. |
| 866 | (exp_assign, exp_defsym): New functions. |
| 867 | (exp_provide): Use exp_assop. |
| 868 | * ldgram.y (defsym_expr): Use exp_defsym. |
| 869 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, |
| 870 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, |
| 871 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. |
| 872 | |
| 873 | 2011-01-12 Alan Modra <amodra@gmail.com> |
| 874 | |
| 875 | PR ld/12380 |
| 876 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. |
| 877 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test |
| 878 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum |
| 879 | to detect when we've finished sizing sections. |
| 880 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. |
| 881 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test |
| 882 | that we are not inside an output section statement. |
| 883 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if |
| 884 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set |
| 885 | lang_final_phase_enum here. |
| 886 | (lang_process): Set lang_final_phase_enum here. |
| 887 | |
| 888 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
| 889 | |
| 890 | * po/da.po: Updated Danish translation. |
| 891 | |
| 892 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
| 893 | |
| 894 | * ldlang.c (startup_file): Removed. |
| 895 | (lang_startup): Updated. |
| 896 | |
| 897 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
| 898 | |
| 899 | PR ld/12364 |
| 900 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL |
| 901 | before accessing its flags field. |
| 902 | |
| 903 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
| 904 | |
| 905 | * ldver.c (ldversion): Update copyright to 2011. |
| 906 | |
| 907 | For older changes see ChangeLog-2010 |
| 908 | \f |
| 909 | Local Variables: |
| 910 | mode: change-log |
| 911 | left-margin: 8 |
| 912 | fill-column: 74 |
| 913 | version-control: never |
| 914 | End: |