| 1 | 2009-04-25 Alan Modra <amodra@bigpond.net.au> |
| 2 | |
| 3 | PR 10061 |
| 4 | * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT |
| 5 | param. |
| 6 | |
| 7 | 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 8 | |
| 9 | * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) |
| 10 | (arm_elf_set_bfd_for_interworking): Delete. |
| 11 | (arm_elf_before_allocation): Do not set the interworking BFD. |
| 12 | Move allocation inside not-dynamic block. |
| 13 | (arm_elf_create_output_section_statements): Create glue sections |
| 14 | and set the interworking BFD here. |
| 15 | (LDEMUL_AFTER_OPEN): Delete. |
| 16 | |
| 17 | 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 18 | |
| 19 | * ldlang.c (lang_one_common): Use bfd_define_common_symbol. |
| 20 | |
| 21 | 2009-04-15 Anthony Green <green@moxielogic.com> |
| 22 | |
| 23 | * configure.tgt: Add moxie support. |
| 24 | * Makefile.am: Add moxie files. |
| 25 | * Makefile.in: Rebuilt. |
| 26 | * emulparams/elf32moxie.sh: New file. |
| 27 | * scripttempl/moxie.sc: New file. |
| 28 | |
| 29 | 2009-04-15 Kazu Hirata <kazu@codesourcery.com> |
| 30 | |
| 31 | * ldlang.c: Do not include limits.h. |
| 32 | |
| 33 | 2009-04-14 Alan Modra <amodra@bigpond.net.au> |
| 34 | |
| 35 | PR ld/10047 |
| 36 | * ldfile.c (find_scripts_dir): Use make_relative_prefix to find |
| 37 | ldscripts in build tree. Don't repeat search for ../lib/ldscripts. |
| 38 | |
| 39 | 2009-04-13 H.J. Lu <hongjiu.lu@intel.com> |
| 40 | |
| 41 | * ldfile.c (ldfile_find_command_file): Revert the last change. |
| 42 | |
| 43 | 2009-04-11 H.J. Lu <hongjiu.lu@intel.com> |
| 44 | |
| 45 | PR ld/10047 |
| 46 | * ldfile.c (ldfile_find_command_file): First try raw name. |
| 47 | |
| 48 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
| 49 | |
| 50 | PR 9824 |
| 51 | * ld.texinfo (Output Section Constraint): New node. Documents the |
| 52 | ONLY_IF_RO and ONLY_IF_RW constraints. |
| 53 | (Symbolic Constants): New node. Documents the CONSTANT operator. |
| 54 | |
| 55 | 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> |
| 56 | |
| 57 | * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place |
| 58 | of fork/execvp. |
| 59 | |
| 60 | 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> |
| 61 | |
| 62 | * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. |
| 63 | (ld_options): Likewise. |
| 64 | (parse_args): Likewise. |
| 65 | |
| 66 | * ld.texinfo: Document --warn-alternate-em. |
| 67 | |
| 68 | * NEWS: Mention --warn-alternate-em. |
| 69 | |
| 70 | 2009-04-07 DJ Delorie <dj@redhat.com> |
| 71 | |
| 72 | * emulparams/elf32mep.sh: Change default endian to little. |
| 73 | |
| 74 | 2009-04-07 Nick Clifton <nickc@redhat.com> |
| 75 | |
| 76 | * ld.texinfo (Output Section Address): Note that specifying an |
| 77 | address for an output section will only change the location |
| 78 | counter if the output section is used. |
| 79 | |
| 80 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
| 81 | |
| 82 | * ldfile.c (ldfile_find_command_file): Initialize result. |
| 83 | |
| 84 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
| 85 | |
| 86 | * ld.texinfo (-L): Mention that -L options do not affect how ld |
| 87 | searches for a linker script unless -T option is specified. |
| 88 | * ldfile.c (ldfile_find_command_file): Append the path obtained |
| 89 | from the program name to the search path instead of |
| 90 | prepending. Add a new parameter "default_only". Restrict the |
| 91 | search to the default script location if the new parameter is |
| 92 | true. |
| 93 | (ldfile_open_command_file_1): New. |
| 94 | (ldfile_open_command_file): Call ldfile_open_command_file_1. |
| 95 | (ldfile_open_default_command_file): New. |
| 96 | |
| 97 | 2009-04-03 Nathan Sidwell <nathan@codesourcery.com> |
| 98 | |
| 99 | * ldlang.c (lang_leave_output_section_statement): Set lma_region |
| 100 | if it is not overridden and section is for the same vma region as |
| 101 | the previous section. |
| 102 | |
| 103 | 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> |
| 104 | |
| 105 | PR ld/6744 |
| 106 | * ld.texinfo (--export-dynamic): Mention --export-all-symbols. |
| 107 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue |
| 108 | warning if --export-dynamic was passed on command-line. |
| 109 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. |
| 110 | |
| 111 | 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 112 | |
| 113 | * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New |
| 114 | function. |
| 115 | (ld_${EMULATION_NAME}_emulation): Use it. |
| 116 | |
| 117 | 2009-03-20 H.J. Lu <hongjiu.lu@intel.com> |
| 118 | |
| 119 | PR ld/9970 |
| 120 | * ldlang.c (lang_end): Warn missing entry symbol for -pie. |
| 121 | |
| 122 | 2009-03-19 Alan Modra <amodra@bigpond.net.au> |
| 123 | |
| 124 | * emultempl/spuelf.em (spu_before_allocation): Report errors from |
| 125 | spu_elf_find_overlays. |
| 126 | |
| 127 | 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 128 | |
| 129 | PR ld/6766 |
| 130 | * lexsup.c (parse_args): Call ldlang_add_undef for -e. |
| 131 | |
| 132 | 2009-03-18 Alan Modra <amodra@bigpond.net.au> |
| 133 | |
| 134 | * ld.h: Remove alloca handling. |
| 135 | |
| 136 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
| 137 | |
| 138 | * emultempl/spu_icache.S: Add new entry to dummy handler. |
| 139 | * emultempl/spu_icache.o_c: Regenerate. |
| 140 | * emultempl/spuelf.em (params): Init new field. |
| 141 | (no_overlays): New static var. |
| 142 | (spu_before_allocation): Use it. |
| 143 | (OPTION_SPU_COMPACT_STUBS): Define. |
| 144 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. |
| 145 | (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays |
| 146 | handling. |
| 147 | |
| 148 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
| 149 | |
| 150 | * configure.host (HOSTING_LIBS): Two dollars on shell variable |
| 151 | expansion to suit make. |
| 152 | |
| 153 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
| 154 | |
| 155 | * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. |
| 156 | * Makefile.am (check-DEJAGNU): Set DO_COMPARE. |
| 157 | * aclocal.m4: Regenerate. |
| 158 | * configure: Regenerate. |
| 159 | * Makefile.in: Regenerate. |
| 160 | |
| 161 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 162 | |
| 163 | * emultempl/aix.em (auto_export_flags): New variable. |
| 164 | (explicit_auto_export_flags): Likewise. |
| 165 | (OPTION_EXPALL, OPTION_EXPFULL): New enum values. |
| 166 | (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. |
| 167 | (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, |
| 168 | -bnoexpall and -bnoexpfull. |
| 169 | (gld${EMULATION_NAME}_handle_option): Handle them. |
| 170 | (gld${EMULATION_NAME}_before_allocation): Update the call to |
| 171 | bfd_size_dynamic_sections. |
| 172 | |
| 173 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 174 | |
| 175 | * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make |
| 176 | -berok and -bernotok control link_info.unresolved_syms_in_objects |
| 177 | and link_info.unresolved_syms_in_shared_libs instead of |
| 178 | force_make_executable. |
| 179 | |
| 180 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 181 | |
| 182 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set |
| 183 | config.dynamic_link to TRUE. |
| 184 | |
| 185 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 186 | |
| 187 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark |
| 188 | .text, .data and .bss output sections as SEC_KEEP. |
| 189 | |
| 190 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 191 | |
| 192 | * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. |
| 193 | |
| 194 | 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> |
| 195 | Danny Smith <dannysmith@users.sourceforge.net> |
| 196 | |
| 197 | * emultmpl/pe.em (pe_dll_characteristics): New variable. |
| 198 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, |
| 199 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, |
| 200 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): |
| 201 | New macros for options to set DllCharacteristics flag bits. |
| 202 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, |
| 203 | nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. |
| 204 | (init): Add DllCharacteristics field. |
| 205 | (gld_${EMULATION_NAME}_list_options): List new options. |
| 206 | (gld${EMULATION_NAME}_handle_option): Handle new options. |
| 207 | * emultmpl/pep.em (pe_dll_characteristics): New variable. |
| 208 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, |
| 209 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, |
| 210 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): |
| 211 | New macros for options to set DllCharacteristics flags. |
| 212 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, |
| 213 | nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. |
| 214 | (init): Add DllCharacteristics field. |
| 215 | (gld_${EMULATION_NAME}_list_options): List new options. |
| 216 | (gld${EMULATION_NAME}_handle_option): Handle new options. |
| 217 | * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, |
| 218 | no-isolation, no-seh, no-bind, wdmdriver, tsaware options. |
| 219 | |
| 220 | 2009-03-06 Nick Clifton <nickc@redhat.com> |
| 221 | |
| 222 | * po/es.po: Updated Spanish translation. |
| 223 | |
| 224 | 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> |
| 225 | |
| 226 | * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. |
| 227 | (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections |
| 228 | of all input BFDs, looking for debug info. Enable long section names |
| 229 | if any found. |
| 230 | * emultempl/pe.em (debug_section_p): Likewise. |
| 231 | (gld_${EMULATION_NAME}_after_open): Likewise. |
| 232 | * NEWS: Retrospectively adjust news announcement. |
| 233 | * ld.texinfo: Update documentation to mention new behaviour. |
| 234 | |
| 235 | 2009-03-03 Alan Modra <amodra@bigpond.net.au> |
| 236 | |
| 237 | * Makefile.am: Run "make dep-am". |
| 238 | * Makefile.in: Regenerate. |
| 239 | |
| 240 | 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
| 241 | |
| 242 | * ldgram.y: Add support for REGION_ALIAS operator. |
| 243 | * ldlang.c: Likewise. |
| 244 | * ldlang.h: Likewise. |
| 245 | * ldlex.l: Likewise. |
| 246 | * NEWS: Mention the new feature. |
| 247 | * ld.texinfo: Document the new feature. |
| 248 | |
| 249 | 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> |
| 250 | |
| 251 | * Makefile.am: Replace score elf emulation with score3 and score7 |
| 252 | emulations. |
| 253 | * Makefile.in: Regenerate, |
| 254 | * NEWS: Mention support for Score7 architecture. |
| 255 | * configure.tgt: Add score7 emulation to score-elf target. |
| 256 | * emulparams/scoreelf.sh: Add score7 support. |
| 257 | * emultempl/scoreelf.em: Likewise. |
| 258 | |
| 259 | 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
| 260 | |
| 261 | * configure.tgt: Only use elf64hppa target emulation for hpux. |
| 262 | * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. |
| 263 | (SCRIPT_NAME): Use new script elf64hppa. |
| 264 | (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, |
| 265 | TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, |
| 266 | OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, |
| 267 | DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, |
| 268 | TEXT_DYNAMIC): Define. |
| 269 | * emulparams/hppa64linux.sh: Adjust comments. |
| 270 | * scripttempl/elf64hppa.sc: New file. |
| 271 | |
| 272 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 273 | |
| 274 | * configure: Regenerate. |
| 275 | |
| 276 | 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> |
| 277 | |
| 278 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set |
| 279 | default state of auto-import flag based on $target. |
| 280 | |
| 281 | 2009-02-24 Joseph Myers <joseph@codesourcery.com> |
| 282 | |
| 283 | * ld.texinfo (ARM): Document changed meaning of --stub-group-size. |
| 284 | * emultempl/armelf.em (hook_in_stub): Insert after the input section. |
| 285 | (elf32_arm_add_stub_section): Update comment. |
| 286 | (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. |
| 287 | |
| 288 | 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> |
| 289 | |
| 290 | * ld.texinfo (Options): Correct typos in example. Recommend |
| 291 | using joined forms of syntax for passing options with arguments |
| 292 | from a driver. |
| 293 | (-a): Use consistent syntax for documenting option arguments. |
| 294 | Clean up indexing and markup. |
| 295 | (-A/--architecture): Likewise. |
| 296 | (-f/--auxiliary): Likewise. |
| 297 | (-F/--filter): Likewise. |
| 298 | (-fini): Likewise. |
| 299 | (-G/--gpsize): Likewise. |
| 300 | (-h/-soname):Likewise. |
| 301 | (-init): Likewise. |
| 302 | (-l/--library): Likewise. |
| 303 | (-L/--library-path): Likewise. |
| 304 | (-m): Likewise. |
| 305 | (--defsym): Likewise. |
| 306 | (-I/--dynamic-linker): Likewise. |
| 307 | (-Map): Likewise. |
| 308 | (--oformat): Likewise. |
| 309 | (--retain-symbols-file): Likewise. |
| 310 | (-rpath): Likewise. |
| 311 | (-rpath-link): Likewise. |
| 312 | (--sort-common): Likewise. |
| 313 | (--sort-section): Likewise. |
| 314 | (--split-by-file): Likewise. |
| 315 | (--split-by-reloc): Likewise. |
| 316 | (--sysroot): Likewise. |
| 317 | (--section-start): Likewise. |
| 318 | (-Tbss, -Tdata, -Ttext): Likewise. |
| 319 | (-Ttext-segment): Likewise. |
| 320 | (--version-script): Likewise. |
| 321 | (--wrap): Likewise. |
| 322 | |
| 323 | 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> |
| 324 | |
| 325 | * ld.texinfo: Update to mention long section name options. |
| 326 | * NEWS: Mention new behaviour and command-line options. |
| 327 | * pe-dll.c (pe_use_coff_long_section_names): New global variable. |
| 328 | (pe_output_file_set_long_section_names): New function. |
| 329 | (pe_dll_build_sections): Call it on output BFDs. |
| 330 | (pe_exe_build_sections): Likewise. |
| 331 | (pe_dll_fill_sections): Likewise. |
| 332 | (pe_exe_fill_sections): Likewise. |
| 333 | * pe-dll.h (pe_use_coff_long_section_names): Declare extern. |
| 334 | (pe_output_file_set_long_section_names): Add prototype. |
| 335 | * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. |
| 336 | (pe_output_file_set_long_section_names): Likewise. |
| 337 | * pep-dll.h (pep_use_coff_long_section_names): Declare extern. |
| 338 | (pep_output_file_set_long_section_names): Add prototype. |
| 339 | * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. |
| 340 | (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. |
| 341 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. |
| 342 | (gld_${EMULATION_NAME}_list_options): Describe them. |
| 343 | (gld${EMULATION_NAME}_handle_option): Set or clear global |
| 344 | pe_use_coff_long_section_names flag when options recognised. |
| 345 | (gld_${EMULATION_NAME}_after_open): En/disable long section names |
| 346 | for main output bfd by calling pe_output_file_set_long_section_names. |
| 347 | * pep.em (enum options): Extend enum with new getopt option values. |
| 348 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. |
| 349 | (gld_${EMULATION_NAME}_list_options): Describe them. |
| 350 | (gld${EMULATION_NAME}_handle_option): Set or clear global |
| 351 | pe_use_coff_long_section_names flag when options recognised. |
| 352 | (gld_${EMULATION_NAME}_after_open): En/disable long section names |
| 353 | for main output bfd by calling pep_output_file_set_long_section_names. |
| 354 | |
| 355 | 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> |
| 356 | |
| 357 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit |
| 358 | inadvertent .reloc sections caused by refactoring accident. |
| 359 | |
| 360 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
| 361 | |
| 362 | * ldlang.c (process_insert_statements): ASSERT that output section |
| 363 | statements are in order. |
| 364 | |
| 365 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
| 366 | |
| 367 | * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. |
| 368 | (stat_save, stat_save_ptr): New variables. |
| 369 | (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. |
| 370 | (load_symbols): Likewise. Delete dead "bad_load" code. |
| 371 | (open_input_bfds): Warn on script containing output sections. |
| 372 | (lang_enter_output_section_statement): Use push_stat_ptr. |
| 373 | (lang_enter_group): Likewise. |
| 374 | (lang_leave_output_section_statement): Use pop_stat_ptr. |
| 375 | (lang_leave_group): Likewise. |
| 376 | * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. |
| 377 | * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. |
| 378 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. |
| 379 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. |
| 380 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. |
| 381 | * emultempl/spuelf.em (spu_place_special_section): Likewise. |
| 382 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. |
| 383 | |
| 384 | 2009-02-09 Nathan Sidwell <nathan@codesourcery.com> |
| 385 | |
| 386 | Missing piece of 2009-01-26 commit |
| 387 | * ldlang.c (lang_process): Don't consider relocatable flag when |
| 388 | checking for overlap. |
| 389 | |
| 390 | 2009-02-05 Joseph Myers <joseph@codesourcery.com> |
| 391 | |
| 392 | * emulparams/m68kelf.sh: Add newline at end of file. |
| 393 | |
| 394 | 2009-02-04 Nick Clifton <nickc@redhat.com> |
| 395 | |
| 396 | PR 9805 |
| 397 | * ld.texinfo (--allow-shlib-undefined): Correct description of |
| 398 | default settings and tidy up the rest of the entry. |
| 399 | |
| 400 | 2009-02-04 Alan Modra <amodra@bigpond.net.au> |
| 401 | |
| 402 | * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* |
| 403 | during relocatable link. |
| 404 | |
| 405 | 2009-02-03 Nick Clifton <nickc@redhat.com> |
| 406 | |
| 407 | PR 9797 |
| 408 | * ld.texinfo (Constants): Document the base-encoding suffixes |
| 409 | supported in linker scripts. |
| 410 | |
| 411 | 2009-02-03 Alan Modra <amodra@bigpond.net.au> |
| 412 | |
| 413 | * NEWS: Mention --as-needed change. |
| 414 | |
| 415 | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> |
| 416 | |
| 417 | * configure.in: AC_SUBST pdfdir. |
| 418 | * Makefile.am: Add install-pdf, install-pdf-am, |
| 419 | and install-pdf-recursive targets. Define pdf__strip_dir. |
| 420 | * po/Make-in: Add install-pdf target. |
| 421 | * configure: Regenerate. |
| 422 | * Makefile.in: Regenerate. |
| 423 | |
| 424 | 2009-01-31 Alan Modra <amodra@bigpond.net.au> |
| 425 | |
| 426 | * ld.texinfo (--as-needed): Update. |
| 427 | |
| 428 | 2009-01-29 Andrew Jenner <andrew@codesourcery.com> |
| 429 | |
| 430 | * emultempl/armelf.em: Correct formatting of help text for |
| 431 | --no-enum-size-warning option. |
| 432 | |
| 433 | 2009-01-26 Nathan Sidwell <nathan@codesourcery.com> |
| 434 | |
| 435 | * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. |
| 436 | * ld.h (args_type): Make check_section_addresses a char. |
| 437 | * ldmain.c (main): Default check_section_addresses to -1. Check it |
| 438 | for relocatable links. |
| 439 | * ld.texinfo (--check-sections): Update documentation. |
| 440 | |
| 441 | 2009-01-26 Kai Tietz <kai.tietz@onevision.com> |
| 442 | |
| 443 | * pe-dll.c (tmp_seq2): New static variable. |
| 444 | (make_singleton_name_imp): New. |
| 445 | (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and |
| 446 | avoid duplicate import table generation for same symbol. |
| 447 | (pe_create_runtime_relocator_reference): Make reference for |
| 448 | 64-bit 8 bytes. |
| 449 | |
| 450 | 2009-01-21 Alan Modra <amodra@bigpond.net.au> |
| 451 | |
| 452 | * emultempl/spuelf.em (params): Init new field. |
| 453 | (OPTION_SPU_NON_IA_TEXT): Define. |
| 454 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. |
| 455 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. |
| 456 | |
| 457 | 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> |
| 458 | |
| 459 | * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. |
| 460 | (ld_options): Add -Ttext-segment. |
| 461 | (parse_args): Handle OPTION_TTEXT_SEGMENT. |
| 462 | |
| 463 | * ld.texinfo: Document -Ttext-segment. |
| 464 | |
| 465 | * NEWS: Mention -Ttext-segment. |
| 466 | |
| 467 | * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. |
| 468 | (SHLIB_TEXT_START_ADDR): Likewise. |
| 469 | |
| 470 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
| 471 | |
| 472 | * emultempl/spu_icache.o_c: Regenerate. |
| 473 | |
| 474 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
| 475 | |
| 476 | * emultempl/spuelf.em (params): Init new fields. |
| 477 | (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. |
| 478 | (spu_place_special_section): Adjust placement for soft-icache. Pad |
| 479 | soft-icache section to a fixed size. Clear addr_tree. |
| 480 | (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager |
| 481 | sections a little more intelligently. |
| 482 | (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. |
| 483 | (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. |
| 484 | (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. |
| 485 | (OPTION_SPU_LRLIVE): Define. |
| 486 | (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. |
| 487 | (PARSE_AND_LIST_OPTIONS): Likewise. |
| 488 | (PARSE_AND_LIST_ARGS_CASES): Handle them. |
| 489 | * emultempl/spu_icache.S: Dummy file. |
| 490 | * emultempl/spu_icache.o_c: Regenerate. |
| 491 | * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. |
| 492 | (spu_icache.o_c): Add rule to build. |
| 493 | (CLEANFILES): Zap temp files. |
| 494 | (EXTRA_DIST): Add spu_icache.o_c. |
| 495 | * Makefile.in: Regenerate. |
| 496 | |
| 497 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
| 498 | |
| 499 | * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. |
| 500 | (gld..._add_options): Add new option |
| 501 | --use-nul-prefixed-import-tables. |
| 502 | (gld..._handle_option): Likewise. |
| 503 | * pep.em: Same as for pe.em. |
| 504 | * ld.texinfo: Add new option documentation for |
| 505 | --use-nul-prefixed-import-tables. |
| 506 | * pe-dll.c (pe_use_nul_prefixed_import_tables): New. |
| 507 | (make_head): Make prefix leading zero prefix element for |
| 508 | idata$4 and idata$5 dependent to new flag. |
| 509 | (make_import_fixup_entry): Remove idata4/5 prefix. |
| 510 | * pe-dll.h (pe_use_nul_prefixed_import_tables): New. |
| 511 | * pep-dll.c (pe_use_nul_prefixed_import_tables): New. |
| 512 | * pep-dll.h (pep_use_nul_prefixed_import_tables): New. |
| 513 | * NEWS: Add new option. |
| 514 | |
| 515 | 2009-01-05 Kai Tietz <kai.tietz@onevision.com> |
| 516 | |
| 517 | * emultempl/pe.em: Prefix dollar characters to be outputed in |
| 518 | generated C file. |
| 519 | * emultempl/pep.em: Likewise. |
| 520 | |
| 521 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
| 522 | |
| 523 | * NEWS: Mention new feature --exclude-modules-for-implib. |
| 524 | * ld.texinfo: Document new --exclude-modules-for-implib option. |
| 525 | * pe-dll.c (exclude_list_struct): Change type member from int to |
| 526 | new enumeration exclude_type. |
| 527 | (pe_dll_add_excludes): Accept exclude_type instead of int param. |
| 528 | (auto_export): Replace magic constants by exclude_type values and |
| 529 | handle new choice EXCLUDEFORIMPLIB. |
| 530 | (pe_dll_generate_implib): Accept a pointer to the link_info and |
| 531 | iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open |
| 532 | fresh BFDs for any found and link into import lib archive chain. |
| 533 | * pe-dll.h (exclude_type): Add new enumerated type to replace magic |
| 534 | constants previously used for exclude_list_struct type member. |
| 535 | (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. |
| 536 | * pep-dll.h (exclude_type, pe_dll_add_excludes, |
| 537 | pe_dll_generate_implib): Likewise to all the above. |
| 538 | * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new |
| 539 | getopts long option code for new --exclude-modules-for-implib option. |
| 540 | (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. |
| 541 | (gld_${EMULATION_NAME}_list_options): List usage for it. |
| 542 | (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated |
| 543 | values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. |
| 544 | (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when |
| 545 | calling pe_dll_generate_implib. |
| 546 | * emultempl/pep.em (options): Define new enumerated value for getopts |
| 547 | long option code for new --exclude-modules-for-implib option. |
| 548 | (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, |
| 549 | gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): |
| 550 | Again, likewise to all the above. |
| 551 | |
| 552 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
| 553 | |
| 554 | * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. |
| 555 | (libnamencmp): New function. |
| 556 | (auto_export): Use it in place of strncmp when filtering libraries. |
| 557 | |
| 558 | For older changes see ChangeLog-2008 |
| 559 | \f |
| 560 | Local Variables: |
| 561 | mode: change-log |
| 562 | left-margin: 8 |
| 563 | fill-column: 74 |
| 564 | version-control: never |
| 565 | End: |