| 1 | 2005-04-29 Ben Elliston <bje@au.ibm.com> |
| 2 | |
| 3 | * ldgram.y (lang_memory_region_type): Make static. |
| 4 | (ldgram_want_filename): Likewise. |
| 5 | * ldemul.c (ld_emulation): Make static. |
| 6 | * ldfile.h (ldfile_find_command_file): Remove extern. |
| 7 | * ldfile.c (ldfile_find_command_file): Make static. |
| 8 | * ldlang.h (unique_section_list): Remove extern declaration. |
| 9 | * ldlang.c (unique_section_list): Make static. |
| 10 | * mri.h (symbol_truncate): Remove extern declaration. |
| 11 | * mri.c (symbol_truncate): Make static. |
| 12 | (order, only_load, address, alias): Likewise. |
| 13 | (alignment, subalignment): Likewise. |
| 14 | |
| 15 | 2005-04-27 H.J. Lu <hongjiu.lu@intel.com> |
| 16 | |
| 17 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): |
| 18 | Use the first SEC_ALLOC section which isn't SEC_READONLY or the |
| 19 | last SEC_ALLOC section if such a section doesn't exist. |
| 20 | |
| 21 | 2005-04-24 Mark Kettenis <kettenis@gnu.org> |
| 22 | |
| 23 | * configure.host: Add *-*-openbsd support. |
| 24 | |
| 25 | 2005-04-15 Julian Brown <julian@codesourcery.com> |
| 26 | |
| 27 | * ld.texinfo: Document --use-blx. |
| 28 | * emultempl/armelf.em (use_blx): New variable. |
| 29 | (arm_elf_create_output_section_statements): Communicate value of |
| 30 | use_blx to bfd. |
| 31 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. |
| 32 | (PARSE_AND_LIST_OPTIONS): Add --use-blx option. |
| 33 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. |
| 34 | |
| 35 | 2005-04-14 Alan Modra <amodra@bigpond.net.au> |
| 36 | |
| 37 | * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. |
| 38 | * configure.in: Include ../bfd/warning.m4 contents. |
| 39 | * Makefile.in: Regenerate. |
| 40 | * configure: Regenerate. |
| 41 | |
| 42 | 2005-04-12 Alan Modra <amodra@bigpond.net.au> |
| 43 | |
| 44 | * Makefile.am: Run "make dep-am". |
| 45 | (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. |
| 46 | * Makefile.in: Regenerate. |
| 47 | * config.in: Regenerate. |
| 48 | |
| 49 | 2005-04-11 Alan Modra <amodra@bigpond.net.au> |
| 50 | |
| 51 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore |
| 52 | as_needed libs that were not needed. |
| 53 | (gld${EMULATION_NAME}_check_needed): Likewise. |
| 54 | |
| 55 | 2005-04-07 Nick Clifton <nickc@redhat.com> |
| 56 | |
| 57 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that |
| 58 | ldfile.h can use the lang_input_statement type. |
| 59 | |
| 60 | 2005-04-06 Jakub Jelinek <jakub@redhat.com> |
| 61 | |
| 62 | * ldlang.c: Formatting. |
| 63 | (walk_wild_consider_section): Remember return value from wildcardp. |
| 64 | (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. |
| 65 | (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. |
| 66 | |
| 67 | 2005-04-06 Robert O'Callahan <rocallahan@novell.com> |
| 68 | |
| 69 | * ld.h (lean_section_userdata_type): Remove. |
| 70 | (fat_section_userdata_type): Remove file field. |
| 71 | (SECTION_USERDATA_SIZE): Remove. |
| 72 | * ldlang.c (init_os): Eliminate initialization of unused |
| 73 | lean_section_userdata_type. |
| 74 | |
| 75 | * ldlang.h (callback_t, walk_wild_section_handler_t): New |
| 76 | typedefs. |
| 77 | (struct lang_wild_statement_struct): Add walk_wild_section_handler |
| 78 | and handler_data fields. |
| 79 | * ldlang.c (callback_t): Removed. |
| 80 | (walk_wild_consider_section, walk_wild_section_general, |
| 81 | section_iterator_callback, find_section, is_simple_wild, |
| 82 | match_simple_wild, walk_wild_section_specs1_wild0, |
| 83 | walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, |
| 84 | walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, |
| 85 | wild_spec_can_overlap, analyze_walk_wild_section_handler): New |
| 86 | functions. |
| 87 | (lang_add_wild): Call analyze_walk_wild_section_handler. |
| 88 | (walk_wild_section): Renamed to walk_wild_section_general and |
| 89 | created a wrapper function. |
| 90 | (section_iterator_callback_data): New typedef. |
| 91 | |
| 92 | 2005-04-04 Nick Clifton <nickc@redhat.com> |
| 93 | |
| 94 | * configure.in: Add a check for <unistd.h> providing a prototype |
| 95 | for getopt() which is compatible with the one in |
| 96 | include/getopt.h. If so then define HAVE_DECL_GETOPT. |
| 97 | * configure: Regenerate. |
| 98 | * config.in (HAVE_DECL_GETOPT): Add. |
| 99 | * ldemul.c: Include config.h |
| 100 | * lexsup.c: Likewise. |
| 101 | * emultempl/elf32.sc: Likewise. |
| 102 | |
| 103 | 2005-03-29 Alan Modra <amodra@bigpond.net.au> |
| 104 | |
| 105 | * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): |
| 106 | New function, extracted from static void gld${EMULATION_NAME}_finish. |
| 107 | (gld${EMULATION_NAME}_strip_empty_sections): Likewise. |
| 108 | (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. |
| 109 | * emultempl/ppc64elf.em: Revert last change. |
| 110 | (ppc_layout_sections_again): Use |
| 111 | gld${EMULATION_NAME}_layout_sections_again. |
| 112 | (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call |
| 113 | gld${EMULATION_NAME}_strip_empty_sections and |
| 114 | gld${EMULATION_NAME}_provide_init_fini_syms. |
| 115 | * emultempl/hppaelf.em: Similarly. |
| 116 | |
| 117 | 2005-03-29 Alan Modra <amodra@bigpond.net.au> |
| 118 | |
| 119 | * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. |
| 120 | (ppc_finish): Don't call bfd_elf_discard_info. |
| 121 | * emultempl/hppaelf.em: Similarly. |
| 122 | |
| 123 | 2005-03-24 Nick Clifton <nickc@redhat.com> |
| 124 | |
| 125 | * po/fr.po: Updated French translation. |
| 126 | |
| 127 | 2005-03-23 Mike Frysinger <vapier@gentoo.org> |
| 128 | Nick Clifton <nickc@redhat.com> |
| 129 | |
| 130 | * configure.host: Accept any C library to accompany a GNU Linux |
| 131 | implementation, not just the GNU C library. |
| 132 | * configure.tgt: Likewise. |
| 133 | * emultempl/elf32.em: Likewise. |
| 134 | |
| 135 | 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> |
| 136 | |
| 137 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New |
| 138 | (gld${EMULATION_NAME}_finish): Call |
| 139 | gld${EMULATION_NAME}_provide_bound_symbols to provide |
| 140 | __preinit_array_start, __preinit_array_end, __init_array_start, |
| 141 | __init_array_end, __fini_array_start and __fini_array_end. |
| 142 | |
| 143 | * scripttempl/elf.sc: Don't provide __preinit_array_start, |
| 144 | __preinit_array_end, __init_array_start, __init_array_end, |
| 145 | __fini_array_start nor __fini_array_end. |
| 146 | |
| 147 | 2005-03-23 Alan Modra <amodra@bigpond.net.au> |
| 148 | |
| 149 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set |
| 150 | SEC_EXCLUDE on .gnu.warning sections. |
| 151 | |
| 152 | 2005-03-22 Alan Modra <amodra@bigpond.net.au> |
| 153 | |
| 154 | * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. |
| 155 | |
| 156 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
| 157 | |
| 158 | * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New |
| 159 | function. |
| 160 | (LDEMUL_AFTER_ALLOCATION): Define. |
| 161 | |
| 162 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
| 163 | |
| 164 | * emultempl/ppc64elf.em (ppc_finish): Rename from |
| 165 | gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. |
| 166 | (LDEMUL_FINISH): Update. |
| 167 | * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. |
| 168 | * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. |
| 169 | |
| 170 | 2005-03-18 Julian Brown <julian@codesourcery.com> |
| 171 | |
| 172 | * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, |
| 173 | .rel.fini_array. |
| 174 | (.rela.dyn): Add .rela.init_array, .rela.fini_array. |
| 175 | (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. |
| 176 | |
| 177 | 2005-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 178 | |
| 179 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set |
| 180 | bfd_section when removing unused empty output sections for |
| 181 | non-relocatable link. |
| 182 | |
| 183 | 2005-03-19 Alan Modra <amodra@bigpond.net.au> |
| 184 | |
| 185 | * ldlang.c (lang_insert_orphan): Use old section_tail rather than |
| 186 | traversing the bfd section list to find pointer to new section. |
| 187 | |
| 188 | 2005-03-18 Alan Modra <amodra@bigpond.net.au> |
| 189 | |
| 190 | * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 |
| 191 | input sections into .sdata and .sbss output respectively. |
| 192 | |
| 193 | 2005-03-16 David Heine <dlheine@tensilica.com> |
| 194 | Bob Wilson <bob.wilson@acm.org> |
| 195 | |
| 196 | * ldlang.c (IGNORE_SECTION): Remove check for zero size. |
| 197 | (lang_check_section_addresses): Ignore zero size sections here. |
| 198 | |
| 199 | 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> |
| 200 | |
| 201 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove |
| 202 | unused empty output sections for non-relocatable link. |
| 203 | |
| 204 | * ld.h (args_type): Remove gc_sections. |
| 205 | |
| 206 | * ldlang.c (lang_mark_used_section): New. |
| 207 | (lang_gc_sections): Use link_info.gc_sections instead of |
| 208 | command_line.gc_sections. |
| 209 | * ldmain.c (main): Likewise. |
| 210 | * lexsup.c (parse_args): Likewise. |
| 211 | * ldlang.c (lang_process): Call lang_mark_used_section. |
| 212 | |
| 213 | * ldmain.c (main): Initialize link_info.gc_sections to FALSE. |
| 214 | |
| 215 | 2005-03-16 Nick Clifton <nickc@redhat.com> |
| 216 | Ben Elliston <bje@au.ibm.com> |
| 217 | |
| 218 | * configure.in (werror): New switch: Add -Werror to the |
| 219 | compiler command line. Enabled by default. Disable via |
| 220 | --disable-werror. |
| 221 | * configure: Regenerate. |
| 222 | |
| 223 | 2005-03-16 Alan Modra <amodra@bigpond.net.au> |
| 224 | |
| 225 | * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. |
| 226 | (OTHER_RELRO_SECTIONS): Set this instead. |
| 227 | |
| 228 | 2005-03-15 Nick Clifton <nickc@redhat.com> |
| 229 | |
| 230 | * NEWS: Add cutoff for changes in 2.16 release. |
| 231 | |
| 232 | 2005-03-15 Mikkel Krautz <krautz@gmail.com> |
| 233 | |
| 234 | * configure.tgt (x86_64-elf): Add target. |
| 235 | |
| 236 | 2005-03-15 Alan Modra <amodra@bigpond.net.au> |
| 237 | |
| 238 | * po/es.po: Commit new Spanish translation. |
| 239 | |
| 240 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
| 241 | |
| 242 | * ldexp.c (exp_fold_tree): Ensure return value is initialized. |
| 243 | Tidy etree_assert case. |
| 244 | |
| 245 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
| 246 | |
| 247 | * po/tr.po: Commit new Turkish translation. |
| 248 | |
| 249 | 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> |
| 250 | |
| 251 | * Makefile.am: Remove references to em68klynx.o and esparclynx.o. |
| 252 | * Makefile.in: Regenerated. |
| 253 | * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. |
| 254 | |
| 255 | 2005-03-07 Nick Clifton <nickc@redhat.com> |
| 256 | |
| 257 | * po/fr.po: Updated translation. |
| 258 | |
| 259 | 2005-03-05 Alan Modra <amodra@bigpond.net.au> |
| 260 | |
| 261 | * po/ld.pot: Regenerate. |
| 262 | |
| 263 | 2005-03-02 Jan Beulich <jbeulich@novell.com> |
| 264 | |
| 265 | * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. |
| 266 | * pe-dll.c (pe_dll_generate_implib): Likewise. |
| 267 | |
| 268 | 2005-02-24 Ben Elliston <bje@au.ibm.com> |
| 269 | |
| 270 | * ldfile.c: Remove GNU960 conditional code. |
| 271 | * emultempl/gld960.em: Likewise. |
| 272 | * emultempl/gld960c.em: Likewise. |
| 273 | * emultempl/lnk960.em: Likewise. |
| 274 | |
| 275 | 2005-02-24 Nick Clifton <nickc@redhat.com> |
| 276 | |
| 277 | * emultempl/lnk960.em (lnk960_before_parse): Remove redundant |
| 278 | empty string from calls to concat. |
| 279 | |
| 280 | 2005-02-23 Nick Clifton <nickc@redhat.com> |
| 281 | |
| 282 | * emultempl/lnk960.em (lnk960_before_parse): Terminate list of |
| 283 | arguments passed to concat() with a NULL. |
| 284 | |
| 285 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they |
| 286 | define types needed by ldfile.h |
| 287 | |
| 288 | 2005-02-23 Alan Modra <amodra@bigpond.net.au> |
| 289 | |
| 290 | * pe-dll.c: Warning fixes. |
| 291 | * emultempl/sunos.em: Likewise. |
| 292 | |
| 293 | 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 294 | |
| 295 | * ldlang.c (section_already_linked): Don't call |
| 296 | bfd_section_already_linked for dynamic objects. |
| 297 | |
| 298 | 2005-02-22 Alan Modra <amodra@bigpond.net.au> |
| 299 | |
| 300 | * ldexp.c: Warning fixes. |
| 301 | * ldwrite.c: Likewise. |
| 302 | * emultempl/elf32.em: Likewise. |
| 303 | |
| 304 | 2005-02-21 H.J. Lu <hongjiu.lu@intel.com> |
| 305 | |
| 306 | * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI |
| 307 | tic54x input only. |
| 308 | (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF |
| 309 | and ECOFF output only. |
| 310 | |
| 311 | 2005-02-21 Alan Modra <amodra@bigpond.net.au> |
| 312 | |
| 313 | * config.in: Regenerate. |
| 314 | * configure: Regenerate. |
| 315 | |
| 316 | 2005-02-17 Zack Weinberg <zack@codesourcery.com> |
| 317 | |
| 318 | * ldexp.c (assigning_to_dot): New global flag. |
| 319 | (fold_name): If assigning_to_dot is true, object immediately to |
| 320 | an undefined symbol. |
| 321 | (exp_fold_tree): Set and clear assigning_to_dot around the |
| 322 | recursive call to exp_fold_tree to process the right-hand side |
| 323 | of an assignment to the location counter. |
| 324 | |
| 325 | 2005-02-17 Paul Brook <paul@codesourcery.com> |
| 326 | |
| 327 | * scripttempl/armbpabi.sc: Add dummy name to version block. |
| 328 | |
| 329 | 2005-02-17 Alan Modra <amodra@bigpond.net.au> |
| 330 | |
| 331 | * ldexp.c (new_abs): Init new.str. |
| 332 | |
| 333 | 2005-02-15 Mark Mitchell <mark@codesourcery.com> |
| 334 | |
| 335 | * configure.in (AC_CHECK_FUNCS): Add glob. |
| 336 | * configure: Regenerated. |
| 337 | * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is |
| 338 | not defined. |
| 339 | (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob |
| 340 | if HAVE_GLOB is not defined. |
| 341 | |
| 342 | 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 343 | |
| 344 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define |
| 345 | lib_path if NATIVE is yes. |
| 346 | |
| 347 | 2005-02-16 Alan Modra <amodra@bigpond.net.au> |
| 348 | |
| 349 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make |
| 350 | an error creating fake bfd fatal. |
| 351 | (ppc_before_allocation): Continue on after errors. |
| 352 | (gld${EMULATION_NAME}_finish): Likewise. |
| 353 | |
| 354 | 2005-02-15 Nick Clifton <nickc@redhat.com> |
| 355 | |
| 356 | * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is |
| 357 | not declared. It is not used and its presence causes a compile |
| 358 | time warning. |
| 359 | |
| 360 | 2005-02-11 Zack Weinberg <zack@codesourcery.com> |
| 361 | |
| 362 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): |
| 363 | If st.st_ino is zero, do not treat the library as a duplicate. |
| 364 | |
| 365 | 2005-02-10 Jakub Jelinek <jakub@redhat.com> |
| 366 | |
| 367 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): |
| 368 | Set BFD_LINKER_CREATED on the stubs bfd. |
| 369 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): |
| 370 | Likewise. |
| 371 | |
| 372 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
| 373 | |
| 374 | * scripttempl/armbpabi.sc (VERSION): Make special section symbols |
| 375 | local. |
| 376 | (Image$$ER_RO$$Base): Define whenever RELOCATING. |
| 377 | (Image$$ER_RO$$Limit): Likewise. |
| 378 | (SHT$$INIT_ARRAY$$Base): Likewise. |
| 379 | (SHT$$INIT_ARRAY$$Limit): Likeise. |
| 380 | |
| 381 | 2005-02-10 Ben Elliston <bje@au.ibm.com> |
| 382 | |
| 383 | * emultempl/beos.em: Remove #if 0 and #if 1 blocks. |
| 384 | |
| 385 | 2005-02-08 Richard Sandiford <rsandifo@redhat.com> |
| 386 | |
| 387 | * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath |
| 388 | to include o32 and n64 emulations. |
| 389 | (mips64*-*-linux-gnu*): Likewise. |
| 390 | |
| 391 | 2005-02-08 Hans-Peter Nilsson <hp@axis.com> |
| 392 | |
| 393 | * ldmain.c (warning_callback, warning_find_reloc): Prepend |
| 394 | "warning: " to warning messages. |
| 395 | |
| 396 | 2005-02-04 Alan Modra <amodra@bigpond.net.au> |
| 397 | |
| 398 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't |
| 399 | look up symbol for etree_provide here. |
| 400 | |
| 401 | 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 402 | |
| 403 | * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. |
| 404 | |
| 405 | 2005-02-01 Edward Welbourne <eddy@opera.com> |
| 406 | Nick Clifton <nickc@redhat.com> |
| 407 | |
| 408 | * ld.texinfo (Source Code Reference): New node describing how to |
| 409 | access linker script defined variables from source code. |
| 410 | |
| 411 | 2005-02-01 Alan Modra <amodra@bigpond.net.au> |
| 412 | |
| 413 | * ld.texinfo: Clarify --as-needed operation. |
| 414 | |
| 415 | 2005-01-31 Andrew Cagney <cagney@gnu.org> |
| 416 | |
| 417 | * configure: Regenerate to track ../gettext.m4. |
| 418 | |
| 419 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
| 420 | |
| 421 | * ldver.c (ldversion): Bump reported copyright date to 2005. |
| 422 | |
| 423 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
| 424 | |
| 425 | * configure.tgt: Remove obsolete targets m68k-lynxos and |
| 426 | sparc-lynxos. |
| 427 | |
| 428 | 2005-01-28 Julian Brown <julian@codesourcery.com> |
| 429 | |
| 430 | * emultempl/armelf.em (fix_v4bx): New variable. |
| 431 | (arm_elf_create_output_section_statements): Communicate fix_v4bx flag |
| 432 | value to bfd. |
| 433 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. |
| 434 | (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. |
| 435 | (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. |
| 436 | (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. |
| 437 | * NEWS: Mention --fix-v4bx. |
| 438 | * ld.texinfo: Document --fix-v4bx. |
| 439 | |
| 440 | 2005-01-25 Mark Mitchell <mark@codesourcery.com> |
| 441 | |
| 442 | * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so |
| 443 | as to include .ARM.exidx$${Base,Limit}. |
| 444 | * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. |
| 445 | Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. |
| 446 | Put .init_array, .fini_array, etc. into the read-only data |
| 447 | segment. |
| 448 | |
| 449 | 2005-01-25 Alan Modra <amodra@bigpond.net.au> |
| 450 | |
| 451 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. |
| 452 | (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were |
| 453 | only needed by an as-needed lib that didn't get linked. |
| 454 | |
| 455 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
| 456 | |
| 457 | * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct |
| 458 | __DTOR_LIST__ description. |
| 459 | |
| 460 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
| 461 | |
| 462 | * ld.texinfo (Location Counter <dot outside sections>): Document |
| 463 | effects of orphan section placement, and ". = ." workaround. |
| 464 | * Makefile.in: Regenerate. |
| 465 | |
| 466 | 2005-01-22 Richard Sandiford <rsandifo@redhat.com> |
| 467 | |
| 468 | * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". |
| 469 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. |
| 470 | |
| 471 | 2005-01-21 Jakub Jelinek <jakub@redhat.com> |
| 472 | |
| 473 | * ldgram.y (AS_NEEDED): New token. |
| 474 | (input_list): Handle AS_NEEDED ( input_list ). |
| 475 | * ldlex.l (AS_NEEDED): Add. |
| 476 | * ld.texinfo: Document AS_NEEDED (). |
| 477 | * NEWS: Mention AS_NEEDED (). |
| 478 | |
| 479 | 2005-01-21 Ben Elliston <bje@au.ibm.com> |
| 480 | |
| 481 | * ldlang.c (lang_reasonable_defaults): Remove. |
| 482 | (lang_process): Don't call lang_reasonable_defaults. |
| 483 | |
| 484 | * ldexp.c (exp_assop): Remove #if 0'd code. |
| 485 | (exp_print_tree): Likewise. |
| 486 | * ldlang.c (lang_memory_region_lookup): Likewise. |
| 487 | (open_output): Likewise. |
| 488 | (lang_do_assignments_1): Likewise. |
| 489 | (lang_place_orphans): Likewise. |
| 490 | (lang_enter_output_section_statement): Likewise. |
| 491 | (lang_reasonable_defaults): Likewise. |
| 492 | * ldlang.h (struct lang_input_statement_struct): Likewise. |
| 493 | * mri.c (mri_draw_tree): Likewise. |
| 494 | (mri_load): Likewise. |
| 495 | * pe-dll.c (generate_reloc): Likewise. |
| 496 | (make_import_fixup_entry): Likewise. |
| 497 | (pe_as16): Likewise. |
| 498 | * emultempl/beos.em (set_pe_subsystem): Likewise. |
| 499 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. |
| 500 | * emultempl/pe.em: Likewise. |
| 501 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. |
| 502 | |
| 503 | 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 504 | |
| 505 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. |
| 506 | (earmelfb_linux_eabi.c): New target. |
| 507 | * Makefile.in: Regenerated. |
| 508 | * configure.tgt (arm*b-*-linux-gnueabi): New target. |
| 509 | * emulparams/armelfb_linux_eabi.sh: New file. |
| 510 | |
| 511 | 2005-01-20 Nick Hudson <skrll@netbsd.org> |
| 512 | |
| 513 | PR ld/676 |
| 514 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): |
| 515 | Handle bfd_elf32_hppa_nbsd_vec. |
| 516 | |
| 517 | 2005-01-19 Richard Sandiford <rsandifo@redhat.com> |
| 518 | |
| 519 | * ldmain.h (ld_sysroot): Change type to a constant string. |
| 520 | * ldmain.c (ld_sysroot): Likewise. |
| 521 | (get_relative_sysroot, get_sysroot): New functions, adding command-line |
| 522 | support for changing the sysroot. |
| 523 | (main): Call the new functions. |
| 524 | * lexsup.c (OPTION_SYSROOT): New. |
| 525 | (ld_options): Add --sysroot. |
| 526 | (parse_args): Add a dummy handler for it. |
| 527 | * ld.texinfo (--sysroot): Document. |
| 528 | * NEWS: Mention the new --sysroot option. |
| 529 | |
| 530 | 2005-01-18 Alan Modra <amodra@bigpond.net.au> |
| 531 | |
| 532 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. |
| 533 | (lang_place_orphans): Don't abort on just_syms_flag, instead call |
| 534 | bfd_link_just_syms. |
| 535 | |
| 536 | 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
| 537 | |
| 538 | * defilep.y (def_name, def_library): Combine into... |
| 539 | (def_image_name): New function. Strip name to basename, |
| 540 | with warning. |
| 541 | |
| 542 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
| 543 | |
| 544 | * configure.in: Be sure to invoke config.sub using the shell. |
| 545 | * configure: Regenerate. |
| 546 | |
| 547 | 2005-01-11 Alan Modra <amodra@bigpond.net.au> |
| 548 | |
| 549 | * configure.host: Correct sed patterns for last change. |
| 550 | |
| 551 | 2005-01-10 Nick Clifton <nickc@redhat.com> |
| 552 | |
| 553 | PR binutils/609 |
| 554 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this |
| 555 | to determine whether config.make_executable should be set to FALSE in |
| 556 | conjunction with config.fatal_warnings. |
| 557 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. |
| 558 | (einfo): Pass TRUE as the extra argument. |
| 559 | |
| 560 | 2005-01-10 Greg Schaffer <gschafer@zip.com.au> |
| 561 | |
| 562 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead |
| 563 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. |
| 564 | (ia64-*-aix): Delete - this target is obsolete, and would be |
| 565 | broken by this patch. |
| 566 | |
| 567 | 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
| 568 | |
| 569 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. |
| 570 | (sparc64-sun-solaris2*): New host. |
| 571 | |
| 572 | 2005-01-06 Paul Brook <paul@codesourcery.com> |
| 573 | |
| 574 | * Makefie.am: Add earmelf_vxworks. |
| 575 | * Makefile.in: Regenerate. |
| 576 | * configure.tgt: Make arm-*-vxworks a separate case. |
| 577 | * emulparams/armelf_vxworks.sh: New function. |
| 578 | |
| 579 | 2005-01-06 Alan Modra <amodra@bigpond.net.au> |
| 580 | |
| 581 | * emultempl/ppc64elf.em (no_multi_toc): New var. |
| 582 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. |
| 583 | (OPTION_NO_MULTI_TOC): Define. |
| 584 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. |
| 585 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 586 | |
| 587 | 2005-01-05 Nick Clifton <nickc@redhat.com> |
| 588 | |
| 589 | PR binutils/614 |
| 590 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding |
| 591 | Standard's specification for parsable error messages. |
| 592 | |
| 593 | 2005-01-04 Paul Brook <paul@codesourcery.com> |
| 594 | |
| 595 | * Makefile.am: Correct dependency for earmsymbian.c. |
| 596 | * Makefile.in: Regenerate. |
| 597 | |
| 598 | 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> |
| 599 | |
| 600 | * emultempl/pe.em (set_pe_subsystem): Change second arg to |
| 601 | lang_add_entry to FALSE. |
| 602 | |
| 603 | 2004-12-23 Nick Clifton <nickc@redhat.com> |
| 604 | |
| 605 | PR 600 |
| 606 | * emulparams/shelf.sh (.stack): Increase stack start address to |
| 607 | 0x300000. |
| 608 | |
| 609 | 2004-12-20 Nick Clifton <nickc@redhat.com> |
| 610 | |
| 611 | * ldmain.c (main): Issue an error message if -static and -shared |
| 612 | are used together. |
| 613 | |
| 614 | 2004-12-17 Jakub Jelinek <jakub@redhat.com> |
| 615 | |
| 616 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. |
| 617 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. |
| 618 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual |
| 619 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected |
| 620 | PT_GNU_RELRO segment end. |
| 621 | |
| 622 | 2004-12-14 P.J. Darcy <darcypj@us.ibm.com> |
| 623 | |
| 624 | * configure.tgt: Add s390x-ibm-tpf support. |
| 625 | |
| 626 | 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> |
| 627 | |
| 628 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL |
| 629 | BFD. |
| 630 | |
| 631 | 2004-12-07 Ben Elliston <bje@gnu.org> |
| 632 | |
| 633 | * ldemul.h: Forward declare struct option. |
| 634 | |
| 635 | 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> |
| 636 | |
| 637 | * scripttempl/pe.sc (.data): Add .jcr subsection. |
| 638 | |
| 639 | 2004-11-30 Paul Brook <paul@codesourcery.com> |
| 640 | |
| 641 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. |
| 642 | |
| 643 | 2004-11-30 Tero Niemela <tero_niemela@yahoo.com> |
| 644 | |
| 645 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. |
| 646 | * Makefile.in: Regenerate. |
| 647 | |
| 648 | 2004-11-26 Melissa Mears <asterisk@graces.dricas.com> |
| 649 | |
| 650 | * emultempl/pe.em: Add --subsystem:xbox as well as |
| 651 | --subsystem:%d. |
| 652 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox |
| 653 | and numeric subsystems. |
| 654 | |
| 655 | 2004-11-24 Alan Modra <amodra@bigpond.net.au> |
| 656 | |
| 657 | * ldexp.c (fold_name): Correct PR 338 fix. |
| 658 | |
| 659 | 2004-11-19 Mark Mitchell <mark@codesourcery.com> |
| 660 | |
| 661 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. |
| 662 | (earmelf_linux_eabi.c): New target. |
| 663 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. |
| 664 | * emulparams/armelf_linux_eabi.sh: New file. |
| 665 | * Makefile.in: Regenerated. |
| 666 | |
| 667 | 2004-11-19 Nick Clifton <nickc@redhat.com> |
| 668 | |
| 669 | PR 518 |
| 670 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and |
| 671 | LENGTH fields in the MEMORY command, to explicitly state that |
| 672 | symbols cannot be used in their expressions. |
| 673 | |
| 674 | 2004-11-19 Jon Beniston <jon@beniston.com> |
| 675 | |
| 676 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. |
| 677 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. |
| 678 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
| 679 | which return the length and origin of a memory. |
| 680 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. |
| 681 | * NEWS: Mention support for ORIGIN and LENGTH operators. |
| 682 | |
| 683 | 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> |
| 684 | |
| 685 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use |
| 686 | a dynamic object for stubs. |
| 687 | |
| 688 | 2004-11-04 Paul Brook <paul@codesourcery.com> |
| 689 | |
| 690 | * ld.texinfo: Document --default-imported-symver. |
| 691 | * ldmain.c (main): Set link_info.default_imported_symver. |
| 692 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. |
| 693 | (ld_options): Add --default-imported-symver. |
| 694 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. |
| 695 | |
| 696 | 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> |
| 697 | Vineet Sharma <vineets@noida.hcltech.com> |
| 698 | |
| 699 | * Makefile.am: Add entries for new maxq-coff target. |
| 700 | * Makefile.in: Regenerate. |
| 701 | * configure.tgt: Add support for maxq. |
| 702 | * emulparams/maxqcoff.sh: New File. |
| 703 | * scripttempl/maxqcoff.sc: New linker script for target maxq. |
| 704 | * NEWS: Mention the new target. |
| 705 | |
| 706 | 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 707 | |
| 708 | * testsuite/ld-scripts/weak.exp: Enable test on PE, |
| 709 | XFAIL non-i386 PE. |
| 710 | * testsuite/ld-undefined/weak-undef.exp: Enable test on PE, |
| 711 | XFAIL non-i386 PE. |
| 712 | * testsuite/lib/ld-lib.exp (is_pecoff_format): New. |
| 713 | |
| 714 | 2004-11-04 Daniel Jacobowitz <dan@debian.org> |
| 715 | |
| 716 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. |
| 717 | (earmelf_oabi.c): Remove rule. |
| 718 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. |
| 719 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. |
| 720 | * Makefile.in: Regenerated. |
| 721 | |
| 722 | 2004-11-04 Hans-Peter Nilsson <hp@axis.com> |
| 723 | |
| 724 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. |
| 725 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". |
| 726 | (FINI_START): Ditto. |
| 727 | (INIT_END): Remove emitted "jump [sp+]". |
| 728 | (FINI_END): Ditto. |
| 729 | |
| 730 | 2004-11-04 Alan Modra <amodra@bigpond.net.au> |
| 731 | |
| 732 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. |
| 733 | (no_opd_opt, no_toc_opt): New static vars. |
| 734 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call |
| 735 | ppc64_elf_edit_toc. |
| 736 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. |
| 737 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. |
| 738 | (PARSE_AND_LIST_OPTIONS): Describe new options. |
| 739 | (PARSE_AND_LIST_ARGS_CASES): Handle them. |
| 740 | |
| 741 | 2004-10-27 Nick Clifton <nickc@redhat.com> |
| 742 | |
| 743 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, |
| 744 | parameter to invocation of lang_section_start. |
| 745 | * emultempl/aix.em (_handle_option): Likewise. |
| 746 | |
| 747 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
| 748 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. |
| 749 | * Makefile.in: Regenerate. |
| 750 | |
| 751 | 2004-10-26 Mark Mitchell <mark@codesourcery.com> |
| 752 | |
| 753 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit |
| 754 | __exidx_{start,end} when not relocating. |
| 755 | |
| 756 | 2004-10-25 Mark Mitchell <mark@codesourcery.com> |
| 757 | |
| 758 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. |
| 759 | * ldexp.h (segment_type): New type. |
| 760 | (segments): New variable. |
| 761 | * ldexp.c (segments): New variable. |
| 762 | (exp_print_token): Handle SEGMENT_START. |
| 763 | (fold_binary): Likewise. |
| 764 | * ldgram.y (SEGMENT_START): Declare it as a token. |
| 765 | (exp): Handle SEGMENT_START. |
| 766 | * ldlang.h (lang_address_statement_type): Add segment field. |
| 767 | (lang_section_start): Change prototype. |
| 768 | * ldlang.c (map_input_to_output_sections): Do not process section |
| 769 | assignments if a corresponding SEGMENT_START has already been |
| 770 | seen. |
| 771 | (lang_section_start): Add segment parameter. |
| 772 | * ldlex.l (SEGMENT_START): Add it. |
| 773 | * lexsup.c (seg_segment_start): New function. |
| 774 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. |
| 775 | * ld.texinfo (SEGMENT_START): Document it. |
| 776 | * emulparams/armsymbian.sh (EMBEDDED): Set it. |
| 777 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment |
| 778 | base addresses. Do not map relocations. |
| 779 | * NEWS: Mention SEGMENT_START. |
| 780 | |
| 781 | 2004-10-26 Paul Brook <paul@codesourcery.com> |
| 782 | |
| 783 | * ld.texinfo: Document --default-symver. |
| 784 | * ldmain.c (main): Set link_info.create_default_symver. |
| 785 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. |
| 786 | (ld_options): Add default-symver. |
| 787 | (parse_args): Handle OPTION_DEFAULT_SYMVER. |
| 788 | |
| 789 | 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> |
| 790 | |
| 791 | * pe-dll.c (process_def_file): Don't export all symbols by default if |
| 792 | building a position-independent executable. |
| 793 | |
| 794 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
| 795 | |
| 796 | PR 463 |
| 797 | * ldmain.c (reloc_overflow): Accept a pointer to struct |
| 798 | bfd_link_hash_entry. Report symbol location for relocation |
| 799 | overflow. |
| 800 | |
| 801 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
| 802 | |
| 803 | * genscripts.sh (libpath.exp): Really generate for first |
| 804 | emulation only. |
| 805 | |
| 806 | 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> |
| 807 | |
| 808 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify |
| 809 | comparison and replacement of filenames. |
| 810 | |
| 811 | 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> |
| 812 | |
| 813 | PR 459 |
| 814 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic |
| 815 | option on linker script as the one for linker script. |
| 816 | |
| 817 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
| 818 | |
| 819 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) |
| 820 | (check_excluded_libs): New. |
| 821 | (load_symbols): Call check_excluded_libs. |
| 822 | * ldlang.h (add_excluded_libs): New prototype. |
| 823 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. |
| 824 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. |
| 825 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. |
| 826 | * ld.texinfo (Command Line Variables): Document --exclude-libs. |
| 827 | (Options Specific to i386 PE Targets): Remove --exclude-libs. |
| 828 | |
| 829 | 2004-10-15 Alan Modra <amodra@bigpond.net.au> |
| 830 | |
| 831 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
| 832 | failing link script assert. |
| 833 | |
| 834 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
| 835 | |
| 836 | 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> |
| 837 | |
| 838 | PR 445 |
| 839 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. |
| 840 | (SMALL_DATA_DTOR): Set. |
| 841 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. |
| 842 | (SMALL_DATA_DTOR): Unset. |
| 843 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors |
| 844 | after .data. If SMALL_DATA_DTOR is set, move .dtors after |
| 845 | .data. |
| 846 | |
| 847 | 2004-10-14 Alan Modra <amodra@bigpond.net.au> |
| 848 | |
| 849 | PR 63 |
| 850 | * ldlang.h (lang_output_section_statement_type): Make "next" a |
| 851 | struct lang_output_section_statement_struct *. |
| 852 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". |
| 853 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. |
| 854 | * ldlang.c (lang_output_section_find_1): Adjust for changed |
| 855 | output_section_statement "next". |
| 856 | (strip_excluded_output_sections): Likewise. |
| 857 | (lang_record_phdrs): Likewise. |
| 858 | (lang_output_section_find_by_flags): New function. |
| 859 | (output_prev_sec_find): Move from pe.em. Adjust iterator. |
| 860 | (lang_insert_orphan): New function. Tail end of elf32.em's |
| 861 | place_orphan merged with that from pe.em. Allow bfd_section to |
| 862 | be placed first. New heuristic for placing new output section |
| 863 | statement in existing script, and accompanying split of __start |
| 864 | symbol alignment into a separate assignment to dot. |
| 865 | (lang_add_section): Consistently use output->bfd_section rather than |
| 866 | an alias, section->output_section. |
| 867 | (map_input_to_output_sections): Rename overly long arg. Move |
| 868 | initialization of data_statement output section to here.. |
| 869 | (lang_check_section_addresses): ..from here. |
| 870 | (print_assignment): Correct printing of etree_assert. |
| 871 | (print_all_symbols): Don't bomb if userdata is NULL. |
| 872 | (IGNORE_SECTION): Rearrange. |
| 873 | * emultempl/elf32.em (output_rel_find): Adjust interator. |
| 874 | (output_prev_sec_find): Delete. |
| 875 | (struct orphan_save): Delete. |
| 876 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section |
| 877 | flags without creating a duplicate output section statement. |
| 878 | Revise code holding history of various orphan section placements. |
| 879 | Allow orphan sections to place before script specified output |
| 880 | sections. Call lang_output_section_find_by_flags when placement |
| 881 | by name fails. Use lang_insert_orphan. |
| 882 | * emultempl/mmo.em (output_prev_sec_find): Delete. |
| 883 | (struct orphan_save): Delete. |
| 884 | (mmo_place_orphan): Revise code holding history of orphan placement. |
| 885 | Allow orphans to place before existing output sections. Use |
| 886 | lang_insert_orphan. |
| 887 | * emultempl/pe.em (output_prev_sec_find): Delete. |
| 888 | (struct orphan_save): Delete. |
| 889 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of |
| 890 | lang_insert_orphan. |
| 891 | |
| 892 | 2004-10-13 Mark Mitchell <mark@codesourcery.com> |
| 893 | |
| 894 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a |
| 895 | loadable segment. |
| 896 | |
| 897 | 2004-10-13 Alan Modra <amodra@bigpond.net.au> |
| 898 | |
| 899 | PR 44 |
| 900 | * ldcref.c (check_section_sym_xref): Delete. |
| 901 | (check_local_sym_xref): New function. |
| 902 | (check_nocrossrefs): Adjust call. |
| 903 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
| 904 | (place_orphan): Backport assorted fixes from elf32.em. |
| 905 | |
| 906 | 2004-10-12 Bob Wilson <bob.wilson@acm.org> |
| 907 | |
| 908 | * emultempl/xtensaelf.em: Use ISO C90 formatting. |
| 909 | |
| 910 | 2004-10-11 Jakub Jelinek <jakub@redhat.com> |
| 911 | |
| 912 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
| 913 | getline for portability. |
| 914 | |
| 915 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
| 916 | (gld${EMULATION_NAME}_parse_ld_so_conf, |
| 917 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. |
| 918 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. |
| 919 | |
| 920 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
| 921 | |
| 922 | PR 423 |
| 923 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are |
| 924 | rejected when linking statically. |
| 925 | |
| 926 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
| 927 | |
| 928 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. |
| 929 | |
| 930 | 2004-10-07 Bob Wilson <bob.wilson@acm.org> |
| 931 | |
| 932 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize |
| 933 | assembler-generated longcall sequences. Describe new --size-opt |
| 934 | option. |
| 935 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. |
| 936 | * emultempl/xtensaelf.em (remove_section, |
| 937 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, |
| 938 | elf_xtensa_after_open): New. |
| 939 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, |
| 940 | OPTION_NO_LITERAL_MOVEMENT): Define. |
| 941 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. |
| 942 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. |
| 943 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. |
| 944 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, |
| 945 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. |
| 946 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. |
| 947 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. |
| 948 | * Makefile.am (eelf32xtensa.c): Update dependencies. |
| 949 | * Makefile.in: Regenerate. |
| 950 | |
| 951 | 2004-10-07 Jeff Baker <jbaker@qnx.com> |
| 952 | |
| 953 | * lexsup.c: Handle --warn-shared-textrel option. |
| 954 | (ld_options): Restore alpha sorting of options. |
| 955 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. |
| 956 | * ld.texinfo: Add documentation for --warn-shared-textrel. |
| 957 | * NEWS: Added mention of --warn-shared-textrel option. |
| 958 | |
| 959 | 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> |
| 960 | |
| 961 | * emultempl/crxelf.em (disable_relaxation): Add. |
| 962 | (crxelf_before_allocation): Enable --relax option by default. |
| 963 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
| 964 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. |
| 965 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. |
| 966 | |
| 967 | 2004-10-04 H.J. Lu <hongjiu.lu@intel.com> |
| 968 | |
| 969 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and |
| 970 | --sort-section name|alignment. |
| 971 | |
| 972 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and |
| 973 | --sort-section name|alignment. |
| 974 | |
| 975 | * ld.h (sort_type): New enum. |
| 976 | (wildcard_spec): Change the type of `sorted' to sort_type. |
| 977 | |
| 978 | * ldgram.y (SORT): Removed. |
| 979 | (SORT_BY_NAME): Added. |
| 980 | (SORT_BY_ALIGNMENT): Added. |
| 981 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and |
| 982 | SORT_BY_ALIGNMENT. |
| 983 | (input_section_spec_no_keep): Updated `sorted'. |
| 984 | (statement): Replace SORT with SORT_BY_NAME. |
| 985 | |
| 986 | * ldlang.c (compare_section): New function to compare 2 |
| 987 | sections with different sorting schemes. |
| 988 | (wild_sort): Updated. Use compare_section. |
| 989 | (update_wild_statements): New function. |
| 990 | (lang_process): Call update_wild_statements before |
| 991 | map_input_to_output_sections. |
| 992 | |
| 993 | * ldlex.l (SORT_BY_NAME): New. |
| 994 | (SORT_BY_ALIGNMENT): New. |
| 995 | (SORT): Return SORT_BY_NAME. |
| 996 | |
| 997 | * ldmain.c (sort_section): New. Defined. |
| 998 | (main): Initialize it to none. |
| 999 | |
| 1000 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. |
| 1001 | (ld_options): Add an entry for OPTION_SORT_SECTION. |
| 1002 | (parse_args): Handle OPTION_SORT_SECTION. |
| 1003 | |
| 1004 | * mri.c (mri_draw_tree): Updated `sorted'. |
| 1005 | |
| 1006 | 2004-10-04 Jakub Jelinek <jakub@redhat.com> |
| 1007 | |
| 1008 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. |
| 1009 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first |
| 1010 | argument. |
| 1011 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first |
| 1012 | and . as second argument. |
| 1013 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. |
| 1014 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. |
| 1015 | (fold_binary): Add it here. Insert padding to make relro_end |
| 1016 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in |
| 1017 | exp_dataseg_relro_adjust phase just use previously computed |
| 1018 | exp_data_seg.base. |
| 1019 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for |
| 1020 | relro_adjust here. Call lang_size_sections_1 once more if there |
| 1021 | was too big padding at DATA_SEGMENT_RELRO_END. |
| 1022 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. |
| 1023 | |
| 1024 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
| 1025 | |
| 1026 | * emulparams/armelf.sh: Add unwinding table sections. |
| 1027 | |
| 1028 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
| 1029 | |
| 1030 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate |
| 1031 | correct base address for position independant executables. |
| 1032 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant |
| 1033 | executables as DLLs. |
| 1034 | |
| 1035 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
| 1036 | |
| 1037 | * ld.texinfo: Document --target2=abs. |
| 1038 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. |
| 1039 | |
| 1040 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
| 1041 | |
| 1042 | * scripttempl/xstormy16.sc: Only perform the assignments to the |
| 1043 | ROM region when not performing a relocatable link. The ROM region |
| 1044 | does not start at address 0, but the sections will. |
| 1045 | * Makefile.am: Fix linker script dependency for the generation of |
| 1046 | eelf32xstormy16.c. |
| 1047 | * Makefile.in: Regenerate. |
| 1048 | |
| 1049 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
| 1050 | |
| 1051 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, |
| 1052 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, |
| 1053 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define |
| 1054 | TARGET_PAGE_SIZE. |
| 1055 | * scripttempl/pe.sc: Make the virtual address and file offset synced if |
| 1056 | the alignment is lower than the target page size. |
| 1057 | |
| 1058 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
| 1059 | |
| 1060 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow |
| 1061 | def_file_parse to handle pe_def_file if NULL and prevent crash with |
| 1062 | invalid .def files. |
| 1063 | |
| 1064 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
| 1065 | |
| 1066 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable |
| 1067 | --emit-stub-syms automatically when --emit-relocs. |
| 1068 | |
| 1069 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
| 1070 | |
| 1071 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and |
| 1072 | .fini_array sections. |
| 1073 | |
| 1074 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
| 1075 | |
| 1076 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment |
| 1077 | base so that relro end is suitably aligned. |
| 1078 | |
| 1079 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
| 1080 | |
| 1081 | * ld.texinfo: Rename arm-specific section. Document --target* |
| 1082 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. |
| 1083 | * emulparams/armelf_linux.sh: Ditto. |
| 1084 | * emulparams/armelf_nbsd.sh: Ditto. |
| 1085 | * emultempl/armelf.em: Set default for TARGET2_TYPE. |
| 1086 | (target2_type): New variable. |
| 1087 | (arm_elf_before_allocation): Don't pass target1_type. |
| 1088 | (arm_elf_create_output_section_statements): New function. |
| 1089 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. |
| 1090 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. |
| 1091 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. |
| 1092 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. |
| 1093 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra |
| 1094 | argument to bfd_elf32_arm_process_before_allocation. |
| 1095 | |
| 1096 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
| 1097 | |
| 1098 | * ldexp.c (fold_name): Update u.undef.next refs. |
| 1099 | * emultempl/pe.em: Likewise. |
| 1100 | * emultempl/sunos.em: Likewise. |
| 1101 | |
| 1102 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
| 1103 | |
| 1104 | * Makefile.am: Run "make dep-am". |
| 1105 | * Makefile.in: Regenerate. |
| 1106 | * config.in: Regenerate. |
| 1107 | * configure: Regenerate. |
| 1108 | * aclocal.m4: Regenerate. |
| 1109 | * po/ld.pot: Regenerate. |
| 1110 | |
| 1111 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
| 1112 | |
| 1113 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
| 1114 | (.fini): Likewise. |
| 1115 | (.jcr): Likewise. |
| 1116 | |
| 1117 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
| 1118 | |
| 1119 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param |
| 1120 | to bfd_elf32_arm_process_before_allocation call. |
| 1121 | |
| 1122 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
| 1123 | |
| 1124 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. |
| 1125 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. |
| 1126 | |
| 1127 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
| 1128 | |
| 1129 | * configure: Regenerated with autconfig 2.13. |
| 1130 | |
| 1131 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
| 1132 | |
| 1133 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment |
| 1134 | alignment before adjusting DATA_SEGMENT_RELRO_END. |
| 1135 | |
| 1136 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
| 1137 | |
| 1138 | * emulparams/armsymbian.sh: Use armbpabi script. |
| 1139 | * scripttempl/armbpabi.sc: New script. |
| 1140 | |
| 1141 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
| 1142 | |
| 1143 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. |
| 1144 | (earmsymbian.c): New target. |
| 1145 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. |
| 1146 | * Makefile.in: Regenerated. |
| 1147 | * aclocal.m4: Likewise. |
| 1148 | * configure: Likewise. |
| 1149 | * emulparams/armsymbian.sh: New file. |
| 1150 | |
| 1151 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
| 1152 | |
| 1153 | * scripttempl/elf32crx.sc: Edit file with comments. |
| 1154 | (.init): Add new section. |
| 1155 | (.fini): Likewise. |
| 1156 | (.ctor): Control the linkage order. |
| 1157 | (.dtor): Likewise. |
| 1158 | |
| 1159 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
| 1160 | |
| 1161 | * emultempl/pe.em (after_open): Do not assume that either bfd is |
| 1162 | an archive. |
| 1163 | |
| 1164 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
| 1165 | |
| 1166 | * ldlang.c (lang_init): Don't compare with TRUE. |
| 1167 | |
| 1168 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
| 1169 | |
| 1170 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. |
| 1171 | * scripttempl/elf32msp430.sc: Add .profiler section definition. |
| 1172 | |
| 1173 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
| 1174 | |
| 1175 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. |
| 1176 | |
| 1177 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
| 1178 | |
| 1179 | * configure.tgt (arm*-*-symbianelf*): New target. |
| 1180 | (arm*-*-eabi*): Likewise. |
| 1181 | |
| 1182 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
| 1183 | |
| 1184 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. |
| 1185 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). |
| 1186 | (OPTION_NON_OVERLAPPING_OPD): Define. |
| 1187 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add |
| 1188 | --non-overlapping-opd option. |
| 1189 | |
| 1190 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
| 1191 | |
| 1192 | PR 338 |
| 1193 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol |
| 1194 | was already on the undefs list. |
| 1195 | |
| 1196 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
| 1197 | |
| 1198 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot |
| 1199 | prefix the symbol field too. |
| 1200 | |
| 1201 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
| 1202 | |
| 1203 | * ldmain.c (link_callbacks): Remove "error_handler". |
| 1204 | * ldmisc.c: Include elf-bfd.h. |
| 1205 | (vfinfo): Sort comment. Handle %A. Use %A instead of |
| 1206 | bfd_get_section_indent. |
| 1207 | (error_handler): Delete. |
| 1208 | * ldmisc.h (error_handler): Delete declaration. |
| 1209 | |
| 1210 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
| 1211 | |
| 1212 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call |
| 1213 | ppc64_elf_restore_symbols. |
| 1214 | |
| 1215 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
| 1216 | |
| 1217 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if |
| 1218 | .toc is too large on relocatable linking. |
| 1219 | |
| 1220 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
| 1221 | |
| 1222 | * emultempl/ppc64elf.em (ppc_after_open): Delete. |
| 1223 | (LDEMUL_AFTER_OPEN): Don't define. |
| 1224 | |
| 1225 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
| 1226 | |
| 1227 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. |
| 1228 | |
| 1229 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
| 1230 | |
| 1231 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section |
| 1232 | on power of 2. |
| 1233 | |
| 1234 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
| 1235 | |
| 1236 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". |
| 1237 | |
| 1238 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
| 1239 | |
| 1240 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, |
| 1241 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, |
| 1242 | msp430xG439. |
| 1243 | * configure.tgt: Likewise. |
| 1244 | * emulparams/msp430all.sh: Likewise. |
| 1245 | * Makefile.in: Regenerate. |
| 1246 | |
| 1247 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
| 1248 | |
| 1249 | * emultempl/elf32.em (_place_orphan): Use an already existing |
| 1250 | section name if that section does not have any flags set. |
| 1251 | |
| 1252 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
| 1253 | |
| 1254 | * ldlang.c (already_linked_hash_entry): Removed. |
| 1255 | (already_linked): Likewise. |
| 1256 | (already_linked_table): Likewise. |
| 1257 | (section_already_linked): Call bfd_section_already_linked. |
| 1258 | (lang_process): Replace already_linked_table_init with |
| 1259 | bfd_section_already_linked_table_init and check return. Replace |
| 1260 | already_linked_table_free with bfd_section_already_linked_table_free. |
| 1261 | |
| 1262 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
| 1263 | |
| 1264 | * ldlang.c (init_os): Make sure that the newly allocated userdata |
| 1265 | structure is zeroed out. |
| 1266 | |
| 1267 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
| 1268 | |
| 1269 | * NEWS: Mention the new --add-needed/--no-add-needed and |
| 1270 | --as-needed/--no-as-needed options. |
| 1271 | |
| 1272 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
| 1273 | |
| 1274 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also |
| 1275 | check the add_needed field. |
| 1276 | (dt_needed): New struct. |
| 1277 | (gld${EMULATION_NAME}_try_needed): Change the first argument |
| 1278 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED |
| 1279 | bit in the file where the DT_NEEDED entry comes from. |
| 1280 | (gld${EMULATION_NAME}_search_needed): Change the second |
| 1281 | argument to a pointer to struct dt_needed. |
| 1282 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. |
| 1283 | (gld${EMULATION_NAME}_after_open): Likewise. |
| 1284 | |
| 1285 | * ld.texinfo: Add --add-needed document. |
| 1286 | * ldlang.c (new_afile): Set p->add_needed. |
| 1287 | * ldlang.h (lang_input_statement_type): Add add_needed field. |
| 1288 | * ldmain.h (add_needed): Declare. |
| 1289 | * ldmain.c (add_needed): New global var. |
| 1290 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and |
| 1291 | OPTION_NO_ADD_NEEDED. |
| 1292 | (ld_options): Likewise. |
| 1293 | (parse_args): Handle them. |
| 1294 | |
| 1295 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
| 1296 | |
| 1297 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct |
| 1298 | for endian-ness of extracted addend. |
| 1299 | |
| 1300 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
| 1301 | |
| 1302 | * pe-dll.c (auto_export): Filter on just the import prefix, |
| 1303 | "_imp_", not "_imp__". |
| 1304 | |
| 1305 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
| 1306 | |
| 1307 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. |
| 1308 | |
| 1309 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
| 1310 | |
| 1311 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. |
| 1312 | (eelf32crx.c): New target. |
| 1313 | * Makefile.in: Regenerate. |
| 1314 | * configure.tgt: Handle crx-*-elf*. |
| 1315 | * emulparams/elf32crx.sh: New file. |
| 1316 | * emultempl/crxelf.em: New file. |
| 1317 | * scripttempl/elf32crx.sc: New file. |
| 1318 | * NEWS: Mention new target. |
| 1319 | |
| 1320 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
| 1321 | |
| 1322 | * Makefile.am: Add eshlsymbian.c. |
| 1323 | * Makefile.in: Regenerate. |
| 1324 | * configure.tgt: Add sh*-symbian-elf target. |
| 1325 | * emulparams/shlsymbian.sh: New file. Configure the |
| 1326 | sh-symbian-elf linker scripts. |
| 1327 | * scripttemp/elf32sh-symbian.sc: New file. Linker script |
| 1328 | template for the sh-symbian-elf target. |
| 1329 | |
| 1330 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
| 1331 | |
| 1332 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. |
| 1333 | * emulparams/hppalinux.sh: Likewise. |
| 1334 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in |
| 1335 | data segment and PLT_BEFORE_GOT is defined. |
| 1336 | |
| 1337 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 1338 | |
| 1339 | * ld.texinfo (WIN32): Document PE weak symbols. |
| 1340 | |
| 1341 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 1342 | |
| 1343 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. |
| 1344 | |
| 1345 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
| 1346 | |
| 1347 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify |
| 1348 | the section. |
| 1349 | |
| 1350 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
| 1351 | |
| 1352 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section |
| 1353 | size in rawsize. |
| 1354 | |
| 1355 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
| 1356 | |
| 1357 | * ldlang.c (print_output_section_statement): Don't print size before |
| 1358 | relaxation. |
| 1359 | (IGNORE_SECTION): Remove bfd arg. Update all callers. |
| 1360 | |
| 1361 | * ldexp.c (fold_name): .. See below. |
| 1362 | * ldlang.c (section_already_linked, print_output_section_statement, |
| 1363 | print_input_section, insert_pad, size_input_section, |
| 1364 | lang_check_section_addresses, lang_size_sections_1, |
| 1365 | lang_size_sections, lang_do_assignments_1, lang_set_startof, |
| 1366 | lang_one_common, lang_reset_memory_regions, lang_process, |
| 1367 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. |
| 1368 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. |
| 1369 | * pe-dll.c (process_def_file, generate_reloc): .. |
| 1370 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, |
| 1371 | gld${EMULATION_NAME}_before_allocation): .. |
| 1372 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. |
| 1373 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, |
| 1374 | sh64_elf_${EMULATION_NAME}_after_allocation): .. |
| 1375 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. |
| 1376 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, |
| 1377 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use |
| 1378 | "size" instead of "_raw_size" and "_cooked_size". Expand |
| 1379 | bfd_section_size macro invocations. |
| 1380 | |
| 1381 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 1382 | |
| 1383 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, |
| 1384 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, |
| 1385 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and |
| 1386 | ___crt_xt_end__. |
| 1387 | (.tls): Define ___tls_start__ and ___tls_end__. |
| 1388 | |
| 1389 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
| 1390 | |
| 1391 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. |
| 1392 | |
| 1393 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
| 1394 | |
| 1395 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
| 1396 | * configure: Regenerate. |
| 1397 | |
| 1398 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
| 1399 | |
| 1400 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to |
| 1401 | .gcc_except_table output sections lost accidentally with |
| 1402 | -z relro patch. |
| 1403 | |
| 1404 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
| 1405 | |
| 1406 | * ldwrite.c (build_link_order): Use bfd_get_section_size |
| 1407 | instead of bfd_get_section_size_before_reloc or _raw_size. |
| 1408 | * pe-dll.c (process_def_file): Likewise. |
| 1409 | |
| 1410 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
| 1411 | |
| 1412 | From Richard Wirth <r.wirth@wirthware.de> |
| 1413 | * ldlang.c (lang_finish): Don't free lang_definedness_table. |
| 1414 | |
| 1415 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
| 1416 | |
| 1417 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. |
| 1418 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. |
| 1419 | |
| 1420 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
| 1421 | |
| 1422 | * testsuite/ld-sh/arch/arch.exp: New test script. |
| 1423 | * testsuite/ld-sh/arch/arch_expected.txt: New file. |
| 1424 | * testsuite/ld-sh/arch/sh.s: New file. |
| 1425 | * testsuite/ld-sh/arch/sh2.s: New file. |
| 1426 | * testsuite/ld-sh/arch/sh-dsp.s: New file. |
| 1427 | * testsuite/ld-sh/arch/sh2e.s: New file. |
| 1428 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. |
| 1429 | * testsuite/ld-sh/arch/sh3.s: New file. |
| 1430 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. |
| 1431 | * testsuite/ld-sh/arch/sh3e.s: New file. |
| 1432 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. |
| 1433 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. |
| 1434 | * testsuite/ld-sh/arch/sh4.s: New file. |
| 1435 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. |
| 1436 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. |
| 1437 | * testsuite/ld-sh/arch/sh4a.s: New file. |
| 1438 | |
| 1439 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
| 1440 | |
| 1441 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
| 1442 | throughout file. |
| 1443 | * lexsup.c: Formatting. Wrap long lines. |
| 1444 | * ldwrite.c: Update copyright date. |
| 1445 | |
| 1446 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
| 1447 | (output_section_callback): Nor SEC_KEEP here. |
| 1448 | (gc_section_callback): Twiddle SEC_EXCLUDE here. |
| 1449 | (lang_gc_wild): Delete. Fold into.. |
| 1450 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage |
| 1451 | collecting. |
| 1452 | (lang_process): Always call lang_gc_sections. |
| 1453 | (lang_place_orphans): Handle SEC_EXCLUDE sections. |
| 1454 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove |
| 1455 | SEC_EXCLUDE code. |
| 1456 | |
| 1457 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
| 1458 | |
| 1459 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear |
| 1460 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. |
| 1461 | * ldlang.c (lang_add_section): Likewise. |
| 1462 | |
| 1463 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
| 1464 | |
| 1465 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP |
| 1466 | sections when doing a final link. Clear SEC_EXCLUDE when doing |
| 1467 | a relocable link, except for SEC_DEBUGGING sections. |
| 1468 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the |
| 1469 | same condition here to drop SEC_EXCLUDE orphan sections. |
| 1470 | |
| 1471 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
| 1472 | |
| 1473 | * ldlang.c (lang_process): Call bfd_merge_sections later, and |
| 1474 | only when not a relocatable link. |
| 1475 | (print_input_section): Handle SEC_EXCLUDE sections. |
| 1476 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. |
| 1477 | (lang_do_assignments_1): Likewise. |
| 1478 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. |
| 1479 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. |
| 1480 | * emultempl/hppaelf.em (build_section_lists): Likewise. |
| 1481 | * emultempl/ppc64elf.em (build_toc_list): Likewise. |
| 1482 | (build_section_lists): Likewise. |
| 1483 | |
| 1484 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
| 1485 | |
| 1486 | * ld.texinfo (Options): Fix typo in last change. |
| 1487 | |
| 1488 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
| 1489 | |
| 1490 | * ld.h (ld_config_type): Add new field: hash_table_size. |
| 1491 | * ldmain.c: Initialise the new field to zero. If it is non-zero |
| 1492 | after parsing the linker's command line call |
| 1493 | bfd_hash_set_default_size. |
| 1494 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. |
| 1495 | (ld_options): Add hash-size. |
| 1496 | (parse_args): Parse --hash-size option. Allow |
| 1497 | --reduce-memory-overheads to set the default hash table size as |
| 1498 | well. |
| 1499 | * ld.texinfo: Document the new switch. Also mention that |
| 1500 | --reduce-memory-overheads can affect the hash table size. |
| 1501 | * NEWS: Mention the new feature. |
| 1502 | |
| 1503 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
| 1504 | |
| 1505 | * NEWS: Mention new linker map file generation and the |
| 1506 | --reduce-memory-overheads option. |
| 1507 | * ld.texinfo: Document --reduce-memory-overheads option. |
| 1508 | * ld.h (map_symbol_def): New struct. |
| 1509 | (struct user_section_struct, section_userdata_type): Rename to: |
| 1510 | (struct lean_user_section_struct, lean_section_userdata_type). |
| 1511 | (struct fat_user_section_struct, fat_section_userdata_type): New. |
| 1512 | (SECTION_USERDATA_SIZE): Define. |
| 1513 | (args_type): New member reduce_memory_overheads. |
| 1514 | * ldlang.c (map_obstack): New static variable. |
| 1515 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. |
| 1516 | (lang_map): Unless command_line.reduce_memory_overheads is set, |
| 1517 | initialize lists of defined symbols for each section. |
| 1518 | (print_input_section): Unless command_line.reduce_memory_overheads |
| 1519 | is set, use print_all_symbols. |
| 1520 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. |
| 1521 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. |
| 1522 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. |
| 1523 | (ld_options): Add entry for --reduce-memory-overheads. |
| 1524 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. |
| 1525 | |
| 1526 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
| 1527 | |
| 1528 | * ldgram.y (sect_constraint): New. |
| 1529 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. |
| 1530 | (section): Add sect_constraint. Pass additional argument |
| 1531 | to lang_enter_output_section_statement. |
| 1532 | * mri.c (mri_draw_tree): Pass additional argument to |
| 1533 | lang_enter_output_section_statement. |
| 1534 | * emultempl/pe.em (place_orphan): Likewise. |
| 1535 | (output_prev_sec_find): Disregard output section statements with |
| 1536 | constraint == -1. |
| 1537 | * emultempl/mmo.em (output_prev_sec_find): Likewise. |
| 1538 | (mmo_place_orphan): Pass additional argument to |
| 1539 | lang_enter_output_section_statement. |
| 1540 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section |
| 1541 | statements with constraint == -1. |
| 1542 | (place_orphan): Pass additional argument to |
| 1543 | lang_enter_output_section_statement. |
| 1544 | * ldlang.c (lang_enter_overlay_section): Likewise. |
| 1545 | (lang_output_section_find_1): New. |
| 1546 | (lang_output_section_find): Use it. |
| 1547 | (lang_output_section_statement_lookup_1): New. |
| 1548 | (lang_output_section_statement_lookup): Use it. |
| 1549 | (check_section_callback, check_input_sections): New. |
| 1550 | (map_input_to_output_sections): Check if all input sections |
| 1551 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. |
| 1552 | (strip_excluded_output_sections): Disregard output section statements |
| 1553 | with constraint == -1. |
| 1554 | (lang_record_phdrs): Likewise. |
| 1555 | (lang_enter_output_section_statement): Add constraint argument. |
| 1556 | Use lang_output_section_statement_lookup_1. |
| 1557 | * ldlang.h (lang_output_section_statement_type): Add constraint |
| 1558 | and all_input_readonly fields. |
| 1559 | (lang_enter_output_section_statement): Adjust prototype. |
| 1560 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. |
| 1561 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text |
| 1562 | segment if all input sections are readonly. |
| 1563 | |
| 1564 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
| 1565 | |
| 1566 | * scripttempl/i386lynx.sc: Remove file. |
| 1567 | |
| 1568 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
| 1569 | |
| 1570 | * ld.texinfo (Output Section Address): Correct subsection name. |
| 1571 | |
| 1572 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
| 1573 | |
| 1574 | * configure.tgt (powerpc-*-lynxos* case): New case. |
| 1575 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. |
| 1576 | * emulparams/ppclynx.sh: New file. |
| 1577 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. |
| 1578 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o |
| 1579 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. |
| 1580 | (eppclynx.c): New rule. |
| 1581 | * Makefile.in: Regenerate. |
| 1582 | |
| 1583 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
| 1584 | |
| 1585 | * configure.tgt (or32-*-rtems*): Switch to elf and |
| 1586 | support versioned targets. |
| 1587 | |
| 1588 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
| 1589 | |
| 1590 | * po/fr.po: Updated French translation. |
| 1591 | |
| 1592 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
| 1593 | |
| 1594 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts |
| 1595 | for binaries, -shared and -pie. |
| 1596 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. |
| 1597 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. |
| 1598 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... |
| 1599 | (OTHER_RELRO_SECTIONS): ... this. |
| 1600 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. |
| 1601 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle |
| 1602 | -z relro and -z norelro. |
| 1603 | (gld${EMULATION_NAME}_list_options): Add it to usage. |
| 1604 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now |
| 1605 | -z relro scripts when appropriate. |
| 1606 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. |
| 1607 | Create separate .got.plt section if SEPARATE_GOTPLT. |
| 1608 | Move sections which are only written during relocation handling |
| 1609 | to the beginning of RW segment. If NO_SMALL_DATA, move .got |
| 1610 | before .data. Add DATA_SEGMENT_RELRO_END directive. |
| 1611 | Include OTHER_RELRO_SECTIONS. |
| 1612 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. |
| 1613 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. |
| 1614 | (fold_unary): Likewise. |
| 1615 | (fold_binary): Handle -z relro. |
| 1616 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and |
| 1617 | exp_dataseg_relro_adjust phases. Add relro_end field. |
| 1618 | * ldmain.c (main): Initialize link_info.relro to FALSE. |
| 1619 | * ldlang.c (lang_size_sections): Handle -z relro. |
| 1620 | |
| 1621 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 1622 | |
| 1623 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. |
| 1624 | |
| 1625 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
| 1626 | |
| 1627 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma |
| 1628 | before printing it with %W. |
| 1629 | |
| 1630 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
| 1631 | DJ Delorie <dj@redhat.com> |
| 1632 | |
| 1633 | * emultempl/pe.em (real_flags): New static. |
| 1634 | (OPTION_LARGE_ADDRESS_AWARE): New define. |
| 1635 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. |
| 1636 | (gld_${EMULATION_NAME}_list_options): Likewise. |
| 1637 | (gld${EMULATION_NAME}_handle_option): Likewise. |
| 1638 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. |
| 1639 | * ld.texinfo: Document it. |
| 1640 | * NEWS: Mention it. |
| 1641 | |
| 1642 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
| 1643 | |
| 1644 | * NEWS: Mention DWARF 2 support for i386pe. |
| 1645 | |
| 1646 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
| 1647 | |
| 1648 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new |
| 1649 | elf32-frvfdpic. |
| 1650 | |
| 1651 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
| 1652 | |
| 1653 | * ldlang.c (unique_section_p): Pass section parm, return true on |
| 1654 | group sections. |
| 1655 | (output_section_callback): Adjust. |
| 1656 | * ldlang.h (unique_section_p): Update prototype. |
| 1657 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. |
| 1658 | |
| 1659 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
| 1660 | |
| 1661 | * ld.texinfo (--gc-sections): Remove restriction for |
| 1662 | dynamic linking. |
| 1663 | |
| 1664 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
| 1665 | |
| 1666 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections |
| 1667 | for DWARF 2/3. Update stab section's syntax. |
| 1668 | |
| 1669 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
| 1670 | |
| 1671 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. |
| 1672 | (fill_edata): Correct pointer arithmetic. |
| 1673 | |
| 1674 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
| 1675 | |
| 1676 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. |
| 1677 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. |
| 1678 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. |
| 1679 | (EXTRA_EM_FILE): Use mipsecoff.em |
| 1680 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. |
| 1681 | (EXTRA_EM_FILE): Use mipsecoff.em |
| 1682 | * emultempl/mipsecoff.em: Restructure to be included as an |
| 1683 | extra emulation file. |
| 1684 | (check_sections, gld${EMULATION_NAME}_after_open) |
| 1685 | (gld${EMULATION_NAME}_after_allocation) |
| 1686 | (gld${EMULATION_NAME}_get_script) |
| 1687 | (ld_${EMULATION_NAME}_emulation): Remove |
| 1688 | (gld${EMULATION_NAME}_before_parse): Rename to... |
| 1689 | (mipsecoff_before_parse): This. |
| 1690 | (LDEMUL_BEFORE_PARSE): Define. |
| 1691 | * emultempl/mipself.em: Remove file. |
| 1692 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. |
| 1693 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing |
| 1694 | these symbols. |
| 1695 | * Makefile.am: Remove dependencies on emultempl/mipself.em. |
| 1696 | * Makefile.in: Regenerate. |
| 1697 | |
| 1698 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
| 1699 | |
| 1700 | * ld.texinfo (synthesizing on H8/300): Information about linker |
| 1701 | relaxation support for bit manipulation instructions and system |
| 1702 | control instructions is added. |
| 1703 | |
| 1704 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
| 1705 | |
| 1706 | * NEWS: Mention change in DEFINED semantics. |
| 1707 | |
| 1708 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
| 1709 | |
| 1710 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. |
| 1711 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. |
| 1712 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. |
| 1713 | |
| 1714 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
| 1715 | |
| 1716 | * ld.texinfo (Simple Example): Add missing punctuation. |
| 1717 | |
| 1718 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
| 1719 | |
| 1720 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. |
| 1721 | |
| 1722 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
| 1723 | |
| 1724 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section |
| 1725 | specially. |
| 1726 | |
| 1727 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
| 1728 | |
| 1729 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors |
| 1730 | with default priority. Likewise for dtors. |
| 1731 | |
| 1732 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 1733 | |
| 1734 | * configure.host: Remove mips*-dec-bsd* target. |
| 1735 | * configure.tgt: Likewise. |
| 1736 | |
| 1737 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
| 1738 | |
| 1739 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. |
| 1740 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. |
| 1741 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. |
| 1742 | * emultempl/irix.em: New file. |
| 1743 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update |
| 1744 | dependencies. |
| 1745 | * Makefile.in: Regenerate. |
| 1746 | |
| 1747 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
| 1748 | |
| 1749 | * emultempl/armelf.em (byteswap_code): Add. |
| 1750 | (arm_elf_before_allocation): Pass extra parameter. |
| 1751 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. |
| 1752 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. |
| 1753 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. |
| 1754 | * emultempl/armelf_oabi.em: Pass extra parameter. |
| 1755 | * ld.texinfo: Document --be8. |
| 1756 | |
| 1757 | 2004-03-30 Stan Shebs <shebs@apple.com> |
| 1758 | |
| 1759 | Remove long-obsolete MPW support. |
| 1760 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. |
| 1761 | * Makefile.am (mpw): Remove file-presynthesizing actions. |
| 1762 | * Makefile.in: Likewise. |
| 1763 | * ldfile.c (slash): Remove MPW case. |
| 1764 | * ldlex.l [MPW]: Remove unused definition. |
| 1765 | |
| 1766 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
| 1767 | |
| 1768 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. |
| 1769 | (eelf32cr16c.c): New target. |
| 1770 | * Makefile.in: Regenerate. |
| 1771 | * configure.tgt: Handle cr16c-*-elf*. |
| 1772 | * emulparams/elf32cr16c.sh: New file. |
| 1773 | * scripttempl/elfcr16c.sc: Likewise |
| 1774 | * NEWS: Mention support for new target. |
| 1775 | |
| 1776 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
| 1777 | |
| 1778 | * po/sv.po: Updated Swedish translation. |
| 1779 | |
| 1780 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
| 1781 | |
| 1782 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. |
| 1783 | * emultempl/hppaelf.em: Likewise. |
| 1784 | * emultempl/ppc64elf.em: Likewise. |
| 1785 | * emultempl/sh64elf.em: Likewise. |
| 1786 | |
| 1787 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
| 1788 | |
| 1789 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update |
| 1790 | size_dynamic_sections call. |
| 1791 | |
| 1792 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
| 1793 | |
| 1794 | PR 51. |
| 1795 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set |
| 1796 | link_info.wrap_char. |
| 1797 | |
| 1798 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
| 1799 | |
| 1800 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects |
| 1801 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. |
| 1802 | |
| 1803 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
| 1804 | |
| 1805 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. |
| 1806 | |
| 1807 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
| 1808 | |
| 1809 | * config.in: Regenerate. |
| 1810 | * po/ld.pot: Regenerate. |
| 1811 | |
| 1812 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
| 1813 | |
| 1814 | * ld.texinfo: Add --as-needed doco. |
| 1815 | * ldmain.c (as_needed): New global var. |
| 1816 | * ldmain.h (as_needed): Declare. |
| 1817 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and |
| 1818 | OPTION_NO_AS_NEEDED. |
| 1819 | (ld_options): Likewise. |
| 1820 | (parse_args): Handle them. |
| 1821 | * ldlang.h (lang_input_statement_type): Add as_needed field. |
| 1822 | * ldlang.c (new_afile): Set p->as_needed. |
| 1823 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. |
| 1824 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. |
| 1825 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. |
| 1826 | |
| 1827 | * ldlang.c (open_input_bfds): Remove useless cast. |
| 1828 | (lang_do_assignments_1): Likewise. |
| 1829 | (lang_for_each_input_section): Delete. |
| 1830 | |
| 1831 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
| 1832 | |
| 1833 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. |
| 1834 | |
| 1835 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
| 1836 | |
| 1837 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as |
| 1838 | private when building implib. |
| 1839 | |
| 1840 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
| 1841 | |
| 1842 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on |
| 1843 | SEC_THREAD_LOCAL. |
| 1844 | (IGNORE_SECTION): Ignore .tbss sections too. |
| 1845 | (lang_size_sections_1): .tbss sections do not advance dot. |
| 1846 | |
| 1847 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
| 1848 | |
| 1849 | * ld.texinfo (Options): Fix example for --wrap. |
| 1850 | |
| 1851 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
| 1852 | |
| 1853 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is |
| 1854 | not NULL. |
| 1855 | |
| 1856 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
| 1857 | |
| 1858 | * ldlang.c (lang_check): Use %P, not %E, in error message. |
| 1859 | |
| 1860 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
| 1861 | |
| 1862 | * ldlang.h (struct lang_output_section_state): Change processed |
| 1863 | field's type. |
| 1864 | * ldexp.c (check, invalid): Remove. |
| 1865 | (fold_name): Move valid_p assignments. Create undefined symbol |
| 1866 | when needed. Directly exampine section's processd flag. |
| 1867 | * ldlang.c (lang_output_section_statement_lookup): Adjust |
| 1868 | processed field init. |
| 1869 | (lang_size_sections_1): Allow LOADADDR when determining section's |
| 1870 | VMA. Adjust error message. Fold data statement's expr. |
| 1871 | (lang_size_sections): Correctly increment lang_statement_iteration. |
| 1872 | |
| 1873 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> |
| 1874 | |
| 1875 | * ldexp.c (fold_tree): Follow indirect symbols. |
| 1876 | |
| 1877 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
| 1878 | |
| 1879 | * ldgram.y (exp): Add two operand ALIGN. |
| 1880 | * ldexp.c (fold_binary): Add ALIGN_K case. |
| 1881 | * ld.texinfo (ALIGN): Document two operand version. |
| 1882 | |
| 1883 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
| 1884 | |
| 1885 | * ldlang.c (map_input_to_output_sections): Initialize sections |
| 1886 | mentioned in a data statement expression. |
| 1887 | (lang_do_assignments_1): Add data statement's expression's |
| 1888 | section's vma. |
| 1889 | |
| 1890 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
| 1891 | |
| 1892 | * ldgram.y (statement_anywhere): Add assert rule. |
| 1893 | * ldlang.c (exp_init_os): Add assert case. |
| 1894 | |
| 1895 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
| 1896 | |
| 1897 | * ldmain.c (remove_output): Call bfd_cache_close. |
| 1898 | |
| 1899 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
| 1900 | |
| 1901 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard |
| 1902 | .MIPS.content* and .MIPS.events* sections. |
| 1903 | |
| 1904 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
| 1905 | |
| 1906 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move |
| 1907 | .note.gnu.arm.ident to after allocated sections. Mark its |
| 1908 | address as 0. |
| 1909 | |
| 1910 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
| 1911 | |
| 1912 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. |
| 1913 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. |
| 1914 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. |
| 1915 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. |
| 1916 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. |
| 1917 | |
| 1918 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
| 1919 | |
| 1920 | * emultempl/pe.em (_after_open): Fix typo in previous delta. |
| 1921 | |
| 1922 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
| 1923 | |
| 1924 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. |
| 1925 | |
| 1926 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
| 1927 | |
| 1928 | * genscripts.sh: Fix typo. |
| 1929 | |
| 1930 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
| 1931 | |
| 1932 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
| 1933 | |
| 1934 | * emulparams/elf64_ia64.sh: Put .rela.opd into |
| 1935 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. |
| 1936 | |
| 1937 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
| 1938 | |
| 1939 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. |
| 1940 | * ld.texinfo (--omagic): Note that writable text section |
| 1941 | does not conform to published PE-COFF specs. |
| 1942 | (--enable-auto-import): Likewise. |
| 1943 | |
| 1944 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
| 1945 | |
| 1946 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. |
| 1947 | |
| 1948 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
| 1949 | |
| 1950 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' |
| 1951 | which if true will prevent the LMA region being used as a |
| 1952 | replacement for a default VMA region. |
| 1953 | (lang_leave_output_section_statement): Pass extra parameter. |
| 1954 | (lang_leave_overlay): Likewise. |
| 1955 | * ld.texinfo (Output Section LMA): Document that the LMA |
| 1956 | region can be set to the VMA region if no VMA has been set. |
| 1957 | * ldlang.h (struct lang_output_section_phdr_list): Create a |
| 1958 | typedef for this type. Minor formatting fixes. |
| 1959 | |
| 1960 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
| 1961 | |
| 1962 | * ldlang.c (lang_size_sections_1): If dot is advanced, then |
| 1963 | assume that the section should be allocated. |
| 1964 | |
| 1965 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
| 1966 | |
| 1967 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD |
| 1968 | sections. Do ignore SEC_NEVER_LOAD sections. |
| 1969 | (lang_size_sections_1): Remove test made redundant with the above. |
| 1970 | |
| 1971 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
| 1972 | |
| 1973 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached |
| 1974 | program_header_size. |
| 1975 | |
| 1976 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
| 1977 | |
| 1978 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> |
| 1979 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. |
| 1980 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> |
| 1981 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. |
| 1982 | (MAXPAGESIZE): Set to 64Kb. |
| 1983 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and |
| 1984 | __ROFIXUP_END__. Don't map .rofixup.got any more. |
| 1985 | * emulparams/elf32frv.sh (NOP): Set. |
| 1986 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> |
| 1987 | * configure.tgt: Add frv-*-*linux*. |
| 1988 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> |
| 1989 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. |
| 1990 | (eelf32frvfd.c): New. |
| 1991 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. |
| 1992 | * emulparams/elf32frv.sh: Reverted previous two patches. |
| 1993 | * emulparams/elf32frvfd.sh: New. |
| 1994 | * Makefile.in: Rebuilt. |
| 1995 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> |
| 1996 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added |
| 1997 | .rofixup.got to .rofixup. |
| 1998 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> |
| 1999 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. |
| 2000 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. |
| 2001 | |
| 2002 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
| 2003 | |
| 2004 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. |
| 2005 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. |
| 2006 | |
| 2007 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
| 2008 | |
| 2009 | * ldexp.c (align_n): Make static. |
| 2010 | * ldexp.h (align_n): Delete declaration. |
| 2011 | * ldlang.h (lang_enter_output_section_statement): Remove |
| 2012 | block_value param. |
| 2013 | * ldlang.c (lang_enter_output_section_statement): Likewise. |
| 2014 | (TO_ADDR, TO_SIZE): Define. |
| 2015 | (opb_shift): New var. |
| 2016 | (init_opb): New function. |
| 2017 | (print_input_section): Call init_opb and use TO_ADDR. |
| 2018 | (print_data_statement, print_reloc_statement): Likewise. |
| 2019 | (print_padding_statement): Likewise. |
| 2020 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
| 2021 | (lang_check_section_addresses): Likewise. |
| 2022 | (lang_size_sections_1): Likewise. |
| 2023 | (lang_do_assignments_1): Likewise. |
| 2024 | (lang_set_startof): Likewise. |
| 2025 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
| 2026 | (lang_process): Call init_opb. |
| 2027 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
| 2028 | (lang_enter_overlay_section): Adjust |
| 2029 | lang_enter_output_section_statement call. |
| 2030 | * ldgram.y: Likewise. |
| 2031 | * mri.c (mri_draw_tree): Likewise. |
| 2032 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 2033 | * emultempl/mmo.em (mmo_place_orphan): Likewise. |
| 2034 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 2035 | |
| 2036 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
| 2037 | * ldfile.h (ldfile_set_output_arch): Ditto. |
| 2038 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use |
| 2039 | ldfile_set_output_arch. |
| 2040 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2041 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2042 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2043 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2044 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2045 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2046 | * ldgram.y: Adjust ldfile_set_output_arch call. |
| 2047 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2048 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2049 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2050 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2051 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. |
| 2052 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2053 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 2054 | |
| 2055 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
| 2056 | |
| 2057 | * configure.tgt: Add m68k-uClinux target. |
| 2058 | |
| 2059 | For older changes see ChangeLog-0203 |
| 2060 | \f |
| 2061 | Local Variables: |
| 2062 | mode: change-log |
| 2063 | left-margin: 8 |
| 2064 | fill-column: 74 |
| 2065 | version-control: never |
| 2066 | End: |