| 1 | 2002-07-14 H.J. Lu <hjl@gnu.org> |
| 2 | |
| 3 | * ld.texinfo: Document a .symver takes precedence over a |
| 4 | version script. |
| 5 | |
| 6 | 2002-07-12 Alan Modra <amodra@bigpond.net.au> |
| 7 | |
| 8 | * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. |
| 9 | (COMMONPAGESIZE): Define. |
| 10 | |
| 11 | 2002-07-09 Alan Modra <amodra@bigpond.net.au> |
| 12 | |
| 13 | * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. |
| 14 | |
| 15 | 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> |
| 16 | |
| 17 | * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, |
| 18 | powerpc-*-openbsd* and sparc64-*-openbsd*. |
| 19 | * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. |
| 20 | * Makefile.in: Regenerate. |
| 21 | * emulparams/hppaobsd.sh: New file. |
| 22 | |
| 23 | 2002-07-05 Alan Modra <amodra@bigpond.net.au> |
| 24 | |
| 25 | * ldlang.c (print_wild_statement): Fix output formatting. |
| 26 | |
| 27 | 2002-07-04 Alan Modra <amodra@bigpond.net.au> |
| 28 | |
| 29 | * ldlang.c: (strip_excluded_output_sections): New function. |
| 30 | (lang_process): Call it. |
| 31 | (lang_size_sections_1): Revert 2002-06-10 change. |
| 32 | |
| 33 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
| 34 | |
| 35 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. |
| 36 | Run "make dep-am". |
| 37 | * Makefile.in: Regenerate. |
| 38 | |
| 39 | 2002-07-02 Alan Modra <amodra@bigpond.net.au> |
| 40 | |
| 41 | * ldfile.c (ldfile_try_open_bfd): Formatting. |
| 42 | |
| 43 | * ldmisc.c (demangle): Move so that it doesn't intrude between |
| 44 | vfinfo comment and body. Add comment. |
| 45 | |
| 46 | 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 47 | |
| 48 | * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. |
| 49 | |
| 50 | 2002-07-01 Alan Modra <amodra@bigpond.net.au> |
| 51 | |
| 52 | * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. |
| 53 | * ldlang.c (entry_sym): Likewise. |
| 54 | (ldlang_undef_chain_list_type): Likewise. |
| 55 | (lang_finish): Adjust references to entry_symbol. |
| 56 | (lang_add_entry): Likewise. |
| 57 | (lang_gc_sections): Use link_info.gc_sym_list. |
| 58 | (lang_process): Set link_info.gc_sym_list. |
| 59 | * ldlex.l: Include bfdlink.h. |
| 60 | * ldmain.c (main): Init link_info.gc_sym_list. |
| 61 | * emultempl/aix.em: Adjust references to entry_symbol. |
| 62 | * emultempl/armcoff.em: Likewise. |
| 63 | * emultempl/armelf.em: Likewise. |
| 64 | * emultempl/pe.em: Likewise. |
| 65 | * emultempl/ppc64elf.em (ppc_after_open): New function. |
| 66 | (LDEMUL_AFTER_OPEN): Define. |
| 67 | * emulparams/elf64ppc.sh: KEEP .opd sections. |
| 68 | |
| 69 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
| 70 | |
| 71 | * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. |
| 72 | * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. |
| 73 | * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. |
| 74 | (EEPROM_START_ADDR): Define. |
| 75 | (EEPROM_MEMORY): Define. |
| 76 | * emulparams/m68hc12elf.sh: Likewise. |
| 77 | * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs |
| 78 | section to put soft registers in .page0. |
| 79 | * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. |
| 80 | |
| 81 | 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 82 | |
| 83 | * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd |
| 84 | section. Add ${RELOCATING-0}. |
| 85 | |
| 86 | Wed Jun 26 16:33:58 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 87 | |
| 88 | * emulparams/shelf.sh (STACK_ADDR): Don't define. |
| 89 | (OTHER_SECTIONS): Define. |
| 90 | * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. |
| 91 | (OTHER_SECTIONS): Undef. |
| 92 | |
| 93 | 2002-06-26 Alan Modra <amodra@bigpond.net.au> |
| 94 | |
| 95 | * ldmisc.c (demangle): Restore dots stripped from sym name. |
| 96 | |
| 97 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
| 98 | |
| 99 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. |
| 100 | * Makefile.in: Regenerated. |
| 101 | |
| 102 | 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com> |
| 103 | |
| 104 | * ld.texinfo (Bug Reporting): Update text to suggest a limit on |
| 105 | the size of attached object files, to allow make the object files |
| 106 | available via FTP or HTTP and to mention that the mail will be |
| 107 | sent to a mailing list. |
| 108 | |
| 109 | 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> |
| 110 | |
| 111 | * ld/configure.host (romp): Drop support. |
| 112 | |
| 113 | 2002-06-18 Chris Demetriou <cgd@broadcom.com> |
| 114 | |
| 115 | * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check |
| 116 | section flags for SEC_DATA, rather than for SEC_CODE being unset. |
| 117 | |
| 118 | 2002-06-18 Chris Demetriou <cgd@broadcom.com> |
| 119 | |
| 120 | * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix |
| 121 | format specifier used to print BFD name. |
| 122 | |
| 123 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
| 124 | |
| 125 | From Catherine Moore, Michael Meissner, Jim Blandy: |
| 126 | * emulparams/elf32frv.sh: New file. |
| 127 | * configure.tgt: Support frv-*-*. |
| 128 | * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. |
| 129 | (eelf32frv.c): New target. |
| 130 | |
| 131 | 2002-06-17 Tom Rix <trix@redhat.com> |
| 132 | |
| 133 | * emultempl/elf32.em: gld*_get_script: Check for |
| 134 | GENERATE_COMBRELOC_SCRIPT. |
| 135 | * scripttempl/elfd10v.sc : Fix STACK and INSN. |
| 136 | * emulparams/d10velf.sh : Fix TEXT_START_ADDR. |
| 137 | |
| 138 | Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 139 | |
| 140 | * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. |
| 141 | |
| 142 | 2002-06-12 H.J. Lu <hjl@gnu.org> |
| 143 | |
| 144 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return |
| 145 | false if xvec doesn't match. |
| 146 | |
| 147 | 2002-06-10 Richard Sandiford <rsandifo@redhat.com> |
| 148 | |
| 149 | * ldlang.c (lang_size_sections_1): Skip removed output sections. |
| 150 | |
| 151 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
| 152 | |
| 153 | * ldexp.c: Replace CONST with const. |
| 154 | * ldfile.c: Likewise. |
| 155 | * ldfile.h: Likewise. |
| 156 | * ldlex.l: Likewise. |
| 157 | * mri.c: Likewise. |
| 158 | * pe-dll.h: Likewise. |
| 159 | |
| 160 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
| 161 | |
| 162 | * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. |
| 163 | |
| 164 | 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu> |
| 165 | |
| 166 | * ld/ldmain.c (main): initialize link_info.pei386_auto_import |
| 167 | to -1 == implicit enable. |
| 168 | * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): |
| 169 | initialize link_info.pei386_auto_import to -1 == implicit |
| 170 | enable. |
| 171 | (gld_${EMULATION_NAME}_parse_args): When processing |
| 172 | --enable-auto-import and --disable-auto-import options, use |
| 173 | '1' and '0' instead of 'true' and 'false'. |
| 174 | (pe_find_data_imports): Only issue message about auto-import |
| 175 | when the feature is implicitly enabled. Downgrade message to |
| 176 | informational instead of warning. |
| 177 | |
| 178 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
| 179 | |
| 180 | * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. |
| 181 | |
| 182 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 183 | |
| 184 | * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, |
| 185 | HOSTING_CRT0 and HOSTING_LIBS. |
| 186 | |
| 187 | 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> |
| 188 | |
| 189 | * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. |
| 190 | |
| 191 | 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com> |
| 192 | |
| 193 | * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. |
| 194 | (NONPAGED_TEXT_START_ADDR): Set to 0x1000. |
| 195 | |
| 196 | 2002-06-05 Alan Modra <amodra@bigpond.net.au> |
| 197 | |
| 198 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place |
| 199 | SEC_EXCLUDE sections when doing a relocatable link. |
| 200 | |
| 201 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 202 | |
| 203 | * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, |
| 204 | eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. |
| 205 | (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) |
| 206 | (eshlelf64_nbsd.c): New rules. |
| 207 | * Makefile.in: Regenerate. |
| 208 | * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) |
| 209 | (sh64-*-netbsd*): New targets. |
| 210 | * emulparams/shelf32_nbsd.sh: New file. |
| 211 | * emulparams/shelf64_nbsd.sh: New file. |
| 212 | * emulparams/shlelf32_nbsd.sh: New file. |
| 213 | * emulparams/shlelf64_nbsd.sh: New file. |
| 214 | |
| 215 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
| 216 | |
| 217 | * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. |
| 218 | |
| 219 | 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 220 | |
| 221 | * scripttempl/avr.sc: Changes to support current GCC and avr-libc, |
| 222 | C++ constructors/destructors, loosely based on the m68hc11 port. |
| 223 | |
| 224 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
| 225 | |
| 226 | * Makefile.in: Regenerate. |
| 227 | * aclocal.m4: Regenerate. |
| 228 | * config.in: Regenerate. |
| 229 | * configure: Regenerate. |
| 230 | |
| 231 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
| 232 | |
| 233 | * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. |
| 234 | (ei386nto.c): Add rule. |
| 235 | * Makefile.in: Regenerate. |
| 236 | * configure.tgt: Add i[3456]86-*-nto-qnx*. |
| 237 | * emulparams/i386nto.sh: New file. |
| 238 | |
| 239 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
| 240 | |
| 241 | * NEWS: Add entry for VAX ELF support. |
| 242 | |
| 243 | 2002-05-29 Matt Thomas <matt@3am-software.com> |
| 244 | Jason Thorpe <thorpej@wasabisystems.com> |
| 245 | |
| 246 | * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. |
| 247 | (eelf32vax.c) |
| 248 | (evaxnbsd.c): New rules. |
| 249 | * Makefile.in: Regenerate. |
| 250 | * configure.tgt (vax-*-netbsdelf*) |
| 251 | (vax-*-netbsdaout*) |
| 252 | (vax-*-netbsd*): New targets. |
| 253 | * emulparams/elf32vax.sh: New file. |
| 254 | * emulparams/vaxnbsd.sh: New file. |
| 255 | |
| 256 | 2002-05-29 Adam Nemet <anemet@lnxw.com> |
| 257 | |
| 258 | * emultempl/armelf.em (arm_elf_after_open): Don't determine |
| 259 | bfd_for_interwork, instead add glue sections to each input bfd. |
| 260 | (bfd_for_interwork): New global. |
| 261 | (arm_elf_set_bfd_for_interworking): New function. |
| 262 | (arm_elf_before_allocation): Use it. |
| 263 | |
| 264 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
| 265 | |
| 266 | * Makefile.am: Add DLX make target. |
| 267 | * configure.tgt: Add DLX configuration. |
| 268 | * Makefile.in: Regenerate. |
| 269 | * emulparams/elf32_dlx.sh: New file |
| 270 | * scripttempl/dlx.sc: New file |
| 271 | |
| 272 | 2002-05-27 Per Lundberg <per@caleb.dnsalias.org> |
| 273 | |
| 274 | * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. |
| 275 | * Makefile.in: Regenerate. |
| 276 | * emulparams/elf_chaos.sh: Use elf_chaos script. |
| 277 | * scripttempl/elf_chaos.sc: New file. |
| 278 | |
| 279 | 2002-05-27 Richard Sandiford <rsandifo@redhat.com> |
| 280 | |
| 281 | * ldlang.c (lang_size_sections_1): Move check for conflicting load |
| 282 | addresses and regions from here... |
| 283 | (lang_get_regions): ...to this new function. |
| 284 | (lang_leave_output_section_statement): Use lang_get_regions. |
| 285 | (lang_leave_overlay): Likewise. |
| 286 | * mri.c (mri_draw_tree): Pass null as last argument to |
| 287 | lang_leave_output_section_statement. |
| 288 | * emultempl/elf32.em (gld*_place_orphan): Likewise. |
| 289 | * emultempl/mmo.em (mmo_place_orphan): Likewise. |
| 290 | * emultempl/pe.em (gld*_place_orphan): Likewise. |
| 291 | |
| 292 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 293 | |
| 294 | * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. |
| 295 | |
| 296 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
| 297 | |
| 298 | * ldemul.c: Fix formatting. |
| 299 | * ldfile.c: Likewise. |
| 300 | * pe-dll.c: Likewise. |
| 301 | * pe-dll.h: Likewise. |
| 302 | |
| 303 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
| 304 | |
| 305 | * ldlang.c (lang_process): Formatting, grammar. |
| 306 | |
| 307 | * ldlex.l: Use #include "" instead of <> for local header files. |
| 308 | |
| 309 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
| 310 | |
| 311 | * configure.tgt: Add a target for i386-netbsdpe. |
| 312 | |
| 313 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
| 314 | |
| 315 | * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. |
| 316 | * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for |
| 317 | output section if necessary. Handle .tbss. |
| 318 | (lang_size_sections): Clear _raw_size for .tbss section |
| 319 | (it allocates space in PT_TLS segment only). |
| 320 | * ldwrite.c (build_link_order): Build link order for .tbss too. |
| 321 | |
| 322 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
| 323 | |
| 324 | * configure.in: Correct spelling of AC_PREREQ. |
| 325 | |
| 326 | 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> |
| 327 | |
| 328 | * pe-dll.c (autofilter_liblist): Add more system libs excluded by |
| 329 | default. |
| 330 | (autofilter_objlist): Add crtbegin.o, crtend.o. |
| 331 | |
| 332 | 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> |
| 333 | |
| 334 | * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. |
| 335 | (longopts): Add new option --exclude-libs. |
| 336 | (gld_${EMULATION_NAME}_list_options): Give quick help about it. |
| 337 | (gld_${EMULATION_NAME}_parse_args): Use it. |
| 338 | * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. |
| 339 | * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols |
| 340 | from whole archives. |
| 341 | (pe_dll_add_excludes): Set excludes->type. |
| 342 | (auto_export): Add new variable libname and set to archive basename if |
| 343 | abfd. Use it when filtering default and user-specified libarary |
| 344 | excludes. Let string "ALL" mean all libs when filtering user-specified |
| 345 | libs. |
| 346 | * ld.texinfo: Document --exclude-libs. |
| 347 | |
| 348 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
| 349 | |
| 350 | * ldemul.c (ldemul_new_vers_pattern): New function. |
| 351 | * ldemul.h (ldemul_new_vers_pattern): Declare. |
| 352 | (struct ld_emulation_xfer_struct): Add new_vers_pattern. |
| 353 | * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. |
| 354 | * emultempl/ppc64elf.em (dotsyms): New static var. |
| 355 | (gld${EMULATION_NAME}_new_vers_pattern): New function. |
| 356 | (LDEMUL_NEW_VERS_PATTERN): Define. |
| 357 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. |
| 358 | (PARSE_AND_LIST_LONGOPTS): Likewise. |
| 359 | (PARSE_AND_LIST_ARGS_CASES): Handle them. |
| 360 | * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update |
| 361 | initialiser. |
| 362 | * emultempl/armcoff.em: Likewise. |
| 363 | * emultempl/armelf_oabi.em: Likewise. |
| 364 | * emultempl/beos.em: Likewise. |
| 365 | * emultempl/elf32.em: Likewise. |
| 366 | * emultempl/generic.em: Likewise. |
| 367 | * emultempl/gld960.em: Likewise. |
| 368 | * emultempl/gld960c.em: Likewise. |
| 369 | * emultempl/linux.em: Likewise. |
| 370 | * emultempl/lnk960.em: Likewise. |
| 371 | * emultempl/m68kcoff.em: Likewise. |
| 372 | * emultempl/mipsecoff.em: Likewise. |
| 373 | * emultempl/pe.em: Likewise. |
| 374 | * emultempl/sunos.em: Likewise. |
| 375 | * emultempl/ticoff.em: Likewise. |
| 376 | * emultempl/vanilla.em: Likewise. |
| 377 | |
| 378 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
| 379 | |
| 380 | * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir |
| 381 | and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. |
| 382 | (LIB_SEARCH_DIRS): No need to use "tr". |
| 383 | (COMPILE_IN): Only set for native targets. |
| 384 | * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs |
| 385 | here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. |
| 386 | * configure.tgt (powerpc*): Set tdir_*. |
| 387 | (powerpcle*): Correct targ_extra_emuls. |
| 388 | * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. |
| 389 | * emulparams/elf64ppc.sh (LIB_PATH): Likewise. |
| 390 | |
| 391 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
| 392 | |
| 393 | * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when |
| 394 | calling lang_add_entry. |
| 395 | |
| 396 | 2002-05-21 H.J. Lu (hjl@gnu.org) |
| 397 | |
| 398 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle |
| 399 | "-z muldefs". |
| 400 | (gld${EMULATION_NAME}_list_options): Add "-z muldefs". |
| 401 | |
| 402 | * ld.texinfo: Updated for --allow-multiple-definition and |
| 403 | "-z muldefs". |
| 404 | |
| 405 | * ldmain.c (main): Initialize the allow_multiple_definition |
| 406 | field to false. |
| 407 | |
| 408 | * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. |
| 409 | (ld_options): Add --allow-multiple-definition. |
| 410 | (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. |
| 411 | |
| 412 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 413 | |
| 414 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. |
| 415 | (earmelfb_nbsd.c): New rule. |
| 416 | * Makefile.in: Regenerate. |
| 417 | * configure.tgt (armeb-*-netbsdelf*): New target. |
| 418 | (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. |
| 419 | (arm-*-netbsd*): Likewise. |
| 420 | * emulparams/armelfb_nbsd.sh: New file. |
| 421 | |
| 422 | 2002-05-18 Tom Rix <trix@redhat.com> |
| 423 | |
| 424 | * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib |
| 425 | support. |
| 426 | |
| 427 | 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 428 | |
| 429 | * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. |
| 430 | * Makefile.in: Regenerate. |
| 431 | * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. |
| 432 | |
| 433 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 434 | |
| 435 | * emulparams/avr1.sh: New file. |
| 436 | * emulparams/avr2.sh: New file. |
| 437 | * emulparams/avr3.sh: New file. |
| 438 | * emulparams/avr4.sh: New file. |
| 439 | * emulparams/avr5.sh: New file. |
| 440 | * scripttempl/avr.sc: New file. |
| 441 | |
| 442 | 2002-05-15 Alan Modra <amodra@bigpond.net.au> |
| 443 | |
| 444 | * ldlang.c (section_already_linked): Call bfd_link_just_syms. |
| 445 | (lang_place_orphans): Abort if just_syms_flag. |
| 446 | |
| 447 | 2002-05-10 Tom Rix <trix@redhat.com> |
| 448 | |
| 449 | * emultempl/aix.em: (gld*_set_output_arch): New function. Use |
| 450 | architecture and machine information in the output bfd. |
| 451 | (gld*_before_parse): Remove old arch and machine code. |
| 452 | (choose_target): Rename to gld*_choose_target. |
| 453 | (rtld): Change type to int. |
| 454 | * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for |
| 455 | objects in XCOFF archives. |
| 456 | * ldfile.h: Update copyright date. |
| 457 | |
| 458 | 2002-05-10 Jakub Jelinek <jakub@redhat.com> |
| 459 | |
| 460 | * ldmain.c (main): Enable -z combreloc by default. |
| 461 | |
| 462 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
| 463 | |
| 464 | * Makefile.am: Honour DESTDIR. |
| 465 | * Makefile.in: Regenerate. |
| 466 | |
| 467 | 2002-05-07 Richard Sandiford <rsandifo@redhat.com> |
| 468 | |
| 469 | * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. |
| 470 | (lang_enter_overlay): Remove the last two parameters. |
| 471 | (lang_leave_overlay): Take them here instead. |
| 472 | * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. |
| 473 | (section): Pass LMA and crossref flag to lang_leave_overlay rather |
| 474 | than lang_enter_overlay. |
| 475 | * ldlang.c (lang_memory_region_lookup): Return null for null names. |
| 476 | (lang_output_section_statement_lookup): Initialize update_dot_tree. |
| 477 | (lang_size_sections_1): Evaluate it. |
| 478 | (lang_leave_output_section_statement): Rework LMA lookup. |
| 479 | (overlay_lma, overlay_nocrossrefs): Remove. |
| 480 | (lang_enter_overlay): Remove LMA and crossref arguments. |
| 481 | (lang_enter_overlay_section): Don't set the LMA here. |
| 482 | (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' |
| 483 | assignment to the last section's update_dot_tree. Unconditionally |
| 484 | use the load and run-time regions specified in the OVERLAY statement. |
| 485 | Likewise the first section's LMA. Only set the other sections' LMAs |
| 486 | when no load region is given. |
| 487 | |
| 488 | 2002-05-06 Nick Clifton <nickc@redhat.com> |
| 489 | |
| 490 | * po/sv.po: New translation. |
| 491 | |
| 492 | 2002-05-04 Alan Modra <amodra@bigpond.net.au> |
| 493 | |
| 494 | * emultempl/hppaelf.em (build_section_lists): New function. |
| 495 | (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists |
| 496 | and build_section_lists. |
| 497 | |
| 498 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
| 499 | |
| 500 | * ld.h: Fix formatting. |
| 501 | * ldexp.c: Likewise. |
| 502 | * ldfile.c: Likewise. |
| 503 | * ldlang.c: Likewise. |
| 504 | * ldmain.c: Likewise. |
| 505 | * lexsup.c: Likewise. |
| 506 | * pe-dll.c: Likewise. |
| 507 | |
| 508 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
| 509 | |
| 510 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): |
| 511 | Adjust for ppc64_elf_set_toc change. #include libbfd.h. |
| 512 | (build_section_lists): Do output_section tests here. |
| 513 | |
| 514 | 2002-04-30 Tom Rix <trix@redhat.com> |
| 515 | |
| 516 | * emultempl/aix.em : (gld*_parse_arge): Formatting changes. |
| 517 | |
| 518 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
| 519 | |
| 520 | Long branch stubs, multiple stub sections. |
| 521 | * emultempl/ppc64elf.em: Include ldctor.h. |
| 522 | (stub_file): New var. |
| 523 | (group_size): New var. |
| 524 | (ppc_create_output_section_statements): New function. |
| 525 | (struct hook_stub_info): New. |
| 526 | (hook_in_stub): New function. |
| 527 | (ppc_add_stub_section): New function. |
| 528 | (ppc_layout_sections_again): New function. |
| 529 | (build_section_lists): New function. |
| 530 | (gld${EMULATION_NAME}_finish): Rewrite. |
| 531 | (real_func): New var. |
| 532 | (ppc_for_each_input_file_wrapper): New function. |
| 533 | (ppc_lang_for_each_input_file): New function. |
| 534 | (lang_for_each_input_file): Define. |
| 535 | (PARSE_AND_LIST_PROLOGUE): Define. |
| 536 | (PARSE_AND_LIST_LONGOPTS): Define. |
| 537 | (PARSE_AND_LIST_OPTIONS): Define. |
| 538 | (PARSE_AND_LIST_ARGS_CASES): Define. |
| 539 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. |
| 540 | |
| 541 | 2002-04-30 Tom Rix <trix@redhat.com> |
| 542 | |
| 543 | * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add |
| 544 | -blibpath, -bnolibpath support. |
| 545 | |
| 546 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
| 547 | |
| 548 | * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. |
| 549 | (eelf32ppcwindiss.c): New target. |
| 550 | * Makefile.in: Regenerated. |
| 551 | * configure.tgt: Add support for powerpc-*-windiss. |
| 552 | * emulparams/elf32ppcwindiss.sh: New file. |
| 553 | |
| 554 | 2002-04-30 Richard Sandiford <rsandifo@redhat.com> |
| 555 | |
| 556 | * ldlang.c (print_assignment): Update print_dot for assignments to ".". |
| 557 | * ldexp.c (exp_print_token): Add "infix_p" argument. |
| 558 | (exp_print_tree): Update accordingly. |
| 559 | |
| 560 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
| 561 | |
| 562 | * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. |
| 563 | * Makefile.in: Regenerate. |
| 564 | * mpw-elfmips.c: Delete. |
| 565 | * mpw-eppcmac.c: Delete. |
| 566 | * mpw-esh.c: Delete. |
| 567 | * mpw-idtmips.c: Delete. |
| 568 | |
| 569 | Wed Apr 17 19:23:14 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 570 | |
| 571 | * emulparams/shelf32.sh (MACHINE): Now sh5. |
| 572 | |
| 573 | 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 574 | |
| 575 | * ldgram.y: Fix syntax warning. |
| 576 | |
| 577 | 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com> |
| 578 | |
| 579 | * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order |
| 580 | to prevent "-n" from being taken as an abbreviation for |
| 581 | "--no-pipeline-knowledge". |
| 582 | |
| 583 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
| 584 | |
| 585 | * ldlang.c (lang_size_sections_1): Don't complain about |
| 586 | SEC_NEVER_LOAD sections having no memory region specified. |
| 587 | |
| 588 | * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. |
| 589 | |
| 590 | 2002-04-07 matthew green <mrg@redhat.com> |
| 591 | |
| 592 | * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. |
| 593 | |
| 594 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
| 595 | |
| 596 | * dep-in.sed: Cope with absolute paths. |
| 597 | * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. |
| 598 | Run "make dep-am". |
| 599 | * Makefile.in: Regenerate. |
| 600 | |
| 601 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 602 | |
| 603 | * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. |
| 604 | |
| 605 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
| 606 | |
| 607 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size |
| 608 | is smaller than maximum, round dot up to common page boundary. |
| 609 | |
| 610 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
| 611 | |
| 612 | * configure.host: Set up for generic hosts first, then tweak as |
| 613 | necessary in more specific targets. |
| 614 | (HOSTING_LIBS): Include libgcc_eh.a if found. |
| 615 | |
| 616 | 2002-03-23 Andreas Jaeger <aj@suse.de> |
| 617 | |
| 618 | * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. |
| 619 | |
| 620 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
| 621 | |
| 622 | * Makefile.am: Run "make dep-am". |
| 623 | * Makefile.in: Regenerate. |
| 624 | |
| 625 | 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com> |
| 626 | |
| 627 | * genscripts.sh (LIB_SEARCH_DIRS): Quote path. |
| 628 | |
| 629 | 2002-03-20 Alan Modra <amodra@bigpond.net.au> |
| 630 | |
| 631 | * ldlang.c (ldlang_add_undef): If the output bfd has been opened, |
| 632 | add the symbol to the linker hash table immediately. |
| 633 | (lang_place_undefineds): Split symbol creation out.. |
| 634 | (insert_undefined): ..to here. |
| 635 | |
| 636 | 2002-03-18 David O'Brien <obrien@FreeBSD.org> |
| 637 | |
| 638 | * emultempl/elf32.em: Use lbasename vs. basename to fix problem where |
| 639 | the contents of the buffer returned from basename function will are |
| 640 | getting overwritten while still being used. |
| 641 | |
| 642 | Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <jh@suse.cz> |
| 643 | Andreas Jaeger <aj@suse.de> |
| 644 | Andreas Schwab <schwab@suse.de> |
| 645 | |
| 646 | * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. |
| 647 | * elf_x86_64.sh (ARCH): Set to i386:x86-64 |
| 648 | set libraries to default to lib64 paths. |
| 649 | |
| 650 | 2002-03-18 Tom Rix <trix@redhat.com> |
| 651 | |
| 652 | * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. |
| 653 | * configure.tgt : Same. |
| 654 | * emulparms/aix5ppc.sh : New file. For eaix5ppc. |
| 655 | * emulparms/aix5rs6.sh : New file. For eaix5rs6. |
| 656 | * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT |
| 657 | emulation parameters for better -b32, -b64 support. |
| 658 | * emulparms/aixrs6.sh : Same. |
| 659 | * emulparms/ppcmacos.sh : Same. |
| 660 | * emultempl/aix.em (choose_target) : Use new emulation parameters |
| 661 | OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. |
| 662 | * Makefile.in : Regenerate. |
| 663 | |
| 664 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
| 665 | |
| 666 | * po/fr.po: Updated version. |
| 667 | |
| 668 | 2002-03-18 Alan Modra <amodra@bigpond.net.au> |
| 669 | |
| 670 | * ldmain.c (main): Move .text readonly flag fudges from here.. |
| 671 | * ldlang.c (lang_process): ..to here. |
| 672 | |
| 673 | 2002-03-14 Alan Modra <amodra@bigpond.net.au> |
| 674 | |
| 675 | * ldlang.c (lang_check): Remove the word size check added in last |
| 676 | change. Treat emitrelocations case as for relocatable links. |
| 677 | |
| 678 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
| 679 | |
| 680 | * po/fr.po: Updated version. |
| 681 | |
| 682 | 2002-03-13 Alan Modra <amodra@bigpond.net.au> |
| 683 | |
| 684 | * ldlang.c (lang_check): Do relocatable link checks first, so that |
| 685 | warn_mismatch can't override. Check compatible and word size too. |
| 686 | |
| 687 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
| 688 | |
| 689 | * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. |
| 690 | |
| 691 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
| 692 | |
| 693 | * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with |
| 694 | DATA_SEGMENT_ALIGN. |
| 695 | |
| 696 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
| 697 | |
| 698 | * scripttempl/elf.sc: Put .preinit_array, .init_array and |
| 699 | .fini_array in the data segment. |
| 700 | |
| 701 | 2002-03-04 Alan Modra <amodra@bigpond.net.au> |
| 702 | |
| 703 | * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. |
| 704 | |
| 705 | 2002-03-01 David Mosberger <davidm@hpl.hp.com> |
| 706 | |
| 707 | * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, |
| 708 | .init_array, and .fini_array. |
| 709 | |
| 710 | 2002-02-20 Andreas Schwab <schwab@suse.de> |
| 711 | |
| 712 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold |
| 713 | .IA64_unwind* in a relocatable link. |
| 714 | |
| 715 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
| 716 | |
| 717 | * NEWS: Mark 2.12 branch. |
| 718 | |
| 719 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 720 | |
| 721 | * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". |
| 722 | * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". |
| 723 | |
| 724 | 2002-02-18 Tom Rix <trix@redhat.com> |
| 725 | |
| 726 | * emultempl/aix.em (gld*_parse_args): Add -brtl support. |
| 727 | (gld*_before_allocation): Same. |
| 728 | (gld*_create_output_section_statements): Generate |
| 729 | __rtinit if run time linking. Add librtl.a to the link. |
| 730 | (gld*_read_file): Clean. |
| 731 | |
| 732 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
| 733 | |
| 734 | * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. |
| 735 | |
| 736 | 2002-02-18 David O'Brien <obrien@FreeBSD.org> |
| 737 | |
| 738 | * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, |
| 739 | eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, |
| 740 | and eelf64alpha_fbsd. |
| 741 | * Makefile.in: Regenerate. |
| 742 | * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, |
| 743 | x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): |
| 744 | use a FreeBSD-specific emulation rather than the psABI one. |
| 745 | * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value |
| 746 | for all FreeBSD ELF systems. |
| 747 | * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI |
| 748 | emulation. |
| 749 | * emulparams/elf32ppc_fbsd.sh: Likewise. |
| 750 | * emulparams/elf64_ia64_fbsd.sh: Likewise. |
| 751 | * emulparams/elf64_sparc_fbsd.sh: Likewise. |
| 752 | * emulparams/elf64alpha_fbsd.sh: Likewise. |
| 753 | * emulparams/elf_i386_fbsd.sh: Likewise. |
| 754 | * emulparams/elf_x86_64_fbsd.sh: Likewise. |
| 755 | |
| 756 | 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com> |
| 757 | |
| 758 | * po/tr.po: Updated version. |
| 759 | |
| 760 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
| 761 | |
| 762 | * ld.texinfo (Output Section Fill): Fix amateur texinfo. |
| 763 | (FILL): Likewise. |
| 764 | |
| 765 | 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
| 766 | |
| 767 | * emultempl/mmo.em (mmo_after_open): Don't call |
| 768 | _bfd_mmix_check_all_relocs when producing ELF output. |
| 769 | |
| 770 | 2002-02-15 Richard Henderson <rth@redhat.com> |
| 771 | |
| 772 | * emulparams/elf64alpha.sh (NOP): Adjust for big-endian |
| 773 | definition. Emit a unop+nop pair. |
| 774 | |
| 775 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
| 776 | |
| 777 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check |
| 778 | for presence of .MMIX.reg_contents.linker_allocated before early |
| 779 | exit. |
| 780 | |
| 781 | * NEWS: Mention support for MMIX. |
| 782 | |
| 783 | 2002-02-15 Alan Modra <amodra@bigpond.net.au> |
| 784 | |
| 785 | Support arbitrary length fill patterns. |
| 786 | * ld.texinfo (Output Section Fill): Describe fill expressions. |
| 787 | (FILL): Refer to the above. |
| 788 | * ldexp.h (etree_value_type): Add "str" field. |
| 789 | (union etree_union): Add "str" to "value" struct. |
| 790 | (exp_bigintop): Declare. |
| 791 | (exp_get_fill): Declare. |
| 792 | * ldexp.c: Include "safe-ctype.h". |
| 793 | (exp_intop): Set value.str to NULL. |
| 794 | (exp_bigintop): New function. |
| 795 | (new_rel): Pass in "str", and set new.str from it. |
| 796 | (new_rel_from_section): Set new.str to NULL. |
| 797 | (fold_name): Adjust calls to new_rel. |
| 798 | (exp_fold_tree): Likewise. |
| 799 | (exp_get_fill): New function. |
| 800 | * ldgram.y (struct big_int bigint, fill_type *fill): New. |
| 801 | (INT): Returns a "bigint". Adjust all code handling INTs. |
| 802 | (fill_opt): Returns a "fill". |
| 803 | (fill_exp): Split out of fill_opt, use for FILL. |
| 804 | * ldlang.h (struct _fill_type): New. |
| 805 | (fill_type): Move typedef to ldexp.h. |
| 806 | (lang_output_section_statement_type): "fill" is now a pointer. |
| 807 | (lang_fill_statement_type): Likewise. |
| 808 | (lang_padding_statement_type): Likewise. |
| 809 | (lang_add_fill): Now takes a "fill_type *" param. |
| 810 | (lang_leave_output_section_statement): Likewise. |
| 811 | (lang_do_assignments): Likewise. |
| 812 | (lang_size_sections): Likewise. |
| 813 | (lang_leave_overlay_section): Likewise. |
| 814 | (lang_leave_overlay): Likewise. |
| 815 | * ldlang.c: Include ldgram.h after ldexp.h. |
| 816 | (lang_output_section_statement_lookup): Adjust for fill_type change. |
| 817 | (print_fill_statement): Likewise. |
| 818 | (print_padding_statement): Likewise. |
| 819 | (insert_pad): Now takes a "fill_type *" arg. |
| 820 | (size_input_section): Likewise. |
| 821 | (lang_size_sections_1): Likewise. |
| 822 | (lang_size_sections): Likewise. |
| 823 | (lang_do_assignments): Likewise. |
| 824 | (lang_add_fill): Likewise. |
| 825 | (lang_leave_output_section_statement): Likewise. |
| 826 | (lang_leave_overlay_section): Likewise. |
| 827 | (lang_leave_overlay): Likewise. |
| 828 | Adjust all callers of the above function. |
| 829 | * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers |
| 830 | starting with "0X" as well as "0x". Return bigint.str for hex |
| 831 | numbers starting with "0x" or "0X", zero bigint.str otherwise. |
| 832 | Always use base 16 for numbers starting with "$". |
| 833 | * ldmain.c: Include ldgram.h after ldexp.h. |
| 834 | * ldwrite.c (build_link_order): Use bfd_data_link_order in place |
| 835 | of bfd_fill_link_order. |
| 836 | * pe-dll.c: Adjust lang_do_assignments calls. |
| 837 | * emultempl/elf32.em: Likewise. |
| 838 | * emultempl/hppaelf.em: Likewise. |
| 839 | * emultempl/ppc64elf.em: Likewise. |
| 840 | * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust |
| 841 | lang_add_assignment call. |
| 842 | * emultempl/pe.em: Likewise. |
| 843 | |
| 844 | 2002-02-14 Phil Edwards <pme@gcc.gnu.org> |
| 845 | |
| 846 | * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. |
| 847 | * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; |
| 848 | the pattern in question is not a regexp. |
| 849 | * ldlang.c: Likewise. |
| 850 | * ldlang.h: Likewise. |
| 851 | * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. |
| 852 | |
| 853 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
| 854 | |
| 855 | * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. |
| 856 | * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. |
| 857 | (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). |
| 858 | * ldexp.c (exp_data_seg): New variable. |
| 859 | (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. |
| 860 | (fold_binary): Handle DATA_SEGMENT_ALIGN. |
| 861 | (exp_fold_tree): Handle DATA_SEGMENT_END. |
| 862 | Pass allocation_done when recursing instead of hardcoding |
| 863 | lang_allocating_phase_enum. |
| 864 | * ldexp.h (exp_data_seg): New. |
| 865 | * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. |
| 866 | (lang_size_sections): New. |
| 867 | * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. |
| 868 | * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END |
| 869 | if COMMONPAGESIZE is defined. |
| 870 | * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. |
| 871 | * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. |
| 872 | * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. |
| 873 | * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. |
| 874 | * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared |
| 875 | libraries only. |
| 876 | |
| 877 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
| 878 | |
| 879 | * Makefile.in: Regenerate. |
| 880 | |
| 881 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
| 882 | |
| 883 | * lexsup.c: Remove strtoul declaration. |
| 884 | |
| 885 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
| 886 | |
| 887 | * ldmain.c: Add prototype for main (). |
| 888 | * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. |
| 889 | * emultempl/lnk960.em (lnk960_choose_target): Function should |
| 890 | take two arguments. |
| 891 | |
| 892 | 2002-02-10 Alan Modra <amodra@bigpond.net.au> |
| 893 | |
| 894 | * ldlang.c (entry_section): New initialised variable. |
| 895 | (lang_finish): Use it. |
| 896 | * ldlang.h (entry_section): Declare. |
| 897 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set |
| 898 | entry_section to ".opd". |
| 899 | |
| 900 | 2002-02-09 Chris Demetriou <cgd@broadcom.com> |
| 901 | |
| 902 | * ld.texinfo (Options): Add back in -nostdlib documentation, |
| 903 | which had been inadvertently removed. |
| 904 | |
| 905 | 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
| 906 | |
| 907 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust |
| 908 | register section vma to a sane value after emitting error. Make |
| 909 | fatal conditions cause program exit when emitting message. |
| 910 | |
| 911 | 2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
| 912 | |
| 913 | * configure.tgt: Add or32-*-rtems target. |
| 914 | |
| 915 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
| 916 | |
| 917 | Contribute sh64-elf. |
| 918 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
| 919 | * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined |
| 920 | in OTHER_RELOCATABLE_SECTIONS. |
| 921 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> |
| 922 | * emulparams/shelf32.sh (STACK_ADDR): Define. |
| 923 | (OTHER_RELOCATABLE_SECTIONS): Renamed to... |
| 924 | (OTHER_SECTIONS): this. Removed stack settings. |
| 925 | * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. |
| 926 | (OTHER_SECTIONS): Reset after sourcing shelf32.sh. |
| 927 | 2001-03-12 DJ Delorie <dj@redhat.com> |
| 928 | * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable |
| 929 | relaxing if any shmedia or mixed sections are found. |
| 930 | 2001-03-07 DJ Delorie <dj@redhat.com> |
| 931 | * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to |
| 932 | einfo. Gracefully decline to output to non-elf formats. |
| 933 | 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> |
| 934 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: |
| 935 | Default to _end aligned to next multiple of 0x40000, plus 0x40000. |
| 936 | * emulparams/shelf32.sh: Ditto. |
| 937 | 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> |
| 938 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak |
| 939 | comment. |
| 940 | 2001-01-10 Ben Elliston <bje@redhat.com> |
| 941 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid |
| 942 | non-portable shell constructs. From Hans-Peter Nilsson. |
| 943 | 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> |
| 944 | * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. |
| 945 | * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust |
| 946 | dependencies to the shell script include chain. |
| 947 | * Makefile.in: Regenerate. |
| 948 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> |
| 949 | * emultempl/sh64elf.em: Update and tweak comments. |
| 950 | (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and |
| 951 | make a .cranges section SEC_IN_MEMORY. |
| 952 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> |
| 953 | * emultempl/sh64elf.em |
| 954 | (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when |
| 955 | .cranges section found to be necessary; continue and set stored |
| 956 | section contents flags for sections with non-mixed contents. |
| 957 | Use a struct sh64_section_data container and sh64_elf_section_data |
| 958 | to store contents-type flags. |
| 959 | Remove unused update of "isec". |
| 960 | (sh64_elf_${EMULATION_NAME}_after_allocation): Only process |
| 961 | sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to |
| 962 | access contents-type flags. Assert that the associated container |
| 963 | is initialized. Use that container, not elf_gp_size, to hold size |
| 964 | of linker-generated cranges contents. |
| 965 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> |
| 966 | * emultempl/sh64elf.em |
| 967 | (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if |
| 968 | there's already a .cranges section. When section flag difference |
| 969 | is found, don't NULL-check cranges a second time. Tweak comments. |
| 970 | (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after |
| 971 | merging, not max size, as size of ld-generated .cranges contents. |
| 972 | Don't set ELF section flags in output section. When checking for |
| 973 | needed .cranges descriptors, don't use a variable; compare |
| 974 | incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak |
| 975 | comments. |
| 976 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> |
| 977 | * emultempl/sh64elf.em: New file. |
| 978 | * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. |
| 979 | * Makefile.in: Regenerate. |
| 980 | * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. |
| 981 | (OTHER_RELOCATING_SECTIONS): Ditto. |
| 982 | (EXTRA_EM_FILE): New, set to sh64elf if not set. |
| 983 | * emulparams/shlelf32.sh: Stub out all settings except |
| 984 | OUTPUT_FORMAT. Source shelf32.sh. |
| 985 | * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and |
| 986 | OTHER_RELOCATING_SECTIONS. |
| 987 | (OTHER_RELOCATING_SECTIONS): Remove .cranges. |
| 988 | * emulparams/shlelf64.sh: Stub out all settings except |
| 989 | OUTPUT_FORMAT. Source shelf64.sh. |
| 990 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> |
| 991 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include |
| 992 | .cranges section. |
| 993 | (DATA_START_SYMBOLS): Define, provide ___data. |
| 994 | (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 |
| 995 | for consecutive .data section. |
| 996 | (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss |
| 997 | section after .data section. |
| 998 | * emulparams/shlelf64.sh: Ditto. |
| 999 | * emulparams/shelf32.sh: Ditto. |
| 1000 | (ALIGNMENT): Define to 8. |
| 1001 | * emulparams/shelf32.sh: Ditto. |
| 1002 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1003 | * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get |
| 1004 | built-in linker scripts. |
| 1005 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1006 | * emulparams/shlelf64.sh: New. |
| 1007 | * emulparams/shelf64.sh: New. |
| 1008 | * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to |
| 1009 | targ_extra_emuls. |
| 1010 | * Makefile.am: Add support for shlelf64 and shelf64. |
| 1011 | * Makefile.in: Regenerate. |
| 1012 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1013 | * configure.tgt (sh64-*-elf*): Add shelf as default. |
| 1014 | Add shlelf to targ_extra_emuls. |
| 1015 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1016 | * emulparams/shelf32.sh: New file. |
| 1017 | * emulparams/shlelf32.sh: New file. |
| 1018 | * Makefile.am: Add support for shlelf32 and shelf32. |
| 1019 | * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. |
| 1020 | * Makefile.in: Regenerate. |
| 1021 | |
| 1022 | 2002-02-05 Hans-Peter Nilsson <hp@axis.com> |
| 1023 | |
| 1024 | * ldlang.c (lang_reset_memory_regions): Rename from |
| 1025 | reset_memory_regions. Change all callers. Make public. |
| 1026 | * ldlang.h (lang_reset_memory_regions): Prototype. |
| 1027 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call |
| 1028 | lang_reset_memory_regions before lang_size_sections. |
| 1029 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. |
| 1030 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. |
| 1031 | |
| 1032 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
| 1033 | |
| 1034 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed |
| 1035 | arithmetic when checking for too many global registers. |
| 1036 | |
| 1037 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 1038 | |
| 1039 | * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. |
| 1040 | (ehppanbsd.c): New rule. |
| 1041 | * Makefile.in: Regenerate. |
| 1042 | * configure.tgt (hppa*-*-netbsd*): New target. |
| 1043 | * emulparams/hppalinux.sh: Add comment to check other files |
| 1044 | that source this file it is modified, and list which |
| 1045 | files that do. |
| 1046 | * emulparams/hppanbsd.sh: New file. |
| 1047 | |
| 1048 | 2002-02-01 Geoffrey Keating <geoffk@redhat.com> |
| 1049 | |
| 1050 | * scripttempl/xstormy16.sc: Don't allocate extra space for the |
| 1051 | stack. |
| 1052 | |
| 1053 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
| 1054 | |
| 1055 | Support on-demand global register allocation from |
| 1056 | R_MMIX_BASE_PLUS_OFFSET relocs. |
| 1057 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from |
| 1058 | mmix_set_reg_section_vma. Call |
| 1059 | _bfd_mmix_finalize_linker_allocated_gregs. |
| 1060 | (mmix_before_allocation): New function. |
| 1061 | (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. |
| 1062 | (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. |
| 1063 | * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. |
| 1064 | (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated |
| 1065 | before .MMIX.reg_contents. |
| 1066 | * emultempl/mmo.em (gldmmo_before_allocation): Define to default. |
| 1067 | (mmo_after_open): New function. |
| 1068 | (LDEMUL_AFTER_OPEN): Define to mmo_after_open. |
| 1069 | * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add |
| 1070 | .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. |
| 1071 | |
| 1072 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
| 1073 | |
| 1074 | * emulparams/or32.sh: New file. |
| 1075 | * emulparams/or32elf.sh: New file. |
| 1076 | * scripttempl/or32.sc: New file. |
| 1077 | * configure.tgt : Add support for or32. |
| 1078 | * configure: Regenerate |
| 1079 | * Makefile.am: Add support for or32. |
| 1080 | * Makefile.in: Regenerate. |
| 1081 | * NEWS: Mention support for or32. |
| 1082 | * po/ld.pot: Regenerate. |
| 1083 | |
| 1084 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
| 1085 | Mitch Lichtenberg <mpl@broadcom.com> |
| 1086 | |
| 1087 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. |
| 1088 | * emultempl/mipself.em: New file to handle MIPS ELF embedded |
| 1089 | reloc creation (ld --embedded-relocs). |
| 1090 | |
| 1091 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
| 1092 | |
| 1093 | * configure: Regenerated. |
| 1094 | |
| 1095 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
| 1096 | |
| 1097 | * Makefile.am (install): Depend on install-info. |
| 1098 | * Makefile.in: Regenerate. |
| 1099 | |
| 1100 | 2002-01-26 Christian Rose <menthos@menthos.com> |
| 1101 | |
| 1102 | * ldmain.c (main): Use full sentences to ease translation. |
| 1103 | |
| 1104 | 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com> |
| 1105 | |
| 1106 | * po/fr.po: Updated version. |
| 1107 | |
| 1108 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
| 1109 | |
| 1110 | * po/es.po: Updated version. |
| 1111 | |
| 1112 | 2002-01-25 Andreas Jaeger <aj@suse.de> |
| 1113 | |
| 1114 | * ldlex.l (yy_input): Correct error check. |
| 1115 | |
| 1116 | 2002-01-25 Alan Modra <amodra@bigpond.net.au> |
| 1117 | |
| 1118 | * ldmisc.c (demangle): Put back dots when string not demangled. |
| 1119 | |
| 1120 | 2002-01-22 Richard Henderson <rth@redhat.com> |
| 1121 | |
| 1122 | * emulparams/elf64alpha.sh (NOP): Use unop. |
| 1123 | |
| 1124 | 2002-01-21 Andreas Jaeger <aj@suse.de> |
| 1125 | |
| 1126 | * ldlex.l: Use fread instead of read. |
| 1127 | |
| 1128 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 1129 | |
| 1130 | * configure.tgt (ia64-*-netbsd*): New target. |
| 1131 | |
| 1132 | 2002-01-21 H.J. Lu <hjl@gnu.org> |
| 1133 | |
| 1134 | * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to |
| 1135 | 0. |
| 1136 | * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. |
| 1137 | |
| 1138 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
| 1139 | |
| 1140 | * ldver.c (ldversion): Update year. |
| 1141 | |
| 1142 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
| 1143 | |
| 1144 | * po/ld.pot: Regenerate. |
| 1145 | |
| 1146 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
| 1147 | |
| 1148 | * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. |
| 1149 | * Makefile.in: Regenerate. |
| 1150 | * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. |
| 1151 | * emultempl/ppc64elf.em: New file. |
| 1152 | |
| 1153 | 2002-01-15 DJ Delorie <dj@redhat.com> |
| 1154 | |
| 1155 | * scripttempl/pe.sc: Add support for constructor priorities. |
| 1156 | |
| 1157 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 1158 | |
| 1159 | * emulparams/avr1200.sh (DATA_START): Define as 0x60. |
| 1160 | * emulparams/avr23xx.sh: Likewise. |
| 1161 | * emulparams/avr4433.sh: Likewise. |
| 1162 | * emulparams/avr44x4.sh: Likewise. |
| 1163 | * emulparams/avr85xx.sh: Likewise. |
| 1164 | * emulparams/avrmega103.sh: Likewise. |
| 1165 | * emulparams/avrmega161.sh: Likewise. |
| 1166 | * emulparams/avrmega603.sh: Likewise. |
| 1167 | * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. |
| 1168 | |
| 1169 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
| 1170 | |
| 1171 | * ldlang.c (walk_wild_section): Exclude object file if enclosing |
| 1172 | archive is excluded. |
| 1173 | |
| 1174 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
| 1175 | |
| 1176 | * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. |
| 1177 | (eshelf_nbsd.c): New rule. |
| 1178 | (eshlelf_nbsd.c): New rule. |
| 1179 | * Makefile.in: Regenerate. |
| 1180 | * configure.tgt (sh*le-*-netbsdelf*): New target. |
| 1181 | (sh*-*-netbsdelf*): New target. |
| 1182 | * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. |
| 1183 | * ld/emulparams/shelf_nbsd.sh: New emulation. |
| 1184 | * ld/emulparams/shlelf_nbsd.sh: New emulation. |
| 1185 | |
| 1186 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
| 1187 | |
| 1188 | * po/es.po: New file: Spanish translation. |
| 1189 | * configure.in (ALL_LINGUAS): Add es. |
| 1190 | * configure: Regenerate. |
| 1191 | |
| 1192 | 2002-01-06 John Marshall <jmarshall@acm.org> |
| 1193 | |
| 1194 | * ld.texinfo: Note that --emit-relocs is currently only |
| 1195 | implemented for ELF. |
| 1196 | |
| 1197 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
| 1198 | |
| 1199 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use |
| 1200 | of bfd_section_list_remove and bfd_section_list_insert macros. |
| 1201 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. |
| 1202 | * emultempl/mmo.em (mmo_place_orphan): Likewise. |
| 1203 | |
| 1204 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 1205 | |
| 1206 | * configure.tgt (x86_64-*-netbsd*): New target. |
| 1207 | |
| 1208 | 2001-12-21 Tom Rix <trix@redhat.com> |
| 1209 | |
| 1210 | (gld*_create_output_section_statements): New function. |
| 1211 | For -binitfini support. |
| 1212 | * emultempl/aix.em (gld*_before_parse): Fix comment. |
| 1213 | * emultempl/aix.em (gld*_parse_args): Fix comment. |
| 1214 | |
| 1215 | 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> |
| 1216 | |
| 1217 | * configure.tgt (mips*-dec-netbsd*): Delete alias for |
| 1218 | mips*el-*-netbsd*. |
| 1219 | (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. |
| 1220 | |
| 1221 | * configure.tgt (arm-*-netbsdelf*): Add target. |
| 1222 | (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. |
| 1223 | * emulparams/armelf_nbsd.sh: Added. |
| 1224 | * Makefile.am: Add rules for earmelf_nbsd. |
| 1225 | * Makefile.in: Regenerate. |
| 1226 | |
| 1227 | 2001-12-19 Andreas Jaeger <aj@suse.de>, |
| 1228 | Susanne Oberhauser <froh@suse.de> |
| 1229 | |
| 1230 | * configure.host: Add rules for x86_64-*linux-gnu. Change |
| 1231 | s390x-linux entry to use gcc to report configuration, replace gcc |
| 1232 | with $CC in s390-linux |
| 1233 | |
| 1234 | 2001-12-19 Andreas Jaeger <aj@suse.de> |
| 1235 | |
| 1236 | * ld.texinfo (VERSION): Fix markup. |
| 1237 | |
| 1238 | 2001-12-18 matthew green <mrg@eterna.com.au> |
| 1239 | |
| 1240 | * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. |
| 1241 | (m68kelfnbsd.c): New rule. |
| 1242 | * Makefile.in: Regenerate. |
| 1243 | * configure.tgt (m68*-hp-netbsd*): Renamed to .. |
| 1244 | (m68*-*-netbsd*4k*): .. this. |
| 1245 | (m68*-*-netbsdelf*): New target. |
| 1246 | (m68*-*-netbsd*): Also include ELF support. |
| 1247 | (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. |
| 1248 | * emulparams/m68kelfnbsd.sh: New emulation. |
| 1249 | |
| 1250 | 2001-12-18 Jakub Jelinek <jakub@redhat.com> |
| 1251 | |
| 1252 | * ldgram.y (vers_node): Support anonymous version tags. |
| 1253 | * ldlang.c (lang_register_vers_node): Ensure anonymous version |
| 1254 | tag is not defined together with non-anonymous versions. |
| 1255 | * ld.texinfo: Document it. |
| 1256 | |
| 1257 | 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> |
| 1258 | |
| 1259 | * po/tr.po: New file: Turkish translation. |
| 1260 | * configure.in (ALL_LINGUAS): Add tr. |
| 1261 | * configure: Regenerate. |
| 1262 | |
| 1263 | 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com> |
| 1264 | |
| 1265 | * Makefile.am: Add rules for eelf64alpha_nbsd. |
| 1266 | * Makefile.in: Regenerate. |
| 1267 | * configure.tgt (alpha*-*-netbsd*): Set |
| 1268 | targ_emul to elf64alpha_nbsd. |
| 1269 | * emulparams/elf64alpha_nbsd.sh: Added. |
| 1270 | |
| 1271 | 2001-12-17 Alan Modra <amodra@bigpond.net.au> |
| 1272 | |
| 1273 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust |
| 1274 | section_tail when fiddling with section list. |
| 1275 | (gld${EMULATION_NAME}_list_options): Ensure sentences aren't |
| 1276 | broken into separate strings to make translation easier. |
| 1277 | * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when |
| 1278 | fiddling with section list. |
| 1279 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. |
| 1280 | |
| 1281 | 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com> |
| 1282 | |
| 1283 | * scripttempl/mmo.sc: Add .debug_ranges to listed sections. |
| 1284 | |
| 1285 | 2001-12-15 Alan Modra <amodra@bigpond.net.au> |
| 1286 | |
| 1287 | * ldmain.c (main): Initialise link_info.eh_frame_hdr. |
| 1288 | |
| 1289 | 2001-12-13 Jakub Jelinek <jakub@redhat.com> |
| 1290 | |
| 1291 | * emultempl/elf32.em (finish): Supply output_bfd |
| 1292 | to bfd_elf*_discard_info. |
| 1293 | (OPTION_EH_FRAME_HDR): Define. |
| 1294 | (longopts): Add --eh-frame-hdr. |
| 1295 | (parse_args): Handle it. |
| 1296 | (list_options): Add --eh-frame-hdr to help. |
| 1297 | * emultempl/hppaelf.em (finish): Supply output_bfd |
| 1298 | to bfd_elf*_discard_info. |
| 1299 | * scripttempl/elf.sc (.eh_frame_hdr): Add. |
| 1300 | |
| 1301 | 2001-12-13 Alan Modra <amodra@bigpond.net.au> |
| 1302 | |
| 1303 | * lexsup.c (parse_args): Don't pass shortopts to second call to |
| 1304 | getopt functions. Restore optind rather than decrementing before |
| 1305 | second call. Remove errind as it now duplicates last_optind. |
| 1306 | |
| 1307 | 2001-12-11 Christopher Faylor <cgf@redhat.com> |
| 1308 | |
| 1309 | * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. |
| 1310 | |
| 1311 | 2001-12-07 Geoffrey Keating <geoffk@redhat.com> |
| 1312 | Richard Henderson <rth@redhat.com> |
| 1313 | |
| 1314 | * Makefile.am: Add support for xstormy16. |
| 1315 | * configure.tgt: Add support for xstormy16. |
| 1316 | * Makefile.in: Regenerate. |
| 1317 | * emulparams/elf32xstormy16.sh: New file. |
| 1318 | * scripttempl/xstormy16.sc: New file. |
| 1319 | |
| 1320 | 2001-10-01 Christopher Faylor <cgf@cygnus.com> |
| 1321 | |
| 1322 | * Makefile.in (LIB_PATH): Make configurable. |
| 1323 | (GENSCRIPTS): Set LIB_PATH in environment. |
| 1324 | * configure.in: Substitute LIB_PATH. |
| 1325 | * configure: Regenerate. |
| 1326 | * configure.tgt (*cygwin): Set LIB_PATH for cross build. |
| 1327 | * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. |
| 1328 | |
| 1329 | 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> |
| 1330 | |
| 1331 | * lexsup.c (ld_options): Insert 'PROGRAM' into the text string |
| 1332 | describing the -N option so that it is easier to translate into |
| 1333 | foreign languages. |
| 1334 | |
| 1335 | 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> |
| 1336 | |
| 1337 | * emultempl/pe.em (..._list_options): Replace multiple fprintf |
| 1338 | statements describing a single option with a single, newline |
| 1339 | escaped fprintf. This allows better translation into other |
| 1340 | languages. |
| 1341 | |
| 1342 | * ldmain.c (add_archive_element): Combine multiple strings |
| 1343 | into a single string to permit better translation into other |
| 1344 | languages. |
| 1345 | |
| 1346 | 2001-12-05 Tom Rix <trix@redhat.com> |
| 1347 | |
| 1348 | * Makefile.am: Remove eaixppc64. |
| 1349 | * Makefile.in: Regenerate. |
| 1350 | |
| 1351 | 2001-12-04 Tom Rix <trix@redhat.com> |
| 1352 | |
| 1353 | * emultempl/aix.em (choose_target): Change default target to |
| 1354 | OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler |
| 1355 | warning. |
| 1356 | (gld*_read_file): Fix typo. |
| 1357 | (change_symbol_mode): Add prototype. |
| 1358 | (is_syscall): Same. |
| 1359 | |
| 1360 | * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. |
| 1361 | * emulparams/aixrs6.sh : Same. |
| 1362 | * emulparams/ppcmacos.sh : Same. |
| 1363 | * emulparams/aixppc64.sh : Delete file. |
| 1364 | * emultempl/aix.em : Formatting changes. |
| 1365 | |
| 1366 | 2001-12-04 Hans-Peter Nilsson <hp@axis.com> |
| 1367 | |
| 1368 | * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. |
| 1369 | (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting |
| 1370 | __Sbss. |
| 1371 | (OTHER_END_SYMBOLS): Fix formatting. |
| 1372 | * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. |
| 1373 | (OTHER_END_SYMBOLS): Fix formatting. |
| 1374 | |
| 1375 | 2001-12-04 Alan Modra <amodra@bigpond.net.au> |
| 1376 | |
| 1377 | * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. |
| 1378 | |
| 1379 | 2001-12-02 Tom Rix <trix@redhat.com> |
| 1380 | |
| 1381 | * configure.tgt : Remove eaixppc64 emulations. |
| 1382 | * Makefile.in : Remove eaixppc64.c |
| 1383 | * ldemul.c (ldemul_choose_target): New parameters argc, argv. |
| 1384 | (ldemul_default_target): Same. |
| 1385 | * emultempl/gld960.em (gld960_choose_target): Same. |
| 1386 | * emultempl/gld960c.em (gld960_choose_target): Same. |
| 1387 | * scripttempl/aix.sc: Remove OUTPUT_FORMAT. |
| 1388 | * emultempl/aix.em (is_syscall): syscall_mask now a variable. |
| 1389 | * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. |
| 1390 | * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. |
| 1391 | * emultempl/aix.em (choose_target): New function. Handle emulation of |
| 1392 | -b32 and -b64. |
| 1393 | |
| 1394 | 2001-11-27 H.J. Lu <hjl@gnu.org> |
| 1395 | |
| 1396 | * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. |
| 1397 | * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. |
| 1398 | * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. |
| 1399 | * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. |
| 1400 | * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. |
| 1401 | * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. |
| 1402 | * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. |
| 1403 | * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. |
| 1404 | |
| 1405 | * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} |
| 1406 | is not empty. |
| 1407 | (SDATA): Likewise. |
| 1408 | (REL_SDATA): Likewise. |
| 1409 | (REL_SBSS): Likewise. |
| 1410 | (REL_SDATA2): Likewise. |
| 1411 | (REL_SBSS2): Likewise. |
| 1412 | (SBSS2): Define if ${NO_SMALL_DATA} is not empty. |
| 1413 | (SDATA2): Likewise. |
| 1414 | |
| 1415 | 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 1416 | |
| 1417 | * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and |
| 1418 | destructor in rom. |
| 1419 | * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. |
| 1420 | |
| 1421 | 2001-11-22 H.J. Lu <hjl@gnu.org> |
| 1422 | |
| 1423 | * Makefile.in: Regenerated with automake based on automake |
| 1424 | 1.4-8 in RedHat 7.1. |
| 1425 | |
| 1426 | 2001-11-22 Alan Modra <amodra@bigpond.net.au> |
| 1427 | |
| 1428 | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. |
| 1429 | (config.status): Delete rule. |
| 1430 | Add extra dependencies to cover sourced emulparams files. |
| 1431 | * Makefile.in: Regenerate. |
| 1432 | |
| 1433 | * scripttempl/elf.sc: Order <section>, <section>.* and |
| 1434 | corresponding linkonce sections as seen in input files. |
| 1435 | Formatting fixes. Zero vma of all sections if not relocating. |
| 1436 | (STACK): Define and insert if STACK_ADDR defined. |
| 1437 | (OTHER_RELOCATING_SECTIONS): Delete. |
| 1438 | (OTHER_END_SYMBOLS): Define. |
| 1439 | (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. |
| 1440 | (OTHER_READWRITE_SECTIONS): Likewise. |
| 1441 | (OTHER_GOT_SECTIONS): Likewise. |
| 1442 | (OTHER_SDATA_SECTIONS): Likewise. |
| 1443 | (OTHER_BSS_SECTIONS): Likewise. |
| 1444 | * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. |
| 1445 | (OTHER_READWRITE_SECTIONS): Likewise. |
| 1446 | * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. |
| 1447 | (OTHER_READWRITE_SECTIONS): Likewise |
| 1448 | |
| 1449 | * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. |
| 1450 | (STACK_ADDR): Define. |
| 1451 | * emulparams/armelf_oabi.sh: As for armelf.sh. |
| 1452 | * emulparams/elf32mcore.sh: As for armelf.sh. |
| 1453 | * emulparams/h8300elf.sh: As for armelf.sh. |
| 1454 | * emulparams/mn10200.sh: As for armelf.sh. |
| 1455 | * emulparams/shelf.sh: As for armelf.sh. |
| 1456 | |
| 1457 | * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. |
| 1458 | (OTHER_END_SYMBOLS): Define. |
| 1459 | * emulparams/m32relf.sh: As for elf32fr30.sh. |
| 1460 | * emulparams/h8300helf.sh: As for elf32fr30.sh. |
| 1461 | * emulparams/h8300self.sh: As for elf32fr30.sh. |
| 1462 | |
| 1463 | * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol |
| 1464 | defines with RELOCATING test. |
| 1465 | (OTHER_SDATA_SECTIONS): Likewise. |
| 1466 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. |
| 1467 | (OTHER_END_SYMBOLS): ..this. |
| 1468 | * emulparams/crislinux.sh: As for criself.sh. |
| 1469 | |
| 1470 | * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma |
| 1471 | if not relocating. |
| 1472 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. |
| 1473 | (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order |
| 1474 | normal and linkonce sections as seen in input files. |
| 1475 | * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. |
| 1476 | (TEXT_DYNAMIC): Likewise. |
| 1477 | (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. |
| 1478 | (OTHER_SDATA_SECTIONS): Likewise. |
| 1479 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. |
| 1480 | * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. |
| 1481 | * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. |
| 1482 | * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. |
| 1483 | * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. |
| 1484 | (OTHER_PLT_RELOC_SECTIONS): Likewise. |
| 1485 | (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce |
| 1486 | sections as seen in input files. |
| 1487 | * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. |
| 1488 | * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma |
| 1489 | if not relocating. |
| 1490 | (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. |
| 1491 | (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. |
| 1492 | * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. |
| 1493 | (OTHER_SECTIONS): Instead, use this.. |
| 1494 | (OTHER_END_SYMBOLS): ..and this. |
| 1495 | |
| 1496 | * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. |
| 1497 | * emulparams/elf32bsmip.sh: Likewise. |
| 1498 | * emulparams/elf32btsmip.sh: Likewise. |
| 1499 | * emulparams/elf32ebmip.sh: Likewise. |
| 1500 | * emulparams/elf32lmip.sh: Likewise. |
| 1501 | * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. |
| 1502 | * emulparams/elf32lsmip.sh: Likewise. |
| 1503 | * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. |
| 1504 | * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. |
| 1505 | * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. |
| 1506 | * emulparams/elf64btsmip.sh: Likewise. |
| 1507 | * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. |
| 1508 | * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. |
| 1509 | * emulparams/elf32ppclinux.sh: Likewise. |
| 1510 | * emulparams/elf32ppcsim.sh: Likewise. |
| 1511 | * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. |
| 1512 | * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. |
| 1513 | * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. |
| 1514 | * emulparams/h8300self.sh: Likewise. |
| 1515 | * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. |
| 1516 | * emulparams/sh.sh: Comment. |
| 1517 | * emulparams/shl.sh: Source sh.sh, remove duplicates. |
| 1518 | * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. |
| 1519 | * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. |
| 1520 | |
| 1521 | 2001-11-21 David Heine <dlheine@tensilica.com> |
| 1522 | Alan Modra <amodra@bigpond.net.au> |
| 1523 | |
| 1524 | * ldlang.c (map_input_to_output_sections): Replace "break" |
| 1525 | accidentally removed with 2001-08-03 change. |
| 1526 | (lang_gc_sections_1): Likewise. |
| 1527 | |
| 1528 | 2001-11-21 Alan Modra <amodra@bigpond.net.au> |
| 1529 | |
| 1530 | * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. |
| 1531 | |
| 1532 | 2001-11-20 Angela Marie Thomas <angela@redhat.com> |
| 1533 | |
| 1534 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead |
| 1535 | of false when calling lang_size_sections. |
| 1536 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. |
| 1537 | |
| 1538 | 2001-11-15 Alan Modra <amodra@bigpond.net.au> |
| 1539 | |
| 1540 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this |
| 1541 | function when LDEMUL_FINISH isn't set to the same name. Don't |
| 1542 | call ${LDEMUL_FINISH}. |
| 1543 | (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. |
| 1544 | * emultempl/armelf.em (arm_elf_finish): Call |
| 1545 | gld${EMULATION_NAME}_finish. |
| 1546 | * emultempl/hppaelf.em (hppaelf_finish): Rename to |
| 1547 | gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and |
| 1548 | hppaelf_layout_sections_again if necessary. |
| 1549 | (need_laying_out): New var. |
| 1550 | (hppaelf_layaout_sections_again): Rename to |
| 1551 | hppaelf_layout_sections_again. Clear need_laying_out. |
| 1552 | (PARSE_AND_LIST_OPTIONS): Format text. |
| 1553 | |
| 1554 | 2001-11-14 H.J. Lu <hjl@gnu.org> |
| 1555 | |
| 1556 | * emultempl/armelf.em (arm_elf_finish): Renamed from |
| 1557 | gld${EMULATION_NAME}_finish. |
| 1558 | (LDEMUL_FINISH): Set to arm_elf_finish. |
| 1559 | |
| 1560 | 2001-11-14 Daniel Jacobowitz <drow@mvista.com> |
| 1561 | |
| 1562 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. |
| 1563 | (struct ld_emulation_xfer_struct): Use it. |
| 1564 | |
| 1565 | 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com> |
| 1566 | |
| 1567 | * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add |
| 1568 | additional symbols referenced by newer crt0.o files from HP. |
| 1569 | |
| 1570 | 2001-11-12 Anthony Green <green@redhat.com> |
| 1571 | |
| 1572 | * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. |
| 1573 | |
| 1574 | 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu> |
| 1575 | |
| 1576 | * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. |
| 1577 | * Makefile.in: Regenerate. |
| 1578 | |
| 1579 | 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 1580 | |
| 1581 | * ld.texinfo: Use @command for commands, @option for options. |
| 1582 | * Makefile.am (POD2MAN): Use 'GNU Development Tools' for |
| 1583 | the page man title. |
| 1584 | * Makefile.in: Rebuild. |
| 1585 | |
| 1586 | 2001-11-04 Chris Demetriou <cgd@broadcom.com> |
| 1587 | |
| 1588 | * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): |
| 1589 | Add support for targets. |
| 1590 | |
| 1591 | 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> |
| 1592 | |
| 1593 | * configure.in (ALL_LINGUAS): Add "fr" and "sv" |
| 1594 | * configure: Regernate. |
| 1595 | * po/fr.po: New file. |
| 1596 | * po/sv.po: New file. |
| 1597 | |
| 1598 | 2001-11-01 NIIBE Yutaka <gniibe@m17n.org> |
| 1599 | |
| 1600 | * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls |
| 1601 | as little endian default and to support big endian. |
| 1602 | |
| 1603 | 2001-11-01 Chris Demetriou <cgd@broadcom.com> |
| 1604 | |
| 1605 | * ld.texinfo (Options): Document new option, -nostdlib. |
| 1606 | * lexsup.c (OPTION_NOSTDLIB): New definition. |
| 1607 | (ld_options): Add entry for "nostdlib". |
| 1608 | (parse_args): Handle OPTIONS_NOSTDLIB. |
| 1609 | * ldfile.c (ldfile_add_library_path): Don't add directories |
| 1610 | to the search path if they weren't specified on the command line |
| 1611 | and -nostdlib was specified. |
| 1612 | * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. |
| 1613 | |
| 1614 | 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> |
| 1615 | |
| 1616 | * lexsup.c (parse_args): Prevent infinite parsing loop when |
| 1617 | "-rpath.a" is specified on the command line. |
| 1618 | Replace calls to fprintf with calls to einfo. |
| 1619 | |
| 1620 | 2001-10-31 John Marshall <jmarshall@acm.org> |
| 1621 | |
| 1622 | * ld.texinfo: A historical requirement that MEMORY and SECTIONS |
| 1623 | appear only once across all the linker scripts involved in a link |
| 1624 | invocation no longer applies. Make the documentation reflect |
| 1625 | that. |
| 1626 | |
| 1627 | 2001-10-31 NIIBE Yutaka <gniibe@m17n.org> |
| 1628 | |
| 1629 | * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu |
| 1630 | targets. |
| 1631 | (sh-*-linux*): Added targ_extra_libpath. |
| 1632 | |
| 1633 | 2001-10-31 David Heine <dlheine@tensilica.com> |
| 1634 | |
| 1635 | * ldlang.c (lang_size_sections): Keep a valid output_offset field |
| 1636 | for padding statements. |
| 1637 | |
| 1638 | 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> |
| 1639 | |
| 1640 | * configure.tgt (mmix-*-*): New target. |
| 1641 | * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. |
| 1642 | Add dependencies to match. |
| 1643 | * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, |
| 1644 | emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, |
| 1645 | scripttempl/mmo.sc: New files. |
| 1646 | * gen-doc.texi: @set MMIX. |
| 1647 | * ld.texinfo: Ditto. |
| 1648 | [MMIX] Add MMIX node. |
| 1649 | * Makefile.in: Regenerate. |
| 1650 | |
| 1651 | 2001-10-29 Kazu Hirata <kazu@hxi.com> |
| 1652 | |
| 1653 | * ldlang.c: Fix a comment typo. |
| 1654 | |
| 1655 | 2001-10-23 Alan Modra <amodra@bigpond.net.au> |
| 1656 | |
| 1657 | * configure.host: Move alpha*-*-linux-gnu* entry to generic |
| 1658 | entries, and match *-*-linux*. |
| 1659 | |
| 1660 | 2001-10-20 Alan Modra <amodra@bigpond.net.au> |
| 1661 | |
| 1662 | * ldgram.y (mri_script_command): Surround processing of INCLUDE |
| 1663 | with ldlex_script, ldlex_popstate. |
| 1664 | (ifile_p1): Likewise. |
| 1665 | * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the |
| 1666 | correct slot. |
| 1667 | (lex_push_file): Save current lineno to lineno_stack. Set lineno |
| 1668 | to 1. Don't BEGIN(SCRIPT). |
| 1669 | (lex_redirect): Similarly. |
| 1670 | * ldmain.c (main): Set yydebug non-zero if YYDEBUG. |
| 1671 | |
| 1672 | 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com> |
| 1673 | |
| 1674 | * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and |
| 1675 | __EH_FRAME_END__ and accept eh frames into data section. |
| 1676 | Add ctor and dtor sections. |
| 1677 | |
| 1678 | 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
| 1679 | |
| 1680 | * pe-dll.c (autofilter_objectlist): Add gcrt0.o. |
| 1681 | (auto-export): Fix indentation. |
| 1682 | |
| 1683 | 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
| 1684 | |
| 1685 | * pe-dll.c (autofilter_objectlist): Add startup objects |
| 1686 | for profiling. |
| 1687 | (auto-export): Constify char * p. |
| 1688 | Extract file basename and use strcmp rather than ststr |
| 1689 | for object lookup. |
| 1690 | |
| 1691 | 2001-10-18 Chris Demetriou <cgd@broadcom.com> |
| 1692 | |
| 1693 | * ldmain.c (get_emulation): Improve comment about the handling |
| 1694 | of -mipsN options. |
| 1695 | |
| 1696 | 2001-10-17 Alan Modra <amodra@bigpond.net.au> |
| 1697 | |
| 1698 | * po/POTFILES.in: Regenerate. |
| 1699 | |
| 1700 | 2001-10-16 Vassili Karpov <malc@pulsesoft.com> |
| 1701 | |
| 1702 | * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from |
| 1703 | -z nocopyreloc and -z nocombreloc usage strings. |
| 1704 | |
| 1705 | 2001-10-12 Vassili Karpov <malc@pulsesoft.com> |
| 1706 | |
| 1707 | * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc |
| 1708 | in usage. |
| 1709 | |
| 1710 | 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> |
| 1711 | |
| 1712 | * scripttempl/armaout.sc: Place .bss section after end of aligned |
| 1713 | data section to match behaviour of aout code in constructrion of |
| 1714 | header. |
| 1715 | |
| 1716 | 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
| 1717 | |
| 1718 | * pe-dll.c (autofilter_entry_type autofilter_liblist: Add |
| 1719 | startup files for mingw32 dlls to list. |
| 1720 | |
| 1721 | 2001-10-10 Chris Demetriou <cgd@broadcom.com> |
| 1722 | |
| 1723 | * emultempl/elf32.em: Fix shell 'if' usage for portability. |
| 1724 | |
| 1725 | 2001-10-08 Aldy Hernandez <aldyh@redhat.com> |
| 1726 | |
| 1727 | * configure.tgt (targ): Add arm9e-*-elf. |
| 1728 | |
| 1729 | 2001-10-05 H.J. Lu <hjl@gnu.org> |
| 1730 | |
| 1731 | * genscripts.sh: Fix a typo in the last change. |
| 1732 | |
| 1733 | 2001-10-05 Jakub Jelinek <jakub@redhat.com> |
| 1734 | |
| 1735 | * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and |
| 1736 | -z nocombreloc in usage. |
| 1737 | |
| 1738 | 2001-10-03 Jim Blandy <jimb@redhat.com> |
| 1739 | |
| 1740 | * genscripts.sh: Include a comment at the top of each generated |
| 1741 | script, explaining its purpose. |
| 1742 | |
| 1743 | 2001-10-03 Vassili Karpov <malc@pulsesoft.com> |
| 1744 | |
| 1745 | * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. |
| 1746 | * NEWS: Mention -z nocopyreloc. |
| 1747 | * ld.texinfo (Options): Describe nocopyreloc. |
| 1748 | |
| 1749 | 2001-10-03 Alan Modra <amodra@bigpond.net.au> |
| 1750 | |
| 1751 | * configure: Regenerate. |
| 1752 | |
| 1753 | 2001-10-02 Alan Modra <amodra@bigpond.net.au> |
| 1754 | |
| 1755 | * ldver.h (ld_program_version): Remove declaration. |
| 1756 | * lexsup.c (parse_args): Move printing of copyright message.. |
| 1757 | * ldver.c (ldversion): .. to here. |
| 1758 | Use BFD_VERSION_STRING in place of BFD_VERSION. |
| 1759 | (ld_program_version): Remove. |
| 1760 | * Makefile.am (Makefile): Depend on bfd/configure.in. |
| 1761 | Run "make dep-am". |
| 1762 | * Makefile.in: Regenerate. |
| 1763 | |
| 1764 | 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> |
| 1765 | |
| 1766 | * Makefile.am: Update dependencies with "make dep-am". |
| 1767 | * Makefile.in: Regenerate. |
| 1768 | |
| 1769 | 2001-09-29 John Reiser <jreiser@BitWagon.com> |
| 1770 | |
| 1771 | * ldlang.c (lang_common): Conditionally inhibit Common allocation. |
| 1772 | * lexsup.c: Add --no-define-common commandline option. |
| 1773 | * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. |
| 1774 | * ldlex.l: Likewise. |
| 1775 | * ld.h: Add command_line.inhibit_common_definition. |
| 1776 | * ldmain.c (main): Initialize. |
| 1777 | * ld.texinfo: Document. |
| 1778 | |
| 1779 | 2001-09-26 Alan Modra <amodra@bigpond.net.au> |
| 1780 | |
| 1781 | * ldmisc.c (USE_STDARG): Remove. |
| 1782 | (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. |
| 1783 | (einfo): Likewise. |
| 1784 | (minfo): Likewise. |
| 1785 | (lfinfo): Likewise. |
| 1786 | |
| 1787 | * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi |
| 1788 | declarations. Update copyright. |
| 1789 | |
| 1790 | 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> |
| 1791 | |
| 1792 | * pe-dll.c: Remove obsoleted declaration of |
| 1793 | pe_get_data_import_dll_name. |
| 1794 | (pe_create_import_fixup): Fix thinko. |
| 1795 | |
| 1796 | * ld.texinfo(enable-auto-import): Clarify the explanation. |
| 1797 | |
| 1798 | 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> |
| 1799 | |
| 1800 | * pe-dll.c (pe_create_import_fixup): Revert previous patch. |
| 1801 | * emultemp/pe.em (pe_data_import_dll): Move definition outside of |
| 1802 | DLL_SUPPORT controlled code. |
| 1803 | |
| 1804 | 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> |
| 1805 | |
| 1806 | * emultempl/pe.em(pe_data_import_dll): Make static. |
| 1807 | (pe_get_data_import_dll_name): New accessor function. |
| 1808 | * pe-dll.c(pe_create_import_fixup): call |
| 1809 | pe_get_data_import_dll_name() from pe.em, instead of |
| 1810 | directly accessing pe_data_import_dll variable from pe.em. |
| 1811 | |
| 1812 | 2001-09-18 Bruno Haible <haible@clisp.cons.org> |
| 1813 | |
| 1814 | * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. |
| 1815 | (def_file_add_directive): Use ISSPACE instead of isspace. |
| 1816 | (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of |
| 1817 | isdigit/isxdigit/isalpha/isalnum. |
| 1818 | * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. |
| 1819 | (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. |
| 1820 | * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. |
| 1821 | (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of |
| 1822 | isalnum. |
| 1823 | * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. |
| 1824 | (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of |
| 1825 | isupper/tolower. |
| 1826 | * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. |
| 1827 | (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. |
| 1828 | * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1829 | (ctor_prio): Use ISDIGIT instead of isdigit. |
| 1830 | * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1831 | (ldfile_open_file_search): Use ISALPHA instead of isalpha. |
| 1832 | (ldfile_add_arch): Use ISUPPER/TOLOWER instead of |
| 1833 | isupper/tolower. |
| 1834 | * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1835 | (stricpy): Use TOLOWER instead of isupper/tolower. |
| 1836 | (lang_leave_overlay_section): Use ISALNUM instead of isalnum. |
| 1837 | * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. |
| 1838 | (lex_warn_invalid): Use ISPRINT instead of isprint. |
| 1839 | * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1840 | (main): For gettext, also set the LC_CTYPE locate facet. |
| 1841 | (add_keepsyms_file): Use ISSPACE instead of isspace. |
| 1842 | * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1843 | (is_num, parse_args): Use ISDIGIT instead of isdigit. |
| 1844 | * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1845 | (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. |
| 1846 | * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1847 | (gldppcmacos_read_file): Use ISSPACE instead of isspace. |
| 1848 | * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. |
| 1849 | (quoteput): Use ISSPACE instead of isspace. |
| 1850 | (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM |
| 1851 | instead of isalnum. |
| 1852 | |
| 1853 | 2001-09-18 Alan Modra <amodra@bigpond.net.au> |
| 1854 | |
| 1855 | * deffilep.y (def_stash_module): Constify "name" param. |
| 1856 | |
| 1857 | * pe-dll.c: Replace CONST with const throughout. |
| 1858 | (quick_symbol): Constify "n1", "n2", "n3" params. |
| 1859 | (make_singleton_name_thunk): Constify "import" param. Make |
| 1860 | "buffer_len" a size_t. |
| 1861 | (make_import_fixup_entry): Constify "name", "fixup_name", |
| 1862 | "dll_symname" params. |
| 1863 | (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. |
| 1864 | (pe_get32): Likewise. |
| 1865 | (pe_implied_import_dll): Likewise. |
| 1866 | |
| 1867 | * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". |
| 1868 | (sort_by_section_name): Likewise. |
| 1869 | |
| 1870 | * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. |
| 1871 | (make_import_fixup): Cast printf arg, rel->address to long rather |
| 1872 | than int. |
| 1873 | (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. |
| 1874 | |
| 1875 | 2001-09-15 Alan Modra <amodra@bigpond.net.au> |
| 1876 | |
| 1877 | * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX |
| 1878 | defines BufferSize. Increase buffer size by one. |
| 1879 | |
| 1880 | 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de> |
| 1881 | |
| 1882 | * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. |
| 1883 | |
| 1884 | 2001-09-14 Kevin Lo <kevlo@openbsd.org> |
| 1885 | |
| 1886 | * configure.tgt: Add arm-openbsd target. |
| 1887 | |
| 1888 | 2001-09-12 H.J. Lu <hjl@gnu.org> |
| 1889 | |
| 1890 | * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and |
| 1891 | eelf64lppc.o to ... |
| 1892 | (ALL_64_EMULATIONS): Here. |
| 1893 | * Makefile.in: Regenerated. |
| 1894 | |
| 1895 | 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
| 1896 | |
| 1897 | * emultempl/pe.em(make_import_fixup): change signature to |
| 1898 | take asection as well as arelec; we need this for proper |
| 1899 | error reporting. Only call pe_create_import_fixup() if |
| 1900 | there is no attempt to add a constant addend to the reloc; |
| 1901 | otherwise, report error condition. |
| 1902 | * pe-dll.c(pe_walk_relocs_of_symbol): change signature, |
| 1903 | since final argument is a pointer to make_import_fixup(). |
| 1904 | Change call to cb() to match make_import_fixup() signature. |
| 1905 | (make_import_fixup_mark): make buffer_len unsigned. |
| 1906 | * pe-dll.h: change signature of pe_walk_relocs_of_symbol. |
| 1907 | |
| 1908 | 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> |
| 1909 | |
| 1910 | * ld.texinfo: add verbose documentation for auto-import |
| 1911 | direct-addressing workaround, to compliment the terse |
| 1912 | error message. |
| 1913 | |
| 1914 | 2001-09-12 Andrew MacLeod <amacleod@redhat.com> |
| 1915 | |
| 1916 | * scripttempl/v850.sc: Add gcc_except_table sections. |
| 1917 | |
| 1918 | 2001-09-11 Jeffrey A Law (law@cygnus.com) |
| 1919 | |
| 1920 | * emulparams/h8300helf.sh: Move stack to a much higher memory address. |
| 1921 | * emulparams/h8300self.sh: Similarly. |
| 1922 | |
| 1923 | 2001-09-05 Danny Smith <dannysmith@users.souceforge.net> |
| 1924 | |
| 1925 | * ld.texinfo (Options, --stack): Correct default value for stack |
| 1926 | reserve. |
| 1927 | |
| 1928 | 2001-09-05 Tom Rix <trix@redhat.com> |
| 1929 | |
| 1930 | * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. |
| 1931 | |
| 1932 | 2001-09-03 Andreas Jaeger <aj@suse.de> |
| 1933 | |
| 1934 | * emultempl/beos.em: Declare prototypes for comparions functions, |
| 1935 | adjust definitions. |
| 1936 | |
| 1937 | 2001-09-02 Andreas Jaeger <aj@suse.de> |
| 1938 | |
| 1939 | * emultempl/aix.em: Add missing prototype. |
| 1940 | * emultempl/lnk960.em: Likewise. |
| 1941 | * emultempl/vanilla.em: Likewise. |
| 1942 | * emultempl/armcoff.em: Likewise. |
| 1943 | * emultempl/armelf_oabi.em: Likewise. |
| 1944 | * emultempl/beos.em: Likewise. |
| 1945 | * emultempl/gld960c.em: Likewise. |
| 1946 | * emultempl/gld960.em: Likewise. |
| 1947 | |
| 1948 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter |
| 1949 | for prototype declaration. |
| 1950 | |
| 1951 | 2001-08-31 Eric Christopher <echristo@redhat.com> |
| 1952 | Jason Eckhardt <jle@redhat.com> |
| 1953 | |
| 1954 | * ldmain.c (get_emulation): Add support for -mips32 and -mips64. |
| 1955 | |
| 1956 | 2001-08-31 Andreas Jaeger <aj@suse.de> |
| 1957 | |
| 1958 | * emultempl/pe.em: Add missing prototypes. |
| 1959 | (gld_${EMULATION_NAME}_after_open): Remove extra args to |
| 1960 | pe_find_data_imports. |
| 1961 | (pr_sym): Add unused attribute. |
| 1962 | |
| 1963 | 2001-08-29 Joel Sherrill <joel@OARcorp.com> |
| 1964 | |
| 1965 | * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change |
| 1966 | default from coff to elf. |
| 1967 | |
| 1968 | 2001-08-29 Jeff Law <law@redhat.com> |
| 1969 | |
| 1970 | * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update |
| 1971 | ARCH specification. |
| 1972 | * emulparams/h8300self.sh: Similarly. |
| 1973 | |
| 1974 | 2001-08-28 J"orn Rennecke <amylaar@redhat.com> |
| 1975 | |
| 1976 | * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and |
| 1977 | eh8300self.o . |
| 1978 | (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. |
| 1979 | * configure.tgt (h8300-*-elf*): New case. |
| 1980 | * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. |
| 1981 | * emulparams/h8300self.sh: New file. |
| 1982 | * Makefile.in: Regenerated. |
| 1983 | |
| 1984 | 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> |
| 1985 | |
| 1986 | * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision |
| 1987 | with macro name. |
| 1988 | |
| 1989 | 2001-08-27 Linus Nordberg <linus@swox.com> |
| 1990 | Alan Modra <amodra@bigpond.net.au> |
| 1991 | |
| 1992 | * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. |
| 1993 | (eelf64ppc.c, eelf64lppc.c): Add make targets. |
| 1994 | Run "make dep-am" |
| 1995 | * Makefile.in: Regenerate. |
| 1996 | * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj |
| 1997 | entries to correct alphabetical position. |
| 1998 | * emulparams/elf64ppc.sh: New. |
| 1999 | * emulparams/elf64lppc.sh: New. |
| 2000 | |
| 2001 | 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> |
| 2002 | |
| 2003 | * ldmain.c (main): Declare BSIZE as static. |
| 2004 | |
| 2005 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> |
| 2006 | |
| 2007 | * emultempl/elf32.em (place_orphan): Place orphan .rel* sections |
| 2008 | into .rel.dyn resp. .rela.dyn if combreloc. |
| 2009 | (get_script): If .x linker script is equal to .xn, only put it |
| 2010 | once into the binary. |
| 2011 | Add .xc and .xsc scripts. |
| 2012 | (parse_args): Handle -z combreloc and -z nocombreloc. |
| 2013 | * scripttempl/elf.sc (.rela.sbss): Fix a typo. |
| 2014 | For .xc and .xsc scripts put all .rel* or .rela* input sections |
| 2015 | but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. |
| 2016 | * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME |
| 2017 | is elf. |
| 2018 | Strip trailing whitespace from script. |
| 2019 | Generate .xc and .xsc scripts if requested. |
| 2020 | * ldmain.c (main): Initialize link_info.combreloc and |
| 2021 | link_info.spare_dynamic_tags. |
| 2022 | * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. |
| 2023 | (ld_options): Add --spare-dynamic-tags option. |
| 2024 | (parse_args): Likewise. |
| 2025 | * ld.texinfo: Document -z combreloc and -z nocombreloc. |
| 2026 | * ldint.texinfo: Document .xc and .xsc linker scripts. |
| 2027 | * NEWS: Add notes about -z combreloc and SHF_MERGE. |
| 2028 | |
| 2029 | 2001-08-22 H.J. Lu <hjl@gnu.org> |
| 2030 | |
| 2031 | * emulparams/elf32fr30.sh: Add a newline. |
| 2032 | |
| 2033 | 2001-08-21 Andreas Jaeger <aj@suse.de> |
| 2034 | |
| 2035 | * deffilep.y: Add missing prototypes. |
| 2036 | * pe-dll.c: Likewise. |
| 2037 | |
| 2038 | 2001-08-20 Alan Modra <amodra@bigpond.net.au> |
| 2039 | |
| 2040 | * ldlang.c (insert_pad): Fix typos in last patch. |
| 2041 | |
| 2042 | * ldlang.c: When traversing lang_statement_union_type lists, |
| 2043 | consistently use "header.next" rather than "next". |
| 2044 | * mpw-eppcmac.c: Likewise. |
| 2045 | * emultempl/beos.em: Likewise. |
| 2046 | * emultempl/hppaelf.em: Likewise. |
| 2047 | * emultempl/pe.em: Likewise. |
| 2048 | * ldlang.h (union lang_statement_union): Remove "next" field. |
| 2049 | |
| 2050 | * ldlang.c (insert_pad): Use offsetof macro. |
| 2051 | (lang_size_sections): Always neuter padding statements. |
| 2052 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. |
| 2053 | |
| 2054 | * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param |
| 2055 | passed to lang_size_sections. |
| 2056 | (pe_exe_fill_sections): Likewise. |
| 2057 | * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. |
| 2058 | (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. |
| 2059 | |
| 2060 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
| 2061 | |
| 2062 | * emultempl/aix.em: Formatting fixes. |
| 2063 | |
| 2064 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
| 2065 | |
| 2066 | * ldlang.c (insert_pad): Make use of an existing pad statement if |
| 2067 | available. Move code calculating alignment, adjusting section |
| 2068 | alignment power, and adjusting dot to .. |
| 2069 | (size_input_section): .. here. Remove unused relax param. |
| 2070 | (lang_size_sections): Change boolean `relax' param to boolean *. |
| 2071 | Adjust call to size_input_section. Make use of insert_pad to |
| 2072 | place pad after the assignment statement. If relaxing, zap |
| 2073 | padding statements. |
| 2074 | (reset_memory_regions): Reset output_bfd section sizes too. |
| 2075 | (relax_again): Move to.. |
| 2076 | (lang_process): ..here. Adjust call to lang_size_sections, and |
| 2077 | remove duplicated code. |
| 2078 | * ldlang.h (lang_size_sections): Change `relax' param to boolean *. |
| 2079 | |
| 2080 | 2001-08-17 Alan Modra <amodra@bigpond.net.au> |
| 2081 | |
| 2082 | * ld.texinfo: Document that fill values now use the four least |
| 2083 | significant bytes. |
| 2084 | * emulparams/elf32fr30.sh (NOP): Update. |
| 2085 | * emulparams/elf32mcore.sh: Likewise. |
| 2086 | * emulparams/elf64_s390.sh: Likewise. |
| 2087 | * emulparams/elf_i386.sh: Likewise. |
| 2088 | * emulparams/elf_i386_be.sh: Likewise. |
| 2089 | * emulparams/elf_i386_chaos.sh: Likewise. |
| 2090 | * emulparams/elf_i386_ldso.sh: Likewise. |
| 2091 | * emulparams/elf_s390.sh: Likewise. |
| 2092 | * emulparams/elf_x86_64.sh: Likewise. |
| 2093 | * emulparams/i386moss.sh: Likewise. |
| 2094 | * emulparams/i386nw.sh: Likewise. |
| 2095 | * emulparams/m68kelf.sh: Likewise. |
| 2096 | * scripttempl/elf.sc: Update NOP comment. |
| 2097 | * scripttempl/elfi370.sc: Likewise. |
| 2098 | * scripttempl/elfm68hc11.sc: Likewise. |
| 2099 | * scripttempl/elfm68hc12.sc: Likewise. |
| 2100 | * scripttempl/nw.sc: Likewise. |
| 2101 | |
| 2102 | 2001-08-15 Tom Rix <trix@redhat.com> |
| 2103 | |
| 2104 | * ldgram.y (saved_script_handle): Initialize to NULL. |
| 2105 | * ldmain.c (main): Change check on saved_script_handle. |
| 2106 | |
| 2107 | 2001-08-14 Alan Modra <amodra@bigpond.net.au> |
| 2108 | |
| 2109 | * emultempl/elf32.em: Formatting fixes. |
| 2110 | (output_prev_sec_find): Test for bfd_ind_section too; do so by |
| 2111 | looking at sec->owner. |
| 2112 | (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. |
| 2113 | (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove |
| 2114 | unused code, and reorganize orphan section placement code. |
| 2115 | |
| 2116 | * ldlang.c (wild_doit): Rename to lang_add_section. |
| 2117 | * ldlang.h: Here too. |
| 2118 | * mpw-elfmips.c: And here. |
| 2119 | * emultempl/beos.em: And here. |
| 2120 | * emultempl/elf32.em: And here. |
| 2121 | * emultempl/hppaelf.em: And here. |
| 2122 | * emultempl/pe.em: And here. |
| 2123 | |
| 2124 | 2001-08-13 Richard Henderson <rth@redhat.com> |
| 2125 | |
| 2126 | * emultempl/needrelax.em: New file. |
| 2127 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. |
| 2128 | * Makefile.am (eelf64_ia64.c): Depend on it. |
| 2129 | * Makefile.in: Rebuild. |
| 2130 | |
| 2131 | 2001-08-13 Alan Modra <amodra@bigpond.net.au> |
| 2132 | |
| 2133 | * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that |
| 2134 | output_section is set non-NULL. |
| 2135 | |
| 2136 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return |
| 2137 | `true' for SEC_EXCLUDE sections so that the generic code doesn't |
| 2138 | needlessly create an output_section_statement. Treat a correctly |
| 2139 | named output_section_statement with NULL bfd_section as compatible. |
| 2140 | |
| 2141 | 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> |
| 2142 | |
| 2143 | * emultempl/generic.em: Support EXTRA_EM_FILE. |
| 2144 | (ld_${EMULATION_NAME}_emulation): Support emulation parameters |
| 2145 | LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, |
| 2146 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, |
| 2147 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, |
| 2148 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, |
| 2149 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, |
| 2150 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, |
| 2151 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, |
| 2152 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, |
| 2153 | LDEMUL_FIND_POTENTIAL_LIBRARIES. |
| 2154 | |
| 2155 | 2001-08-12 Richard Henderson <rth@redhat.com> |
| 2156 | |
| 2157 | * scripttempl/elf.sc, scripttempl/elfd30v.sc, |
| 2158 | scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, |
| 2159 | scripttempl/v850.sc: Keep .jcr data. |
| 2160 | |
| 2161 | 2001-08-12 H.J. Lu <hjl@gnu.org> |
| 2162 | Andrew Haley <aph@cambridge.redhat.com> |
| 2163 | Nick Clifton <nickc@redhat.com> |
| 2164 | |
| 2165 | * ldgram.y (had_script): Change name to saved_script_handle. |
| 2166 | Change type to file handle. |
| 2167 | * ld.h (had_script): Rename and retype. |
| 2168 | * ldfile.c (ldfile_open_command_file): Save the file handle |
| 2169 | used in saved_script_handle. |
| 2170 | * lexsup.c (parse_args): Do not allow -c option to alter |
| 2171 | saved_script_handle. |
| 2172 | * ldmain.c (main): Print out the linker script used if |
| 2173 | --verbose is given. Check saved_script_handle to obtain the |
| 2174 | external linker script used, or if NULL, dump the builtin |
| 2175 | script. |
| 2176 | * ld.texinfo: Document that --verbose now dumps the linker |
| 2177 | script used, regardless of whether it was an internal or an |
| 2178 | external script. |
| 2179 | |
| 2180 | 2001-08-10 Andreas Jaeger <aj@suse.de> |
| 2181 | |
| 2182 | * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes |
| 2183 | to build warnings. |
| 2184 | * configure: Regenerate. |
| 2185 | |
| 2186 | 2001-08-09 Alan Modra <amodra@bigpond.net.au> |
| 2187 | |
| 2188 | * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. |
| 2189 | |
| 2190 | * scripttempl/elf.sc: Move non-text .dynamic section before |
| 2191 | .plt/.got/.sdata* group. |
| 2192 | (OTHER_GOT_SECTIONS): Move to immediately after .got. |
| 2193 | (OTHER_SDATA_SECTIONS): Add. |
| 2194 | * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than |
| 2195 | OTHER_GOT_SECTIONS. |
| 2196 | * emulparams/crislinux.sh: Likewise. |
| 2197 | * emulparams/elf32b4300.sh: Likewise. |
| 2198 | * emulparams/elf32bmip.sh: Likewise. |
| 2199 | * emulparams/elf32bmipn32.sh: Likewise. |
| 2200 | * emulparams/elf32bsmip.sh: Likewise. |
| 2201 | * emulparams/elf32btsmip.sh: Likewise. |
| 2202 | * emulparams/elf32ebmip.sh: Likewise. |
| 2203 | * emulparams/elf32elmip.sh: Likewise. |
| 2204 | * emulparams/elf32l4300.sh: Likewise. |
| 2205 | * emulparams/elf32lmip.sh: Likewise. |
| 2206 | * emulparams/elf32lsmip.sh: Likewise. |
| 2207 | * emulparams/elf32ltsmip.sh: Likewise. |
| 2208 | * emulparams/elf64bmip.sh: Likewise. |
| 2209 | * emulparams/elf64btsmip.sh: Likewise. |
| 2210 | * emulparams/elf64ltsmip.sh: Likewise. |
| 2211 | |
| 2212 | 2001-08-08 Alan Modra <amodra@bigpond.net.au> |
| 2213 | |
| 2214 | * genscripts.sh: Source the emulparams script before each output |
| 2215 | script is generated so that variables like `RELOCATING' may affect |
| 2216 | variables defined in the emulparams script. |
| 2217 | |
| 2218 | 2001-08-04 Alan Modra <amodra@bigpond.net.au> |
| 2219 | |
| 2220 | * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this |
| 2221 | order. |
| 2222 | |
| 2223 | * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, |
| 2224 | ie. iterate over wild_statement.section_list. |
| 2225 | (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 2226 | |
| 2227 | 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 2228 | |
| 2229 | * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle |
| 2230 | .fini[0-4] sections used by _exit |
| 2231 | (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. |
| 2232 | (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. |
| 2233 | * scripttempl/elfm68hc11.sc: Likewise. |
| 2234 | |
| 2235 | 2001-08-03 H.J. Lu <hjl@gnu.org> |
| 2236 | |
| 2237 | * emultempl/beos.em (init): Add the missing initialization. |
| 2238 | |
| 2239 | 2001-08-03 Alan Modra <amodra@bigpond.net.au> |
| 2240 | |
| 2241 | * ld.texinfo (Input Section Basics): Clarify ordering of output |
| 2242 | sections. |
| 2243 | * ldlang.c (callback_t): Add wildcard_list param. |
| 2244 | (walk_wild_section): Remove "section" param. Rewrite for |
| 2245 | lang_wild_statement_type change. Remove unique_section_p test. |
| 2246 | (walk_wild_file): Remove "section" param. |
| 2247 | (walk_wild): Remove "section" and "file" params. |
| 2248 | (lang_gc_wild): Likewise. |
| 2249 | (wild): Likewise. Modify for lang_wild_statement_type change. |
| 2250 | (wild_sort): Likewise. Add "sec" param. |
| 2251 | (gc_section_callback): Likewise. |
| 2252 | (output_section_callback): Likewise. Do unique_section_p test. |
| 2253 | (map_input_to_output_sections): Modify call to wild. |
| 2254 | (lang_gc_sections_1): Likewise. |
| 2255 | (print_wild_statement): Modify for lang_wild_statement_type |
| 2256 | change. |
| 2257 | (lang_add_wild): Replace filename, filenames_sorted param with |
| 2258 | filespec. Replace section_name, sections_sorted, |
| 2259 | exclude_filename_list with section_list. |
| 2260 | * ldlang.h (lang_add_wild): Here too. |
| 2261 | (lang_wild_statement_type): Replace section_name, sections_sorted, |
| 2262 | and exclude_filename_list with section_list. |
| 2263 | * ldgram.y (current_file): Delete. |
| 2264 | (%union): Add wildcard_list. |
| 2265 | (file_NAME_list): Set type to wildcard_list. Build a linked list |
| 2266 | rather than calling lang_add_wild for each entry. |
| 2267 | (input_section_spec_no_keep): Call lang_add_wild here instead. |
| 2268 | * ld.h (struct wildcard_list): Declare. |
| 2269 | * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. |
| 2270 | |
| 2271 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> |
| 2272 | |
| 2273 | * ldmain.c (main): initialize link_info.pei386_auto_import |
| 2274 | * pe-dll.c: new tables for auto-export filtering |
| 2275 | (auto_export): change API, pass abfd for contextual filtering. |
| 2276 | Loop thru tables of excluded symbols instead of comparing |
| 2277 | "by hand". |
| 2278 | |
| 2279 | 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> |
| 2280 | |
| 2281 | * pe-dll.c: new variable pe_dll_enable_extra_debug. New |
| 2282 | static variable current_sec (static struct sec *). Add |
| 2283 | forward declaration for add_bfd_to_link. |
| 2284 | (process_def_file): Don't export undefined symbols. Do not |
| 2285 | export symbols starting with "_imp__". Call auto_export() |
| 2286 | with new API. |
| 2287 | (pe_walk_relocs_of_symbol): New function. |
| 2288 | (generate_reloc): add optional extra debugging |
| 2289 | (pe_dll_generate_def_file): eliminate extraneous initial blank |
| 2290 | line in output |
| 2291 | (make_one): enlarge symtab to make room for __nm__ symbols |
| 2292 | (DATA auto-import support). |
| 2293 | (make_singleton_name_thunk): New function. |
| 2294 | (make_import_fixup_mark): New function. |
| 2295 | (make_import_fixup_entry): New function. |
| 2296 | (pe_create_import_fixup): New function. |
| 2297 | (add_bfd_to_link): Specify that 'name' argument is a CONST |
| 2298 | char *. |
| 2299 | * pe-dll.h: declare new variable pe_dll_extra_pe_debug; |
| 2300 | declare new functions pe_walk_relocs_of_symbol and |
| 2301 | pe_create_import_fixup. |
| 2302 | * emultempl/pe.em: add new options --enable-auto-import, |
| 2303 | --disable-auto-import, and --enable-extra-pe-debug. |
| 2304 | (make_import_fixup): New function. |
| 2305 | (pe_find_data_imports): New function. |
| 2306 | (pr_sym): New function. |
| 2307 | (gld_${EMULATION_NAME}_after_open): Add optional extra pe |
| 2308 | debugging. Call pe_find_data_imports. Mark .idata as DATA, not |
| 2309 | CODE. |
| 2310 | |
| 2311 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> |
| 2312 | |
| 2313 | * ld.texinfo: add additional documentation for |
| 2314 | --export-all-symbols. Document --out-implib, |
| 2315 | --enable-auto-image-base, --disable-auto-image-base, |
| 2316 | --dll-search-prefix, --enable-auto-import, and |
| 2317 | --disable-auto-import. |
| 2318 | * ldint.texinfo: Add detailed documentation on auto-import |
| 2319 | implementation. |
| 2320 | |
| 2321 | 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> |
| 2322 | |
| 2323 | * ld.texinfo (Simple Assignments): Fix computation in SECTIONS |
| 2324 | example. |
| 2325 | |
| 2326 | 2001-07-24 Alan Modra <amodra@bigpond.net.au> |
| 2327 | |
| 2328 | * Makefile.am: Update dependencies with "make dep-am". |
| 2329 | * Makefile.in: Regenerate |
| 2330 | |
| 2331 | 2001-07-23 Alan Modra <amodra@bigpond.net.au> |
| 2332 | |
| 2333 | * ldcref.c (check_section_sym_xref): New function. |
| 2334 | (check_nocrossrefs): Call it. |
| 2335 | (check_nocrossref): Interate over h->refs here instead of.. |
| 2336 | (check_refs): ..here. Pass in the symbol name, section, and bfd |
| 2337 | rather than hash_entry pointers. |
| 2338 | (struct check_refs_info): Keep symbol name rather than hash entry. |
| 2339 | Remove "same". |
| 2340 | (check_reloc_refs): Tweak for above changes in check_refs_info. |
| 2341 | Only report references to section syms when symname is NULL to |
| 2342 | prevent duplicate messages for the same reloc. |
| 2343 | |
| 2344 | 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
| 2345 | |
| 2346 | * ldexp.c (exp_print_tree): Use stderr if config.map_file is not |
| 2347 | available. Do not print NULL trees. |
| 2348 | (exp_print_token): Print unknown tokens with values > 126 as |
| 2349 | decimal values not ASCII characters. |
| 2350 | |
| 2351 | * ldlang.c (lang_leave_overlay): If a region is specified assign |
| 2352 | it to all sections inside the overlay unless they have been |
| 2353 | assigned to the own, non-default, memory region. |
| 2354 | |
| 2355 | * README: Add header for consistency with other README files. |
| 2356 | |
| 2357 | 2001-07-14 H.J. Lu <hjl@gnu.org> |
| 2358 | |
| 2359 | * emultempl/elf32.em (output_prev_sec_find): Never return |
| 2360 | bfd_abs_section_ptr, bfd_com_section_ptr nor |
| 2361 | bfd_und_section_ptr. |
| 2362 | |
| 2363 | 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com> |
| 2364 | |
| 2365 | * Makefile.am (em32relf.c): Change dependency from generic.em to |
| 2366 | elf32.em. |
| 2367 | * Makefile.in: Regenerate. |
| 2368 | |
| 2369 | 2001-07-14 matthew green <mrg@eterna.com.au> |
| 2370 | |
| 2371 | * configure.tgt (i386-*-netbsdelf*): New target. |
| 2372 | (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' |
| 2373 | |
| 2374 | 2001-07-13 Jakub Jelinek <jakub@redhat.com> |
| 2375 | |
| 2376 | * emultempl/elf32.em (output_prev_sec_find): New. |
| 2377 | (place_orphan): Use it. |
| 2378 | |
| 2379 | 2001-07-11 H.J. Lu <hjl@gnu.org> |
| 2380 | |
| 2381 | * ldmain.c (main): Fix typos in the last change. |
| 2382 | |
| 2383 | 2001-07-11 Jakub Jelinek <jakub@redhat.com> |
| 2384 | |
| 2385 | * ldmain.c (main): Disallow -F and -f without -shared. |
| 2386 | |
| 2387 | 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com> |
| 2388 | |
| 2389 | * emultempl/pe.em (after_open): Check for the output_bfd not |
| 2390 | having any coff_data structure allocated to it. |
| 2391 | |
| 2392 | 2001-07-09 David O'Brien <obrien@FreeBSD.org> |
| 2393 | |
| 2394 | * emultempl/elf32.em: Do not assuming that contents of the buffer |
| 2395 | returned from basename function will remain unchanged accross other |
| 2396 | function calls. |
| 2397 | |
| 2398 | 2001-07-03 H.J. Lu <hjl@gnu.org> |
| 2399 | |
| 2400 | * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on |
| 2401 | 2001-07-03. It creates dynamic entries even for static binaries. |
| 2402 | |
| 2403 | 2001-07-03 Jakub Jelinek <jakub@redhat.com> |
| 2404 | |
| 2405 | * scripttempl/elf.sc (DYNAMIC_PAD): New variable. |
| 2406 | (DYNAMIC): Use it to reserve few dynamic entries for |
| 2407 | post-linking tools. |
| 2408 | |
| 2409 | 2001-06-27 Alan Modra <amodra@bigpond.net.au> |
| 2410 | |
| 2411 | * emulparams/hppa64linux.sh: New file. |
| 2412 | * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh |
| 2413 | * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o |
| 2414 | (ehppa64linux.c): Add rule to make it. |
| 2415 | Run "make dep-am". |
| 2416 | * Makefile.in: Regenerate. |
| 2417 | |
| 2418 | 2001-06-21 Hans-Peter Nilsson <hp@axis.com> |
| 2419 | |
| 2420 | * ld.texinfo (Options, -r): Mention restrictions when using |
| 2421 | different object formats. |
| 2422 | |
| 2423 | 2001-06-19 Hans-Peter Nilsson <hp@axis.com> |
| 2424 | |
| 2425 | * ldlang.c (lang_check): Emit fatal error if relocatable link |
| 2426 | between different object flavours with relocations in input. |
| 2427 | |
| 2428 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
| 2429 | |
| 2430 | * ld.texinfo (-E, --export-dynamic): Mention --version-script. |
| 2431 | (--version-script): Mention the language support. |
| 2432 | |
| 2433 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
| 2434 | |
| 2435 | * ldlang.c (lang_check): Revert the change mode on 2001-06-15. |
| 2436 | |
| 2437 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
| 2438 | |
| 2439 | * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. |
| 2440 | (diststuff): Add $(MANS). |
| 2441 | * Makefile.in: Regenerated. |
| 2442 | |
| 2443 | * ld.1: Removed. |
| 2444 | |
| 2445 | 2001-06-18 Hans-Peter Nilsson <hp@axis.com> |
| 2446 | |
| 2447 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): |
| 2448 | Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. |
| 2449 | * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. |
| 2450 | * ld.h (args_type): Remove member export_dynamic. All users |
| 2451 | changed to use struct bfd_link_info member. |
| 2452 | |
| 2453 | * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on |
| 2454 | $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. |
| 2455 | * Makefile.in: Regenerate. |
| 2456 | |
| 2457 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
| 2458 | |
| 2459 | * ldlang.c (init_os): Add the newline to the einfo call. |
| 2460 | (lang_check): Likewise. |
| 2461 | (lang_do_version_exports_section): Likewise. |
| 2462 | |
| 2463 | 2001-06-15 H.J. Lu <hjl@gnu.org> |
| 2464 | |
| 2465 | * lexsup.c (parse_args); Save optind to report unrecognized |
| 2466 | option. |
| 2467 | |
| 2468 | 2001-06-15 Hans-Peter Nilsson <hp@axis.com> |
| 2469 | |
| 2470 | * ldlang.c (lang_check): Emit fatal error if relocatable link |
| 2471 | between different object flavours. |
| 2472 | |
| 2473 | * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: |
| 2474 | Set new link_info member export_dynamic. |
| 2475 | * ldmain.c (main): Initialize new link_info member export_dynamic. |
| 2476 | |
| 2477 | 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> |
| 2478 | |
| 2479 | * ldlang.c (walk_wild): Only call walk_wild_file if |
| 2480 | lookup_name returns something. |
| 2481 | (lookup_name): If load_symbols fails, return NULL. |
| 2482 | (load_symbols): Change to a boolean function. |
| 2483 | (open_input_bfds): If load_symbols fails then do not make the |
| 2484 | executable. |
| 2485 | |
| 2486 | 2001-06-08 Alan Modra <amodra@bigpond.net.au> |
| 2487 | |
| 2488 | * ldlang.c (record_bfd_errors): Remove. |
| 2489 | |
| 2490 | * emultempl/aix.em: Fix copyright dates. |
| 2491 | |
| 2492 | 2001-06-07 Andreas Jaeger <aj@suse.de> |
| 2493 | |
| 2494 | * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. |
| 2495 | (TEXT_START_ADDR): Likewise. |
| 2496 | |
| 2497 | 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 2498 | |
| 2499 | * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. |
| 2500 | |
| 2501 | 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
| 2502 | |
| 2503 | * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. |
| 2504 | |
| 2505 | 2001-05-31 H.J. Lu <hjl@gnu.org> |
| 2506 | |
| 2507 | * ldlang.c (open_input_bfds): Don't change the bfd error |
| 2508 | handler whilst loading symbols. |
| 2509 | |
| 2510 | 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> |
| 2511 | |
| 2512 | * configure.tgt: Remove i370-mvs architecture, it is not currently |
| 2513 | supported. |
| 2514 | |
| 2515 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
| 2516 | |
| 2517 | * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK |
| 2518 | like emulparams/aixppc.sh. |
| 2519 | |
| 2520 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
| 2521 | |
| 2522 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move |
| 2523 | setting of output_filename after bfd_scan_arch. |
| 2524 | * emultempl/pe.em: Likewise. |
| 2525 | |
| 2526 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
| 2527 | |
| 2528 | * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK |
| 2529 | like emulparams/aixppc.sh. |
| 2530 | |
| 2531 | * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed |
| 2532 | instead of ${srcdir}/emultempl/stringify.sed. |
| 2533 | |
| 2534 | 2001-05-25 Timothy Wall <twall@oculustech.com> |
| 2535 | |
| 2536 | * emulparams/elf64_aix.sh: Change settings to match IBM linker |
| 2537 | output. |
| 2538 | |
| 2539 | 2001-05-25 Alan Modra <amodra@one.net.au> |
| 2540 | |
| 2541 | * configure.host: Replace linuxoldld with linux*oldld. |
| 2542 | * configure.tgt: Likewise. |
| 2543 | |
| 2544 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
| 2545 | |
| 2546 | * emultempl/stringify.sed: Removed again. |
| 2547 | |
| 2548 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
| 2549 | |
| 2550 | * emultempl/aix.em (OUTPUT_ARCH): Defined. |
| 2551 | (gld${EMULATION_NAME}_before_parse): Initialize |
| 2552 | ldfile_output_architecture, ldfile_output_machine and |
| 2553 | ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. |
| 2554 | * emultempl/beos.em: Likewise. |
| 2555 | * emultempl/elf32.em: Likewise. |
| 2556 | * emultempl/linux.em: Likewise. |
| 2557 | * emultempl/mipsecoff.em: Likewise. |
| 2558 | * emultempl/pe.em: Likewise. |
| 2559 | * emultempl/sunos.em: Likewise. |
| 2560 | |
| 2561 | 2001-05-24 Tom Rix <trix@redhat.com> |
| 2562 | |
| 2563 | * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) |
| 2564 | udate import file format. |
| 2565 | (change_symbol_mode) New, same |
| 2566 | (is_syscall) New, same |
| 2567 | * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK |
| 2568 | * emulparams/aixppc64.sh : same |
| 2569 | * emulparams/aixrs6.sh : same |
| 2570 | * emulparams/ppcmacos.sh : same |
| 2571 | * emultempl/aix.em : use strtoull to parse options |
| 2572 | * Makefile.am : add eaixppc64 emulation for xcoff64 |
| 2573 | * Makefile.in : same |
| 2574 | * configure.tgt : same |
| 2575 | |
| 2576 | * scripttempl/aix.sc : default text section offset to 0x10000000 |
| 2577 | default data section offset to 0x20000000 |
| 2578 | add .sv3264 and .sv64 pseudo sections |
| 2579 | loader and debug sections use the currect section offset. |
| 2580 | |
| 2581 | * emultempl/aix.em : Add xcoff64 support |
| 2582 | Add -binitfini support |
| 2583 | (gld${EMULATION_NAME}_before_parse) -binitfini |
| 2584 | (gld${EMULATION_NAME}_parse_args) same |
| 2585 | (gld${EMULATION_NAME}_before_allocation) format change for special |
| 2586 | sections |
| 2587 | |
| 2588 | * emulparams/aixppc64.sh : New file for xcoff64 support |
| 2589 | |
| 2590 | 2001-05-23 Alexandre Oliva <aoliva@redhat.com> |
| 2591 | |
| 2592 | * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new |
| 2593 | variable to avoid non-portable shell construct. |
| 2594 | |
| 2595 | 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 2596 | |
| 2597 | * ldmain.c (get_emulation): Add -mips5 command line argument. |
| 2598 | |
| 2599 | 2001-05-22 Alexandre Oliva <aoliva@redhat.com> |
| 2600 | |
| 2601 | * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. |
| 2602 | (ELF_INTERPRETER_NAME): Define it. |
| 2603 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use |
| 2604 | it. |
| 2605 | * configure.tgt (targ_emul, targ_extra_emuls) |
| 2606 | [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso |
| 2607 | as primary, elf_i386 as extra. |
| 2608 | * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. |
| 2609 | (eelf_i386_ldso.c): New rule. |
| 2610 | * Makefile.in: Rebuilt. |
| 2611 | |
| 2612 | 2001-05-22 Nick Clifton <nickc@redhat.com> |
| 2613 | |
| 2614 | * lexsup.c (ld_options): Allow -I to be an alias for |
| 2615 | --dynamic-linker. This is for Solaris compatability. |
| 2616 | * ld.texinfo: Document that -I can be used. |
| 2617 | * ld.1: Regenerate. |
| 2618 | |
| 2619 | 2001-05-16 Alan Modra <amodra@one.net.au> |
| 2620 | |
| 2621 | * ldlang.c (wild_doit): Use linker_has_input to reliably determine |
| 2622 | whether an input section is the first one assigned to an output |
| 2623 | section. |
| 2624 | Assorted formatting fixes. |
| 2625 | |
| 2626 | 2001-05-14 DJ Delorie <dj@delorie.com> |
| 2627 | |
| 2628 | * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. |
| 2629 | * Makefile.in: Ditto. |
| 2630 | |
| 2631 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
| 2632 | |
| 2633 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put |
| 2634 | .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* |
| 2635 | output sections. |
| 2636 | * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. |
| 2637 | |
| 2638 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
| 2639 | |
| 2640 | * ldlang.c (lang_process): Call bfd_merge_sections. |
| 2641 | |
| 2642 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 2643 | |
| 2644 | * ldgram.y: Fix typo. |
| 2645 | |
| 2646 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
| 2647 | |
| 2648 | * emultempl/elf32.em: Include "libiberty.h". |
| 2649 | (gld${EMULATION_NAME}_vercheck): Call basename () to get the |
| 2650 | basename of the bfd filename. |
| 2651 | (gld${EMULATION_NAME}_stat_needed): Likewise. |
| 2652 | (gld${EMULATION_NAME}_try_needed): Likewise. |
| 2653 | (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. |
| 2654 | |
| 2655 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
| 2656 | |
| 2657 | * emultempl/pe.em: Include <ctype.h>. |
| 2658 | |
| 2659 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
| 2660 | |
| 2661 | * emulparams/elf32openrisc.sh: New file. |
| 2662 | |
| 2663 | * Makefile.am: Add OpenRISC target. |
| 2664 | * Makefile.in: Regenerated. |
| 2665 | |
| 2666 | * configure.tgt: Add openrisc-*-* mapping. |
| 2667 | |
| 2668 | 2001-05-02 Nick Clifton <nickc@redhat.com> |
| 2669 | |
| 2670 | * emultempl/aix.em: Replace buystring with xstrdup. |
| 2671 | * emultempl/beos.em: Replace buystring with xstrdup. |
| 2672 | |
| 2673 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
| 2674 | |
| 2675 | * ldfile.c: Include "libiberty.h". |
| 2676 | * ldlex.l: Likewise. |
| 2677 | |
| 2678 | * ldmisc.c (buystring): Removed. |
| 2679 | * ldmisc.h: Likewise. |
| 2680 | |
| 2681 | * ldfile.c: Replace buystring with xstrdup. |
| 2682 | * ldlang.c: Likewise. |
| 2683 | * ldlex.l: Likewise. |
| 2684 | * ldmain.c: Likewise. |
| 2685 | * ldmisc.c: Likewise. |
| 2686 | * lexsup.c: Likewise. |
| 2687 | * mpw-eppcmac.c: Likewise. |
| 2688 | |
| 2689 | 2001-04-30 Andreas Jaeger <aj@suse.de> |
| 2690 | |
| 2691 | * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. |
| 2692 | |
| 2693 | 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
| 2694 | |
| 2695 | * ldlang.c (load_symbols): Give emulation a chance |
| 2696 | to process unrecognized file before fatal error is |
| 2697 | reported, not after. |
| 2698 | |
| 2699 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
| 2700 | |
| 2701 | * configure.tgt: Add arm-vxworks target. |
| 2702 | * scripttempl/armcoff.sc: Support .text or .data as a section name |
| 2703 | prefix. |
| 2704 | Define _etext. |
| 2705 | |
| 2706 | 2001-04-13 J.T. Conklin <jtc@redback.com> |
| 2707 | |
| 2708 | * ld.texinfo: Document --fatal-warnings. |
| 2709 | * ld.1: Regenerate. |
| 2710 | |
| 2711 | * ldmisc.c (vfinfo): Set flag to inhibit making executable if |
| 2712 | warnings have been turned into errors. |
| 2713 | * lexsup.c (OPTION_WARN_FATAL): Define. |
| 2714 | (ld_options): Entry for --fatal-warnings. |
| 2715 | (parse_args): Handle OPTION_WARN_FATAL. |
| 2716 | * ld.h (ld_config_type): Add fatal_warnings field. |
| 2717 | |
| 2718 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
| 2719 | |
| 2720 | * ldmain.c (main): Default to discard_sec_merge. |
| 2721 | * lexsup.c (OPTION_DISCARD_NONE): Define. |
| 2722 | (ld_options): Add --discard-none. |
| 2723 | (parse_args): Handle OPTION_DISCARD_NONE. |
| 2724 | * ldlang.c (wild_doit): SEC_MERGE should be set in the output |
| 2725 | section only if SEC_MERGE and SEC_STRINGS flags and entsize of |
| 2726 | all its input sections match. |
| 2727 | |
| 2728 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
| 2729 | |
| 2730 | * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. |
| 2731 | (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. |
| 2732 | (eelf32ltsmip.c): New target. |
| 2733 | (eelf64btsmip.c): Likewise. |
| 2734 | (eelf64ltsmip.c): Likewise. |
| 2735 | * Makefile.in: Regenerated. |
| 2736 | |
| 2737 | * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS |
| 2738 | target. |
| 2739 | (mips*-*-linux-gnu*): Likewise. |
| 2740 | |
| 2741 | * emulparams/elf32ltsmip.sh: New. Traditional little endian |
| 2742 | MIPS taget. |
| 2743 | * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian |
| 2744 | target. |
| 2745 | * emulparams/elf64ltsmip.sh: New. Traditional 64bit little |
| 2746 | endian target. |
| 2747 | |
| 2748 | 2001-04-05 Hans-Peter Nilsson <hp@axis.com> |
| 2749 | |
| 2750 | * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide |
| 2751 | correct value of __Stext here. |
| 2752 | (TEXT_START_SYMBOLS): Define; always define __Stext, to start of |
| 2753 | .startup section. |
| 2754 | |
| 2755 | * emulparams/crislinux.sh: Remove FIXME. |
| 2756 | |
| 2757 | 2001-04-02 Alan Modra <alan@linuxcare.com.au> |
| 2758 | |
| 2759 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. |
| 2760 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. |
| 2761 | |
| 2762 | 2001-03-27 Hans-Peter Nilsson <hp@axis.com> |
| 2763 | |
| 2764 | * configure.tgt (cris-*-*): Change default emulation to criself. |
| 2765 | (cris-*-*aout*): New rule. |
| 2766 | |
| 2767 | 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> |
| 2768 | |
| 2769 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. |
| 2770 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. |
| 2771 | |
| 2772 | 2001-03-26 Andreas Jaeger <aj@suse.de> |
| 2773 | |
| 2774 | * ld.texinfo (Overview): Fix syntax in texi code. |
| 2775 | |
| 2776 | 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 2777 | |
| 2778 | * ld.texinfo: Put @c man indications to generate the ld man page. |
| 2779 | When generating man, define all the variables. Define SEEALSO |
| 2780 | and SYNOPSIS. Re-organize some lines to avoid the cross references. |
| 2781 | * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. |
| 2782 | (ld.1): Generate from ld.texinfo. |
| 2783 | * Makefile.in: Regenerate. |
| 2784 | |
| 2785 | 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> |
| 2786 | |
| 2787 | * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' |
| 2788 | and '-fdata-sections'. Set the VMA of STABS sections to zero. |
| 2789 | |
| 2790 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
| 2791 | |
| 2792 | * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME |
| 2793 | is an absolute path look only for this file and not along the path. |
| 2794 | |
| 2795 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
| 2796 | |
| 2797 | * emultempl/elf32.em (OPTION_GROUP): New macro. |
| 2798 | Add new option Bgroup to longopts. |
| 2799 | (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. |
| 2800 | (gld*_list_options): Add -Bgroup and -z defs. |
| 2801 | * ld.1: Document -Bgroup and -z defs. |
| 2802 | * ld.texinfo: Likewise. |
| 2803 | |
| 2804 | 2001-03-07 Michael Meissner <meissner@redhat.com> |
| 2805 | |
| 2806 | * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal |
| 2807 | with sections created by -fdata-sections. |
| 2808 | (.dynbss,.bss): Ditto. |
| 2809 | |
| 2810 | 2001-03-05 Alan Modra <alan@linuxcare.com.au> |
| 2811 | |
| 2812 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call |
| 2813 | after_allocation_default, not gld..._before_allocation. |
| 2814 | |
| 2815 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
| 2816 | |
| 2817 | * configure.in (BFD_VERSION): New. |
| 2818 | (AM_INIT_AUTOMAKE): Use $BFD_VERSION. |
| 2819 | * configure: Regenerate. |
| 2820 | * Makefile.am: Run "make dep-am" |
| 2821 | * Makefile.in: Regenerate. |
| 2822 | |
| 2823 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
| 2824 | |
| 2825 | * emulparams/elf64_aix.sh: Add additional read-only sections; |
| 2826 | uncomment lines which are now required. |
| 2827 | |
| 2828 | 2001-02-26 H.J. Lu <hjl@gnu.org> |
| 2829 | |
| 2830 | * ldlang.c (open_input_bfds): Set the bfd error handler so |
| 2831 | that problems can be caught whilst loading symbols. |
| 2832 | (record_bfd_errors): New function: Report BFD errors and mark |
| 2833 | the executable output as being invalid. |
| 2834 | |
| 2835 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
| 2836 | |
| 2837 | * configure.host: Add configuration for ia64-*-aix*. |
| 2838 | * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. |
| 2839 | Add dependencies for eelf64_aix.c. |
| 2840 | * Makefile.in: Regenerate. |
| 2841 | * configure.tgt: Add ia64-*-aix* mapping. |
| 2842 | * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. |
| 2843 | * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from |
| 2844 | AIX-specific test. |
| 2845 | |
| 2846 | 2001-02-20 H.J. Lu <hjl@gnu.org> |
| 2847 | |
| 2848 | * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to |
| 2849 | false if we found the file. |
| 2850 | |
| 2851 | 2001-02-18 David O'Brien <obrien@FreeBSD.org> |
| 2852 | |
| 2853 | * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, |
| 2854 | FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. |
| 2855 | |
| 2856 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
| 2857 | |
| 2858 | * Makefile.am: Add PDP-11 target. |
| 2859 | * configure.tgt: Likewise. |
| 2860 | * emulparams/pdp11.sh: New file. |
| 2861 | |
| 2862 | 2001-02-17 David O'Brien <obrien@FreeBSD.org> |
| 2863 | |
| 2864 | * configure.host: Add a generic FreeBSD configuration entry such that |
| 2865 | all [modern] FreeBSD systems on all platforms will look the same. |
| 2866 | |
| 2867 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
| 2868 | |
| 2869 | * configure.tgt: Remove mention of earmelf_linux26. |
| 2870 | |
| 2871 | 2001-02-13 Richard Henderson <rth@redhat.com> |
| 2872 | |
| 2873 | * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. |
| 2874 | |
| 2875 | 2001-02-13 H.J. Lu <hjl@gnu.org> |
| 2876 | |
| 2877 | * ldexp.h (node_type): Add etree_provided. |
| 2878 | * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node |
| 2879 | type to etree_provided if defined by PROVIDE. Allow updating |
| 2880 | for etree_provided. |
| 2881 | (exp_print_tree): Handle etree_provided. |
| 2882 | * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle |
| 2883 | etree_provided. |
| 2884 | |
| 2885 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
| 2886 | |
| 2887 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add |
| 2888 | .IA_64.unwind.* pattern to unwind table section and |
| 2889 | .IA_64.unwind_info* pattern to unwind info section. |
| 2890 | |
| 2891 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 2892 | |
| 2893 | * Makefile.am: Add linux target for S/390. |
| 2894 | * Makefile.in: Likewise. |
| 2895 | * configure.host: Likewise. |
| 2896 | * configure.tgt: Likewise. |
| 2897 | * emulparams/elf64_s390.sh: New file. |
| 2898 | * emulparams/elf_s390.sh: New file. |
| 2899 | |
| 2900 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
| 2901 | |
| 2902 | * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into |
| 2903 | targ_extra_libpath. |
| 2904 | (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. |
| 2905 | |
| 2906 | 2001-02-06 Philip Blundell <philb@gnu.org> |
| 2907 | |
| 2908 | * Makefile.am: Remove mention of earmelf_linux26. |
| 2909 | * Makefile.in: Regenerate. |
| 2910 | |
| 2911 | 2001-02-04 Philip Blundell <philb@gnu.org> |
| 2912 | |
| 2913 | * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. |
| 2914 | * emulparams/armelf_linux26.sh: Delete. |
| 2915 | * configure.tgt: Remove mention of armelf_linux26 emulation. |
| 2916 | |
| 2917 | 2001-02-01 Nick Clifton <nickc@redhat.com> |
| 2918 | |
| 2919 | * ld.1: Replace occurances of -oformat with --oformat. |
| 2920 | |
| 2921 | 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> |
| 2922 | |
| 2923 | * ldlang.c (lang_leave_overlay): Don't set lma_region when |
| 2924 | load_base is specified. |
| 2925 | |
| 2926 | 2001-01-24 Hans-Peter Nilsson <hp@axis.com> |
| 2927 | |
| 2928 | * emultempl/elf32.em: Correct spelling in comments and listed |
| 2929 | options. |
| 2930 | |
| 2931 | 2001-01-23 Alan Modra <alan@linuxcare.com.au> |
| 2932 | |
| 2933 | * ldlang.c (lang_leave_overlay): Only set lma_region from the |
| 2934 | default for the first section of a group of overlay sections. |
| 2935 | |
| 2936 | 2001-01-22 Alan Modra <alan@linuxcare.com.au> |
| 2937 | |
| 2938 | * Makefile.am (GENSCRIPTS): Pass exec_prefix. |
| 2939 | * Makefile.in: Regenerate. |
| 2940 | * genscripts.sh: Use exec_prefix parameter to specify tool lib. |
| 2941 | Check for null tool_dir. |
| 2942 | |
| 2943 | 2001-01-16 Jim Wilson <wilson@redhat.com> |
| 2944 | |
| 2945 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind |
| 2946 | and IA_64.unwind.info. |
| 2947 | |
| 2948 | 2001-01-16 H.J. Lu <hjl@gnu.org> |
| 2949 | |
| 2950 | * ldlang.c (lang_check): Merge the private data only if the |
| 2951 | input file has contents. |
| 2952 | |
| 2953 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
| 2954 | |
| 2955 | * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. |
| 2956 | |
| 2957 | * emultempl/hppaelf.em (hppaelf_after_parse): New function, |
| 2958 | enabling search for libmilli. On a relocatable link, make .text |
| 2959 | sections unique. |
| 2960 | (LDEMUL_AFTER_PARSE): Define. |
| 2961 | (hppaelf_finish): Correct spelling of relocatable in comments. |
| 2962 | |
| 2963 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
| 2964 | rummage through the script for sections on the unique list. |
| 2965 | Correct length of strncmp for ".note". |
| 2966 | (gld${EMULATION_NAME}_check_needed): Rearrange function. |
| 2967 | |
| 2968 | * ldlang.c (unique_section_list): New var. |
| 2969 | (unique_section_p): New function. |
| 2970 | (walk_wild_section): Don't match sections on unique_section_list. |
| 2971 | (lang_add_unique): New function. |
| 2972 | Correct spelling of relocatable in comments. |
| 2973 | |
| 2974 | * ldlang.h (struct unique_sections): Declare. |
| 2975 | (unique_section_list): Declare. |
| 2976 | (unique_section_p): Declare. |
| 2977 | (lang_add_unique): Declare. |
| 2978 | |
| 2979 | * lexsup.c (ld_options): Allow --unique to take an optional arg. |
| 2980 | (parse_args [OPTION_UNIQUE]): Call lang_add_unique. |
| 2981 | |
| 2982 | * ld.texinfo (--unique): Update. |
| 2983 | |
| 2984 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
| 2985 | |
| 2986 | * lexsup.c (parse_args): Remove spurious white space. |
| 2987 | |
| 2988 | 2001-01-12 Nick Clifton <nickc@redhat.com> |
| 2989 | |
| 2990 | * lexsup.c (parse_args): Update copyright date. |
| 2991 | |
| 2992 | 2001-01-12 Philip Blundell <pb@futuretv.com> |
| 2993 | |
| 2994 | * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. |
| 2995 | |
| 2996 | 2001-01-10 Kazu Hirata <kazu@hxi.com> |
| 2997 | |
| 2998 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. |
| 2999 | * scripttempl/h8300h.sc: Fix formatting. |
| 3000 | * scripttempl/h8300s.sc: Likewise. |
| 3001 | * scripttempl/h8500.sc: Likewise. |
| 3002 | * scripttempl/h8500b.sc: Likewise. |
| 3003 | * scripttempl/h8500c.sc: Likewise. |
| 3004 | * scripttempl/h8500m.sc: Likewise. |
| 3005 | * scripttempl/h8500s.sc: Likewise. |
| 3006 | |
| 3007 | 2000-01-07 David O'Brien <obrien@BSDi.com> |
| 3008 | |
| 3009 | * emultempl/elf32.em: Only perform Linux ld hints processing when |
| 3010 | targeting Linux. |
| 3011 | |
| 3012 | 2001-01-07 Philip Blundell <philb@gnu.org> |
| 3013 | |
| 3014 | * ld.texinfo (Bug Reporting): Update email address for reports. |
| 3015 | |
| 3016 | 2000-12-31 Nick Clifton <nickc@redhat.com> |
| 3017 | |
| 3018 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long |
| 3019 | options by checking for a return value of '?' not -1. |
| 3020 | |
| 3021 | 2000-12-28 Nick Clifton <nickc@redhat.com> |
| 3022 | |
| 3023 | * lexsup.c (struct ld_option): Add new enum value: |
| 3024 | EXACTLY_TWO_DASHES. |
| 3025 | (ld_options[]): Change -omagic, -output and -oformat options |
| 3026 | to be EXACTLY_TWO_DASHES. |
| 3027 | (OUTPUT_COUNT): Use ARRAY_SIZE. |
| 3028 | (parse_args): Change parameter 'argc' to unsigned. |
| 3029 | Place EXACTLY_TWO_DASHES options into new really_longopts |
| 3030 | array. |
| 3031 | If getopt_long_only fails, try calling getopt_long using the |
| 3032 | really_longopts array. |
| 3033 | (help): Print a double dash for both EXACTLY_TWO_DASHES and |
| 3034 | TWO_DASHES options. |
| 3035 | |
| 3036 | * ldlex.h: Fix prototype of parse_args. |
| 3037 | |
| 3038 | * ld.texinfo: Document that long options starting with 'o' |
| 3039 | must be preceeded by two dashes. Change example of a single |
| 3040 | dashed long option from -oformat to -trace-symbol. |
| 3041 | |
| 3042 | 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
| 3043 | |
| 3044 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. |
| 3045 | (longopts[]): New --no-default-excludes option. |
| 3046 | (gld_${EMULATION_NAME}_list_options): Document. |
| 3047 | (gld_${EMULATION_NAME}_parse_args): Handle. |
| 3048 | |
| 3049 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 3050 | |
| 3051 | * ldlang.c (new_stat): Revert the last beautification with "innocent" |
| 3052 | whitespace, it breaks the K&R C preprocessor. |
| 3053 | |
| 3054 | 2000-12-11 DJ Delorie <dj@redhat.com> |
| 3055 | |
| 3056 | * ld.texinfo: Add notes about --whole-archive and gcc. |
| 3057 | |
| 3058 | 2000-11-18 Fred Fish <fnf@be.com> |
| 3059 | |
| 3060 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. |
| 3061 | (ld_options): Entry for --allow-shlib-undefined. |
| 3062 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. |
| 3063 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined |
| 3064 | to false. |
| 3065 | * ld.texinfo: Document new command line switch. |
| 3066 | |
| 3067 | 2000-12-12 Geoffrey Keating <geoffk@redhat.com> |
| 3068 | |
| 3069 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): |
| 3070 | .fixup is actually read/write. |
| 3071 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. |
| 3072 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. |
| 3073 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. |
| 3074 | |
| 3075 | 2000-12-11 Jan Hubicka <jh@suse.cz> |
| 3076 | |
| 3077 | * NEWS: Add note about x86_64 architecture. |
| 3078 | |
| 3079 | 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> |
| 3080 | |
| 3081 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. |
| 3082 | Set DWARF2 sections to a VMA of zero. |
| 3083 | |
| 3084 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
| 3085 | |
| 3086 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): |
| 3087 | New targets. |
| 3088 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. |
| 3089 | (sparc*-*-rtems*): Switched from a.out to ELF. |
| 3090 | |
| 3091 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
| 3092 | |
| 3093 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o |
| 3094 | (eelf_x86_64.c): New. |
| 3095 | * Makefile.in: Regenerate. |
| 3096 | * configure.tgt: Add support for x86_64-*-linux-gnu*. |
| 3097 | * emulparams/elf_x86_64.sh: New. |
| 3098 | |
| 3099 | 2000-11-30 Hans-Peter Nilsson <hp@axis.com> |
| 3100 | |
| 3101 | * emulparams/crislinux.sh (ENTRY): Change back to _start. |
| 3102 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. |
| 3103 | |
| 3104 | * scripttempl/crisaout.sc: Change all RELOCATING not related to |
| 3105 | merging non-a.out sections into CONSTRUCTING. |
| 3106 | |
| 3107 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
| 3108 | |
| 3109 | * ld.1 (COPYING): Mention that the GNU Free Documentation |
| 3110 | License is present in the sources, but not the output, and |
| 3111 | also available from the GNU website. |
| 3112 | (GNU Free Documentation License): Comment out this section. |
| 3113 | |
| 3114 | 2000-11-28 David O'Brien <obrien@dragon.nuxi.com> |
| 3115 | |
| 3116 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF |
| 3117 | does not use them. |
| 3118 | |
| 3119 | 2000-11-25 David O'Brien <obrien@FreeBSD.org> |
| 3120 | |
| 3121 | * ld.1: Remove old date so it does not give the impression the manpage |
| 3122 | is way out of date. |
| 3123 | |
| 3124 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
| 3125 | |
| 3126 | * configure.tgt (xscale-coff): Add target. |
| 3127 | (xscale-elf): Add target. |
| 3128 | |
| 3129 | 2000-11-24 Fred Fish <fnf@be.com> |
| 3130 | |
| 3131 | * ldmain.c (main): Remove redundant init of config.make_executable |
| 3132 | to true. |
| 3133 | |
| 3134 | 2000-11-15 Richard Henderson <rth@redhat.com> |
| 3135 | |
| 3136 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. |
| 3137 | |
| 3138 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
| 3139 | |
| 3140 | * scripttempl/h8300.sc: Fix formatting. |
| 3141 | * scripttempl/h8300h.sc: Likewise. |
| 3142 | * scripttempl/h8300s.sc: Likewise. |
| 3143 | |
| 3144 | 2000-11-14 Denis Chertykov <denisc@overta.ru> |
| 3145 | |
| 3146 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. |
| 3147 | |
| 3148 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
| 3149 | |
| 3150 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME |
| 3151 | around orphan sections whose names can be represented in C. |
| 3152 | |
| 3153 | 2000-11-07 Jim Wilson <wilson@redhat.com> |
| 3154 | |
| 3155 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local |
| 3156 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. |
| 3157 | |
| 3158 | 2000-11-06 Nick Clifton <nickc@redhat.com> |
| 3159 | |
| 3160 | * ld.texinfo: Add GNU Free Documentation License. |
| 3161 | * ldint.texinfo: Add GNU Free Documentation License. |
| 3162 | * ld.1: Add GNU Free Documentation License. |
| 3163 | |
| 3164 | 2000-11-05 Alan Modra <alan@linuxcare.com.au> |
| 3165 | |
| 3166 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, |
| 3167 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. |
| 3168 | |
| 3169 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. |
| 3170 | Move 2000-11-02 Makefile.in changes to this file. |
| 3171 | * Makefile.in: Regenerate. |
| 3172 | |
| 3173 | 2000-11-03 Nick Clifton <nickc@redhat.com> |
| 3174 | |
| 3175 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose |
| 3176 | constructors and destructors. |
| 3177 | * scripttempl/h8300h.sc: Ditto. |
| 3178 | * scripttempl/h8300s.sc: Ditto. |
| 3179 | * scripttempl/h8500.sc: Ditto. |
| 3180 | * scripttempl/h8500b.sc: Ditto. |
| 3181 | * scripttempl/h8500c.sc: Ditto. |
| 3182 | * scripttempl/h8500m.sc: Ditto. |
| 3183 | * scripttempl/h8500s.sc: Ditto. |
| 3184 | * scripttempl/v850.sc: Ditto. |
| 3185 | * scripttempl/w65.sc: Ditto. |
| 3186 | * scripttempl/z8000.sc: Ditto. |
| 3187 | |
| 3188 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
| 3189 | |
| 3190 | * Makefile.in (e_i386_chaos.c): New rule. |
| 3191 | (ALL_EMULATIONS): Added e_i386_chaos.o. |
| 3192 | * emulparams/elf_i386_chaos.sh: New file. |
| 3193 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. |
| 3194 | |
| 3195 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
| 3196 | |
| 3197 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, |
| 3198 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. |
| 3199 | Fix sed invocation, so that it coped with '/' in Solaris 64bit |
| 3200 | library path suffix. |
| 3201 | Based on patch by Andrew Macleod <amacleod@cygnus.com>. |
| 3202 | |
| 3203 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
| 3204 | |
| 3205 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), |
| 3206 | for consecutive sections. |
| 3207 | |
| 3208 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
| 3209 | |
| 3210 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific |
| 3211 | options. |
| 3212 | * ld.texinfo: Added notes about this new option. |
| 3213 | |
| 3214 | 2000-10-16 Nick Clifton <nickc@redhat.com> |
| 3215 | |
| 3216 | * emultempl/pe.em (_after_open): Add tests of return values from |
| 3217 | bfd functions. Emit appropriate error messages if necessary. |
| 3218 | |
| 3219 | 2000-10-13 Nick Clifton <nickc@redhat.com> |
| 3220 | |
| 3221 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' |
| 3222 | local variables - they are not used, but leave in the call to |
| 3223 | bfd_canonicalize_symtab. |
| 3224 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
| 3225 | pe_dll_search_prefix. |
| 3226 | |
| 3227 | 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> |
| 3228 | |
| 3229 | * emultempl/pe.em (pe_dll_search_prefix): New variable, |
| 3230 | (longopts): New --dll-search-prefix option. |
| 3231 | (gld_${EMULATION_NAME}_list_options): Document. |
| 3232 | (gld_${EMULATION_NAME}_parse_args): Handle. |
| 3233 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking |
| 3234 | dynamically, search for a dll named '<prefix><basename>.dll' |
| 3235 | in preference to 'lib<basename>.dll' if --dll-search-prefix |
| 3236 | is specified. |
| 3237 | |
| 3238 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
| 3239 | |
| 3240 | * ldlang.c (section_already_linked): Set kept_section instead of |
| 3241 | sec->comdat->sec. |
| 3242 | |
| 3243 | 2000-10-10 Kazu Hirata <kazu@hxi.com> |
| 3244 | |
| 3245 | * deffile.h: Fix formatting. |
| 3246 | * lexsup.c: Likewise. |
| 3247 | * mri.c: Likewise. |
| 3248 | |
| 3249 | 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
| 3250 | |
| 3251 | * pe-dll.c (make_one): Do not generate code thunk for DATA |
| 3252 | exports. |
| 3253 | (process_def_file): deduce DATA flag for auto-export sumbols. |
| 3254 | |
| 3255 | 2000-10-09 Kazu Hirata <kazu@hxi.com> |
| 3256 | |
| 3257 | * ld.h: Fix formatting. |
| 3258 | * ldcref.c: Likewise. |
| 3259 | * ldctor.h: Likewise. |
| 3260 | * ldemul.c: Likewise. |
| 3261 | * ldemul.h: Likewise. |
| 3262 | * ldexp.c: Likewise. |
| 3263 | * ldexp.h: Likewise. |
| 3264 | * ldfile.c: Likewise. |
| 3265 | * ldfile.h: Likewise. |
| 3266 | * ldlang.c: Likewise. |
| 3267 | * ldlang.h: Likewise. |
| 3268 | * ldmain.c: Likewise. |
| 3269 | * pe-dll.c: Likewise. |
| 3270 | |
| 3271 | * pe-dll.c: Revert some formatting fixes. |
| 3272 | |
| 3273 | 2000-10-08 Kazu Hirata <kazu@hxi.com> |
| 3274 | |
| 3275 | * pe-dll.c: Fix formatting. |
| 3276 | |
| 3277 | 2000-10-05 Kazu Hirata <kazu@hxi.com> |
| 3278 | |
| 3279 | * ldlang.c: Fix formatting. |
| 3280 | |
| 3281 | 2000-10-03 DJ Delorie <dj@redhat.com> |
| 3282 | |
| 3283 | * pe-dll.c (fill_edata): initialize entire block |
| 3284 | (make_one): fill in correct section. |
| 3285 | |
| 3286 | 2000-10-03 Kazu Hirata <kazu@hxi.com> |
| 3287 | |
| 3288 | * ldexp.c: Fix formatting. |
| 3289 | |
| 3290 | 2000-10-02 DJ Delorie <dj@redhat.com> |
| 3291 | |
| 3292 | * emultempl/pe.em (gld_*_after_open): detect case where there two |
| 3293 | import libraries for same dll; rename one to ensure proper link |
| 3294 | order. |
| 3295 | |
| 3296 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix |
| 3297 | typo |
| 3298 | (generate_edata): fix typo |
| 3299 | |
| 3300 | 2000-09-29 Hans-Peter Nilsson <hp@axis.com> |
| 3301 | |
| 3302 | * scripttempl/crisaout.sc (ENTRY): Now __start. |
| 3303 | (.text): Add default setting for __start. |
| 3304 | Remove CONSTRUCTORS handling. |
| 3305 | (/DISCARD/): Add .gnu.warning.*. |
| 3306 | * emulparams/crislinux.sh (ENTRY): Now __start. |
| 3307 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. |
| 3308 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. |
| 3309 | (ENTRY): Now __start. |
| 3310 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. |
| 3311 | (EXECUTABLE_SYMBOLS): Add default setting for __start. |
| 3312 | |
| 3313 | 2000-09-29 Kazu Hirata <kazu@hxi.com> |
| 3314 | |
| 3315 | * deffile.h: Fix formatting. |
| 3316 | * ld.h: Likewise. |
| 3317 | * ldcref.c: Likewise. |
| 3318 | * ldctor.c: Likewise. |
| 3319 | * ldctor.h: Likewise. |
| 3320 | * ldemul.c: Likewise. |
| 3321 | * ldemul.h: Likewise. |
| 3322 | * ldexp.c: Likewise. |
| 3323 | * ldexp.h: Likewise. |
| 3324 | * ldfile.c: Likewise. |
| 3325 | * ldfile.h: Likewise. |
| 3326 | * ldlang.c: Likewise. |
| 3327 | * ldlang.h: Likewise. |
| 3328 | * lexsup.c: Likewise. |
| 3329 | * mri.c: Likewise. |
| 3330 | * pe-dll.c: Likewise. |
| 3331 | |
| 3332 | 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
| 3333 | |
| 3334 | * pe-dll.c (process_def_file): Uninitialized data wasn't |
| 3335 | exported with --export-all-symbols switch. |
| 3336 | |
| 3337 | 2000-09-28 DJ Delorie <dj@redhat.com> |
| 3338 | |
| 3339 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and |
| 3340 | noname work properly. |
| 3341 | |
| 3342 | 2000-09-28 Alan Modra <alan@linuxcare.com.au> |
| 3343 | |
| 3344 | * ld.texinfo (HPPA ELF32): New section. |
| 3345 | |
| 3346 | * emultempl/hppaelf.em (group_size): New. |
| 3347 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. |
| 3348 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. |
| 3349 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate |
| 3350 | options to prevent abbreviations matching. |
| 3351 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. |
| 3352 | (PARSE_AND_LIST_ARGS_CASES): Handle it. |
| 3353 | |
| 3354 | 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 3355 | |
| 3356 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature |
| 3357 | on the m68*-*-elf target. Make it support COFF input objects. |
| 3358 | |
| 3359 | 2000-09-21 Kazu Hirata <kazu@hxi.com> |
| 3360 | |
| 3361 | * ldmain.c: Fix formatting. |
| 3362 | * ldmisc.c: Likewise. |
| 3363 | * ldver.c: Likewise. |
| 3364 | * ldwrite.c: Likewise. |
| 3365 | |
| 3366 | 2000-09-21 Alan Modra <alan@linuxcare.com.au> |
| 3367 | |
| 3368 | * ldwrite.c (clone_section): Silence gcc warnings. |
| 3369 | |
| 3370 | 2000-09-20 Alan Modra <alan@linuxcare.com.au> |
| 3371 | |
| 3372 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle |
| 3373 | out of memory failure. |
| 3374 | |
| 3375 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. |
| 3376 | (clone_section): Handle out of memory failures. Rename var to |
| 3377 | avoid c++ reserved word. |
| 3378 | |
| 3379 | 2000-09-18 Alan Modra <alan@linuxcare.com.au> |
| 3380 | |
| 3381 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename |
| 3382 | stub_name param to stub_sec_name. |
| 3383 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. |
| 3384 | |
| 3385 | 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 3386 | |
| 3387 | * emultempl/m68kelf.em: New file. |
| 3388 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. |
| 3389 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. |
| 3390 | * Makefile.in: Regenerate. |
| 3391 | |
| 3392 | 2000-09-15 Alan Modra <alan@linuxcare.com.au> |
| 3393 | |
| 3394 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ |
| 3395 | only as needed. |
| 3396 | |
| 3397 | 2000-09-13 Nick Clifton <nickc@redhat.com> |
| 3398 | |
| 3399 | * ldmain.c (multiple_definition): Disable relaxation if |
| 3400 | multiple symbol definitions are encountered - otherwise the |
| 3401 | linker could abort with an assertion failure. |
| 3402 | |
| 3403 | 2000-09-10 Nick Clifton <nickc@redhat.com> |
| 3404 | |
| 3405 | * mri.c: Fix formatting. |
| 3406 | |
| 3407 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
| 3408 | |
| 3409 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. |
| 3410 | * configure: Rebuild. |
| 3411 | |
| 3412 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
| 3413 | |
| 3414 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. |
| 3415 | * Makefile.in: Rebuild. |
| 3416 | |
| 3417 | 2000-09-07 Alan Modra <alan@linuxcare.com.au> |
| 3418 | |
| 3419 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix |
| 3420 | broken list handling. Create __start_SECNAME and __stop_SECNAME |
| 3421 | when no place-holder. Add some comments. Test both SEC_CODE and |
| 3422 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. |
| 3423 | Handle case where no output section statement created. |
| 3424 | |
| 3425 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
| 3426 | |
| 3427 | * configure.tgt (sh-*-linux*): Added. |
| 3428 | * Makefile.am: Added eshelf_linux and eshlelf_linux. |
| 3429 | * Makefile.in: Rebuilt. |
| 3430 | * emulparams/shelf_linux.sh: New file. |
| 3431 | * emulparams/shlelf_linux.sh: New file. |
| 3432 | |
| 3433 | 2000-09-06 Alan Modra <alan@linuxcare.com.au> |
| 3434 | |
| 3435 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
| 3436 | try shuffling sections when the orphan happens to be the place |
| 3437 | holder. Keep count of unique section names generated so we speed |
| 3438 | the search for a new name. |
| 3439 | |
| 3440 | 2000-09-06 Alexandre Oliva <aoliva@redhat.com> |
| 3441 | |
| 3442 | * configure: Rebuilt with new libtool.m4. |
| 3443 | |
| 3444 | 2000-09-05 Nick Clifton <nickc@redhat.com> |
| 3445 | |
| 3446 | * Makefile.in: Regenerate. |
| 3447 | * aclocal.m4: Regenerate. |
| 3448 | * configure: Regenerate. |
| 3449 | * config.in: Regenerate. |
| 3450 | * po/ld.pot: Regenerate. |
| 3451 | |
| 3452 | * ldint.texinfo: Remove CVS revision marker - it foils local |
| 3453 | comparisons. |
| 3454 | |
| 3455 | * emultempl/ticoff.em: Remove extraneous comma. |
| 3456 | |
| 3457 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
| 3458 | |
| 3459 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
| 3460 | to stub section flags. |
| 3461 | (hppa_for_each_input_file_wrapper): New. |
| 3462 | (hppa_lang_for_each_input_file): New. |
| 3463 | (lang_for_each_input_file): Define to call above. |
| 3464 | (multi_subspace): New. |
| 3465 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. |
| 3466 | (PARSE_AND_LIST_PROLOGUE): Define. |
| 3467 | (PARSE_AND_LIST_LONGOPTS): Define. |
| 3468 | (PARSE_AND_LIST_OPTIONS): Define. |
| 3469 | (PARSE_AND_LIST_ARGS_CASES): Define. |
| 3470 | (hppaelf_finish): Call elf32_hppa_set_gp. |
| 3471 | (hppaelf_set_output_arch): Remove. |
| 3472 | (LDEMUL_SET_OUTPUT_ARCH): Remove. |
| 3473 | |
| 3474 | * emulparams/hppalinux.sh (ELFSIZE): Define. |
| 3475 | (MACHINE): Define. |
| 3476 | (OTHER_READONLY_SECTIONS): Define. |
| 3477 | (DATA_PLT): Define. |
| 3478 | (GENERATE_SHLIB_SCRIPT): Define. |
| 3479 | |
| 3480 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
| 3481 | to const throughout. Change `void *' to `PTR' throughout. |
| 3482 | (lang_memory_default): Function is local to file, add `static'. |
| 3483 | |
| 3484 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. |
| 3485 | (ehppalinux.c): Likewise. |
| 3486 | (earmelf.c): Likewise. |
| 3487 | (earmelf_linux.c): Likewise. |
| 3488 | (earmelf_linux26.c): Likewise. |
| 3489 | * Makefile.in: Regenerate. |
| 3490 | |
| 3491 | * ld.h (ld_config_type): Add unique_orphan_sections. |
| 3492 | * lexsup.c (OPTION_UNIQUE): Define. |
| 3493 | (ld_options): Add "--unique". |
| 3494 | (parse_args): Handle it. |
| 3495 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
| 3496 | search for an existing output section if unique_orphan_sections is |
| 3497 | set. Make use of bfd_get_unique_section_name rather than |
| 3498 | duplicating code here. |
| 3499 | * ld.texinfo: Describe --unique. |
| 3500 | |
| 3501 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add |
| 3502 | optional arg to split-by-file. |
| 3503 | (parse_args): Handle them. |
| 3504 | * ld.texinfo: Update description of these options. |
| 3505 | * ldwrite.c (clone_section): Pass in the section name. Replace |
| 3506 | local code with bfd_get_unique_section_name. |
| 3507 | (split_sections): Tidy code and comments. Use a list traversal |
| 3508 | more appropriate to the list construction. Handle cooked section |
| 3509 | sizes. Split when split_by_reloc reached rather than exceeded. |
| 3510 | Track section size and split when split_by_file reached. Fix |
| 3511 | link_order_tail (even though it's not used). |
| 3512 | (ldwrite): Modify condition for calling split_sections to suit |
| 3513 | changed split_by_reloc and split_by_file. |
| 3514 | * ldmain.c (main): Init config.split_by_reloc and |
| 3515 | config.split_by_file to -1. |
| 3516 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. |
| 3517 | Change split_by_file to bfd_size_type. |
| 3518 | |
| 3519 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
| 3520 | |
| 3521 | * configure.in: Increase version number to 2.10.91. |
| 3522 | * NEWS: Mention new ability to support removal of duplicate DWARF2 |
| 3523 | debug information. |
| 3524 | * configure: Regenerate. |
| 3525 | * aclocal.m4: Regenerate. |
| 3526 | * config.in: Regenerate. |
| 3527 | |
| 3528 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
| 3529 | |
| 3530 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info |
| 3531 | sections. |
| 3532 | * scripttempl/elf32avr.sc: Ditto. |
| 3533 | * scripttempl/elfd10v.sc: Ditto. |
| 3534 | * scripttempl/elfd30v.sc: Ditto. |
| 3535 | * scripttempl/elfi370.sc: Ditto. |
| 3536 | * scripttempl/elfm68hc11.sc: Ditto. |
| 3537 | * scripttempl/elfm68hc12.sc: Ditto. |
| 3538 | * scripttempl/elfi386beos.sc: Ditto. |
| 3539 | * scripttempl/v850.sc: Ditto. |
| 3540 | |
| 3541 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
| 3542 | |
| 3543 | * acinclude.m4: Include libtool and gettext macros from the |
| 3544 | top level. |
| 3545 | * aclocal.m4, configure: Rebuilt. |
| 3546 | |
| 3547 | 2000-08-25 Nick Clifton <nickc@redhat.com> |
| 3548 | |
| 3549 | * ldlang.c (open_output): When choosing the target for a |
| 3550 | particular endianness, do nothing if the target is not |
| 3551 | supported. |
| 3552 | |
| 3553 | 2000-08-25 H.J. Lu <hjl@gnu.org> |
| 3554 | |
| 3555 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't |
| 3556 | check -rpath nor LD_RUN_PATH for cross link. |
| 3557 | * ld.texinfo: Document the change. |
| 3558 | |
| 3559 | 2000-08-24 Hans-Peter Nilsson <hp@axis.com> |
| 3560 | |
| 3561 | * NEWS: Mention support for CRIS. |
| 3562 | |
| 3563 | 2000-08-23 H.J. Lu <hjl@gnu.org> |
| 3564 | |
| 3565 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get |
| 3566 | the current runpath list from bfd_elf_get_runpath_list () |
| 3567 | before search. |
| 3568 | |
| 3569 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
| 3570 | |
| 3571 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search |
| 3572 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after |
| 3573 | LD_LIBRARY_PATH for native linker. Display the needed DSO if |
| 3574 | trace_file_tries is non-zero. |
| 3575 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found |
| 3576 | if trace_file_tries is non-zero. |
| 3577 | |
| 3578 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. |
| 3579 | * NEWS: Mention it. |
| 3580 | |
| 3581 | 2000-08-14 Jason Eckhardt <jle@cygnus.com> |
| 3582 | |
| 3583 | * NEWS: Mention i860 support. |
| 3584 | |
| 3585 | 2000-08-14 Andreas Schwab <schwab@suse.de> |
| 3586 | |
| 3587 | * scripttempl/elf.sc: Fix last change to use correct comment |
| 3588 | syntax. |
| 3589 | |
| 3590 | 2000-08-10 Geoff Keating <geoffk@cygnus.com> |
| 3591 | |
| 3592 | * scripttempl/elf.sc: Add a comment giving the correspondence |
| 3593 | between sections, per-datum sections, and linkonce sections. Make |
| 3594 | the comment true even for .bss, .sdata, .sdata2, .sbss, and |
| 3595 | .sbss2. |
| 3596 | |
| 3597 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
| 3598 | |
| 3599 | * emulparams/elf32_i860.sh: New file. |
| 3600 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. |
| 3601 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. |
| 3602 | (eelf32_i860.c): New rule. |
| 3603 | * Makefile.in: Regenerate. |
| 3604 | |
| 3605 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
| 3606 | |
| 3607 | * emulparams/mipspe.sh (ENTRY): Add definition. |
| 3608 | |
| 3609 | 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> |
| 3610 | |
| 3611 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath |
| 3612 | in error message. |
| 3613 | |
| 3614 | 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 3615 | |
| 3616 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate |
| 3617 | the final size of .bss section. |
| 3618 | * scripttempl/elfm68hc12.sc: Likewise. |
| 3619 | |
| 3620 | 2000-08-04 Alan Modra <alan@linuxcare.com.au> |
| 3621 | |
| 3622 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to |
| 3623 | gld${EMULATION_NAME}_parse_args for consistency. Combine |
| 3624 | lastoptind and prevoptind vars, and keep track of last optind. |
| 3625 | (gld_${EMULATION_NAME}_list_options): Rename to |
| 3626 | gld${EMULATION_NAME}_list_options. |
| 3627 | |
| 3628 | 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> |
| 3629 | |
| 3630 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 |
| 3631 | (i586-sco-sysv5uw7.1.0). |
| 3632 | |
| 3633 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
| 3634 | |
| 3635 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. |
| 3636 | (PARSE_AND_LIST_PROLOGUE): New. |
| 3637 | (PARSE_AND_LIST_LONGOPTS): Likewise. |
| 3638 | (PARSE_AND_LIST_OPTIONS): Likewise. |
| 3639 | (PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 3640 | (PARSE_AND_LIST_EPILOGUE): Likewise. |
| 3641 | |
| 3642 | 2000-07-28 Alan Modra <alan@linuxcare.com.au> |
| 3643 | |
| 3644 | * emultempl/armelf.em: Elide functions common to elf32.em, |
| 3645 | ie. most of the file. |
| 3646 | (arm_elf_after_open): New. Do arm specific things then call |
| 3647 | gld${EMULATION_NAME}_after_open. |
| 3648 | (arm_elf_before_allocation): New. Call |
| 3649 | gld${EMULATION_NAME}_before_allocation then do arm specifics. |
| 3650 | (PARSE_AND_LIST_PROLOGUE): Define. |
| 3651 | (PARSE_AND_LIST_SHORTOPTS): Define. |
| 3652 | (PARSE_AND_LIST_LONGOPTS): Define. |
| 3653 | (PARSE_AND_LIST_OPTIONS): Define. |
| 3654 | (PARSE_AND_LIST_ARGS_CASES): Define. |
| 3655 | (LDEMUL_AFTER_OPEN): Define. |
| 3656 | (LDEMUL_BEFORE_ALLOCATION): Define. |
| 3657 | (LDEMUL_BEFORE_PARSE): Define. |
| 3658 | (LDEMUL_FINISH): Define. |
| 3659 | |
| 3660 | * emultempl/hppaelf.em: Similarly zap most of this file. |
| 3661 | (hppaelf_add_stub_section): Prototype. |
| 3662 | (hppaelf_layaout_sections_again): Prototype. |
| 3663 | (hook_in_stub): Prototype. |
| 3664 | (LDEMUL_SET_OUTPUT_ARCH): Define. |
| 3665 | (LDEMUL_FINISH): Define. |
| 3666 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. |
| 3667 | |
| 3668 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. |
| 3669 | (EXTRA_EM_FILE): New. |
| 3670 | * emulparams/armelf_linux.sh: Likewise. |
| 3671 | * emulparams/armelf_linux26.sh: Likewise. |
| 3672 | * emulparams/hppalinux.sh: Likewise. |
| 3673 | * emulparams/hppaelf.sh: Likewise. |
| 3674 | (NOP): Define. |
| 3675 | |
| 3676 | * emultempl/elf32.em: Fix formatting. |
| 3677 | (EXTRA_EM_FILE): Source it. |
| 3678 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, |
| 3679 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, |
| 3680 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, |
| 3681 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, |
| 3682 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, |
| 3683 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, |
| 3684 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, |
| 3685 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, |
| 3686 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to |
| 3687 | allow functions in this file to be overridden. |
| 3688 | (PARSE_AND_LIST_SHORTOPTS): Handle it. |
| 3689 | |
| 3690 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. |
| 3691 | |
| 3692 | * emultempl/elf32.em: Reorganize file. |
| 3693 | |
| 3694 | 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
| 3695 | |
| 3696 | * emulparams/elf64alpha.sh: Implement "-taso" emulation |
| 3697 | specific option to fit 64-bit executable in the lower |
| 3698 | 31-bit address range. This is done by changing start |
| 3699 | address of .interp (the very first section of executable) |
| 3700 | and then setting EF_ALPHA_32BIT elf header flag. |
| 3701 | |
| 3702 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 3703 | |
| 3704 | * emultempl/m68kcoff.em: New file. |
| 3705 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. |
| 3706 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than |
| 3707 | generic.em. |
| 3708 | * Makefile.in: Regenerate. |
| 3709 | |
| 3710 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
| 3711 | |
| 3712 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" |
| 3713 | and "disable-new-dtags" to stop getopt from treating -d/-e as |
| 3714 | abbreviations for these options. |
| 3715 | |
| 3716 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
| 3717 | |
| 3718 | * ld.texinfo: Add documentation for --disable-new-dtags and |
| 3719 | --enable-new-dtags. |
| 3720 | |
| 3721 | * ldmain.c (main): Initialize link_info.new_dtags to false. |
| 3722 | |
| 3723 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add |
| 3724 | --disable-new-dtags and --enable-new-dtags. |
| 3725 | (gld_${EMULATION_NAME}_list_options): Likewise. |
| 3726 | |
| 3727 | 2000-07-05 Kenneth Block <krblock@computer.org> |
| 3728 | |
| 3729 | * lexsup.c: Add optional style to demangle switch |
| 3730 | * ld.texinfo: Document optional style to demangle switch. |
| 3731 | |
| 3732 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
| 3733 | |
| 3734 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, |
| 3735 | ecrislinux.o. |
| 3736 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. |
| 3737 | Regenerate dependencies. |
| 3738 | * Makefile.in: Rebuild. |
| 3739 | * configure.tgt (cris-*-*): New target. |
| 3740 | * emulparams/crisaout.sh, emulparams/criself.sh, |
| 3741 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. |
| 3742 | * po/POTFILES.in, po/ld.pot: Regenerate. |
| 3743 | |
| 3744 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
| 3745 | |
| 3746 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): |
| 3747 | Print out ignored -z options. |
| 3748 | |
| 3749 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
| 3750 | |
| 3751 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
| 3752 | (PARSE_AND_LIST_PROLOGUE): New. |
| 3753 | (PARSE_AND_LIST_LONGOPTS): Likewise. |
| 3754 | (PARSE_AND_LIST_OPTIONS): Likewise. |
| 3755 | (PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 3756 | |
| 3757 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. |
| 3758 | |
| 3759 | * lexsup.c (ld_options): Comment out 'z'. |
| 3760 | (parse_args): Likewise. |
| 3761 | |
| 3762 | * emultempl/elf32.em: Include "elf/common.h". |
| 3763 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z |
| 3764 | options. |
| 3765 | (gld_${EMULATION_NAME}_list_options): Likewise. |
| 3766 | |
| 3767 | * ld.texinfo: Add documentation for the recognized -z options. |
| 3768 | |
| 3769 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
| 3770 | |
| 3771 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call |
| 3772 | bfd_elf_set_dt_needed_soname (). |
| 3773 | |
| 3774 | 2000-07-18 DJ Delorie <dj@cygnus.com> |
| 3775 | |
| 3776 | * pe-dll.c (pe_dll_id_target): check object target name also |
| 3777 | |
| 3778 | 2000-07-18 Hans-Peter Nilsson <hp@axis.com> |
| 3779 | |
| 3780 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and |
| 3781 | ${INIT_END} if relocating. |
| 3782 | (.fini): Likewise ${FINI_START} and ${FINI_END}. |
| 3783 | |
| 3784 | 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> |
| 3785 | |
| 3786 | * emultempl/pe.em (gld_*_open_dynamic_archive): New search |
| 3787 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, |
| 3788 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility |
| 3789 | errors introduced by the old dynamic lib search order. |
| 3790 | |
| 3791 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
| 3792 | |
| 3793 | * pe-dll.c (process_def_file): auto-export data items also |
| 3794 | (pe_process_import_defs): also see if _imp_ form needed |
| 3795 | |
| 3796 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
| 3797 | |
| 3798 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration |
| 3799 | for dll import libraries |
| 3800 | |
| 3801 | 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> |
| 3802 | |
| 3803 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in |
| 3804 | gcc 2.95.2 and later. |
| 3805 | |
| 3806 | 2000-07-11 Kazu Hirata <kazu@hxi.com> |
| 3807 | |
| 3808 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
| 3809 | message. |
| 3810 | |
| 3811 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
| 3812 | |
| 3813 | * ldemul.h (struct lang_input_statement_struct): Remove forward |
| 3814 | declaration. |
| 3815 | (struct search_dirs): Likewise. |
| 3816 | * ldfile.h (struct lang_input_statement_struct): Likewise. |
| 3817 | Protect file from multiple inclusion. |
| 3818 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain |
| 3819 | declaration from macro to file scope. |
| 3820 | |
| 3821 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. |
| 3822 | * ldgram.y: Likewise here. |
| 3823 | * ldlang.c: And here. |
| 3824 | * ldmain.c: And here. |
| 3825 | * mpw-elfmips.c: And here. |
| 3826 | * mpw-eppcmac.c: And here. |
| 3827 | * emultempl/aix.em: And here. |
| 3828 | * emultempl/armcoff.em: And here. |
| 3829 | * emultempl/armelf.em: And here. |
| 3830 | * emultempl/armelf_oabi.em: And here. |
| 3831 | * emultempl/beos.em: And here. |
| 3832 | * emultempl/elf32.em: And here. |
| 3833 | * emultempl/hppaelf.em: And here. |
| 3834 | * emultempl/linux.em: And here. |
| 3835 | * emultempl/lnk960.em: And here. |
| 3836 | * emultempl/pe.em: And here. |
| 3837 | * emultempl/sunos.em: And here. |
| 3838 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. |
| 3839 | * mpw-idtmips.c: Ditto. |
| 3840 | * emultempl/generic.em: Ditto. |
| 3841 | * emultempl/gld960.em: Ditto. |
| 3842 | * emultempl/gld960c.em: Ditto. |
| 3843 | * emultempl/mipsecoff.em: Ditto. |
| 3844 | * emultempl/ticoff.em: Ditto. |
| 3845 | * emultempl/vanilla.em: Ditto. |
| 3846 | |
| 3847 | * pe-dll.c: Include ldfile.h |
| 3848 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h |
| 3849 | |
| 3850 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing |
| 3851 | arguments to bfd_elf32_size_dynamic_sections call. |
| 3852 | (gldelf32ebmip_place_orphan): Add missing arguments to |
| 3853 | lang_leave_output_section_statement call. |
| 3854 | |
| 3855 | 2000-07-10 H.J. Lu <hjl@gnu.org> |
| 3856 | |
| 3857 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with |
| 3858 | DLL_SUPPORT. |
| 3859 | (strhash): Likewise. |
| 3860 | (compute_dll_image_base): Likewise. |
| 3861 | (pe_undef_found_sym): Likewise. |
| 3862 | (pe_undef_cdecl_match): Likewise. |
| 3863 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the |
| 3864 | argument "arch" with ATTRIBUTE_UNUSED. |
| 3865 | |
| 3866 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
| 3867 | |
| 3868 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. |
| 3869 | |
| 3870 | From Ryan Bradetich <rbradetich@uswest.net> |
| 3871 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. |
| 3872 | |
| 3873 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
| 3874 | |
| 3875 | Changes to create multiple linker stubs, positioned immediately |
| 3876 | before the section where they are required. |
| 3877 | * emultempl/hppaelf.em: Include elf32-hppa.h. |
| 3878 | (stub_sec, file_chain): Delete. |
| 3879 | (hppaelf_create_output_section_statements): Don't make a stub |
| 3880 | section here. |
| 3881 | (hook_stub_info): New struct. |
| 3882 | (hook_in_stub): New function. |
| 3883 | (hppaelf_add_stub_section): New function. |
| 3884 | (hppaelf_finish): Do nothing for relocateable links. Modify the |
| 3885 | call to elf32_hppa_size_stubs. Move code for updating section |
| 3886 | layout from here... |
| 3887 | (hppaelf_layaout_sections_again): ..to here, a new function. |
| 3888 | |
| 3889 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix |
| 3890 | broken list handling. Pass in a pointer to the list. |
| 3891 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements |
| 3892 | for above changes. |
| 3893 | (hppaelf_before_parse): Prototype. |
| 3894 | (hppaelf_set_output_arch): Prototype. |
| 3895 | (hppaelf_create_output_section_statements): Prototype. |
| 3896 | (hppaelf_delete_padding_statements): Prototype. |
| 3897 | (hppaelf_finish): Prototype. |
| 3898 | |
| 3899 | Merge from elf32.em |
| 3900 | * emultempl/hppaelf.em: Include ctype.h. |
| 3901 | (struct orphan_save): New. |
| 3902 | (gld${EMULATION_NAME}_place_orphan): New. |
| 3903 | (output_rel_find): New. |
| 3904 | (hppaelf_get_script): Update from elf32.em. |
| 3905 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. |
| 3906 | Change emulation_name field to "${EMULATION_NAME}". Add |
| 3907 | gld${EMULATION_NAME}_place_orphan. |
| 3908 | |
| 3909 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add |
| 3910 | ehppalinux.o, sort it. Regenerate dependencies. |
| 3911 | (ehppalinux.c): Depend on hppaelf.em |
| 3912 | * Makefile.in: Regenerate. |
| 3913 | |
| 3914 | * configure.tgt: targ_emul=hppalinux for hppa*linux |
| 3915 | |
| 3916 | * emulparams/hppalinux.sh: New. |
| 3917 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. |
| 3918 | |
| 3919 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
| 3920 | |
| 3921 | * lexsup.c (parse_args): Copy section name. |
| 3922 | |
| 3923 | 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> |
| 3924 | |
| 3925 | * emultempl/pe.em: institute the following search order for |
| 3926 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
| 3927 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to |
| 3928 | static lib (libfoo.a) if none of the above are found. |
| 3929 | |
| 3930 | 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> |
| 3931 | |
| 3932 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
| 3933 | (longopts): New --{enable,disable}-auto-image-base options. |
| 3934 | (gld_${EMULATION_NAME}_list_options): Document. |
| 3935 | (gld_${EMULATION_NAME}_parse): Handle. |
| 3936 | (strhash): New static function. |
| 3937 | (compute_dll_image_base): New static function. |
| 3938 | (gld_${EMULATION_NAME}_set_symbols): Use. |
| 3939 | |
| 3940 | 2000-07-05 DJ Delorie <dj@redhat.com> |
| 3941 | |
| 3942 | * MAINTAINERS: new |
| 3943 | |
| 3944 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
| 3945 | |
| 3946 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. |
| 3947 | * emulparams/elf32btsmip.sh: New file. |
| 3948 | * Makefile.am: Add traditional mips target. |
| 3949 | * Makefile.in: Rebuild. |
| 3950 | |
| 3951 | 2000-07-01 H.J. Lu <hjl@gnu.org> |
| 3952 | |
| 3953 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for |
| 3954 | automake to use YLWRAP. |
| 3955 | * Makefile.in: Rebuild. |
| 3956 | |
| 3957 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
| 3958 | |
| 3959 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed |
| 3960 | (CLEANFILES): Add DEPA. |
| 3961 | * Makefile.in: Regenerate. |
| 3962 | |
| 3963 | 2000-06-30 Timothy Wall <twall@ppc> |
| 3964 | |
| 3965 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode |
| 3966 | the page in the upper octet of the address. |
| 3967 | |
| 3968 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
| 3969 | |
| 3970 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. |
| 3971 | |
| 3972 | 2000-06-24 Alan Modra <alan@linuxcare.com.au> |
| 3973 | |
| 3974 | * NEWS: arm-elf does --gc-sections too. |
| 3975 | |
| 3976 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
| 3977 | |
| 3978 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we |
| 3979 | find one. |
| 3980 | * Makefile.in: Regenerate. |
| 3981 | |
| 3982 | 2000-06-21 H.J. Lu <hjl@gnu.org> |
| 3983 | |
| 3984 | * Makefile.am: Rebuild dependency. |
| 3985 | * Makefile.in: Rebuild. |
| 3986 | |
| 3987 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
| 3988 | |
| 3989 | * Makefile.am: Rebuild dependency. |
| 3990 | * Makefile.in: Rebuild. |
| 3991 | |
| 3992 | 2000-06-20 Timothy Wall <twall@cygnus.com> |
| 3993 | |
| 3994 | * scripttempl/tic54xcoff.sc: New. |
| 3995 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. |
| 3996 | * gen-doc.texi: Add flag for TI COFF. |
| 3997 | * ld.texinfo: Add documentation for TI COFF handling switches. |
| 3998 | * emultempl/ticoff.em: New. TI COFF handling. |
| 3999 | * configure.tgt: Add tic54x target. |
| 4000 | * Makefile.am: Add tic54x target. |
| 4001 | * Makefile.in: Ditto. |
| 4002 | |
| 4003 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
| 4004 | |
| 4005 | * ldmain.c (set_scripts_dir): Correct pointer comparison when |
| 4006 | checking for backslashes. |
| 4007 | |
| 4008 | 2000-06-19 Alan Modra <alan@linuxcare.com.au> |
| 4009 | |
| 4010 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". |
| 4011 | |
| 4012 | 2000-06-18 Alan Modra <alan@linuxcare.com.au> |
| 4013 | |
| 4014 | * NEWS: Update list of targets supporting --gc-sections. |
| 4015 | |
| 4016 | * scripttempl/elf.sc: KEEP .eh_frame contents. |
| 4017 | * scripttempl/elfd30v.sc: Same here. |
| 4018 | |
| 4019 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
| 4020 | |
| 4021 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 |
| 4022 | and m68hc11 (elf). |
| 4023 | * Makefile.in: Rebuild. |
| 4024 | * configure.tgt: Recognize m68hc12 and m68hc11. |
| 4025 | * scripttempl/elfm68hc12.sc: New file. |
| 4026 | * emulparams/m68hc12elfb: New emulation. |
| 4027 | * emulparams/m68hc12elf: New emulation. |
| 4028 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation |
| 4029 | (includes a memory.x script to define the ROM and RAM banks). |
| 4030 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: |
| 4031 | New configuration files for support of Motorola 68hc11 |
| 4032 | |
| 4033 | 2000-06-15 Alan Modra <alan@linuxcare.com.au> |
| 4034 | |
| 4035 | * ldmain.c (main): Only change SEC_READONLY for final link. |
| 4036 | |
| 4037 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
| 4038 | |
| 4039 | * configure: Regenerate. |
| 4040 | |
| 4041 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
| 4042 | |
| 4043 | * configure.in (VERSION): Update to show this is the CVS mainline. |
| 4044 | |
| 4045 | 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
| 4046 | |
| 4047 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all |
| 4048 | input objects to be ECOFF. |
| 4049 | (check_sections): einfo takes %B, not %P, to print a BFD name. |
| 4050 | |
| 4051 | 2000-06-05 Michael Matz <matz@ifh.de> |
| 4052 | |
| 4053 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in |
| 4054 | version scripts. |
| 4055 | |
| 4056 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. |
| 4057 | |
| 4058 | 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> |
| 4059 | |
| 4060 | * emulparams/avr1200.sh (STACK): Define as 0. |
| 4061 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. |
| 4062 | * emulparams/avr4433.sh (STACK): Likewise. |
| 4063 | * emulparams/avr44x4.sh (STACK): Likewise. |
| 4064 | * emulparams/avr85xx.sh (STACK): Likewise. |
| 4065 | * emulparams/avrmega103.sh (STACK): Likewise. |
| 4066 | * emulparams/avrmega161.sh (STACK): Likewise. |
| 4067 | * emulparams/avrmega603.sh (STACK): Likewise. |
| 4068 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. |
| 4069 | (__stack): Define from ${STACK} for main(). |
| 4070 | |
| 4071 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
| 4072 | |
| 4073 | * Makefile.am: Update dependencies with "make dep-am" |
| 4074 | * Makefile.in: Regenerate. |
| 4075 | |
| 4076 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
| 4077 | |
| 4078 | * ldmain.c: Include filenames.h. |
| 4079 | (set_scripts_dir): Support backslashes in program name. |
| 4080 | |
| 4081 | 2000-05-22 Igor Shevlyakov <igor@windriver.com> |
| 4082 | |
| 4083 | * ldmain.c (main): When deciding if ".text" section should be |
| 4084 | read-only, don't forget to reset SEC_READONLY because it |
| 4085 | could be already set. |
| 4086 | |
| 4087 | 2000-05-22 Thomas de Lellis <tdel@windriver.com> |
| 4088 | |
| 4089 | * ld.1: Add documentation for new command line option: |
| 4090 | --section-start <sectionname>=<sectionorg> |
| 4091 | This is a generic version of -Ttext etc. which accepts |
| 4092 | any section name as a parameter instead of just text/data/ |
| 4093 | bss. |
| 4094 | * ld.texinfo: More docs. |
| 4095 | * NEWS: More docs. |
| 4096 | * lexsup.c: (parse_args): Recognize new command line option. |
| 4097 | (ld_options): Add new option. |
| 4098 | |
| 4099 | 2000-05-18 H.J. Lu <hjl@gnu.org> |
| 4100 | |
| 4101 | * lexsup.c (parse_args): `i' == `r', not `q'. |
| 4102 | |
| 4103 | 2000-05-18 Jeffrey A Law (law@cygnus.com) |
| 4104 | |
| 4105 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. |
| 4106 | |
| 4107 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
| 4108 | Rick Gorton <gorton@scrugs.lkg.dec.com> |
| 4109 | |
| 4110 | Add support for '-q' == '--emit-relocs' switch. |
| 4111 | * ldmain.c (main): Default to false. |
| 4112 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. |
| 4113 | * NEWS: Describe the emitrelocations switch. |
| 4114 | * ld.texinfo: Describe the emitrelocations switch. |
| 4115 | |
| 4116 | 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> |
| 4117 | |
| 4118 | * emultempl/pe.em (_open_dynamic_archive): New function: Search |
| 4119 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries |
| 4120 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' |
| 4121 | link options. |
| 4122 | |
| 4123 | 2000-05-15 David O'Brien <obrien@FreeBSD.org> |
| 4124 | |
| 4125 | * lexsup.c (parse_args): Update the year in the copyright notice. |
| 4126 | |
| 4127 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
| 4128 | |
| 4129 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): |
| 4130 | Replace defines with those from intl/libgettext.h to quieten gcc |
| 4131 | warnings. |
| 4132 | |
| 4133 | 2000-05-10 H.J. Lu <hjl@gnu.org> |
| 4134 | |
| 4135 | * ldlang.c (open_input_bfds): Don't load the same file within |
| 4136 | a group again if the whole archive has been loaded already. |
| 4137 | |
| 4138 | 2000-05-03 Alan Modra <alan@linuxcare.com.au> |
| 4139 | |
| 4140 | From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> |
| 4141 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than |
| 4142 | strtoul. |
| 4143 | |
| 4144 | 2000-05-01 Jim Wilson <wilson@cygnus.com> |
| 4145 | |
| 4146 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
| 4147 | |
| 4148 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
| 4149 | host "ia64-*-linux-gnu*". |
| 4150 | |
| 4151 | 2000-04-29 Andreas Jaeger <aj@suse.de> |
| 4152 | |
| 4153 | * ld.h: Correctly check GCC version. |
| 4154 | |
| 4155 | 2000-04-25 Jeffrey A Law (law@cygnus.com) |
| 4156 | |
| 4157 | * Makefile.am: Add PA64 support. Add missing dependencies for |
| 4158 | PA32 elf support. |
| 4159 | * Makefile.in: Rebuilt. |
| 4160 | * configure.tgt: Add PA64 support (currently disabled). |
| 4161 | |
| 4162 | 2000-04-25 Alan Modra <alan@linuxcare.com.au> |
| 4163 | |
| 4164 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. |
| 4165 | (output_rel_find): New function. |
| 4166 | (hold_section, hold_use): Delete. |
| 4167 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, |
| 4168 | hold_interp): Make local to place_orphan. |
| 4169 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find |
| 4170 | rather than place_section to find possible previous use of orphan. |
| 4171 | Similarly find the place-holder output sections. Use returned |
| 4172 | value from lang_enter_output_section_statement rather than calling |
| 4173 | lang_output_section_statement_lookup. |
| 4174 | * emultempl/armelf.em: Same here. |
| 4175 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. |
| 4176 | |
| 4177 | * ldlang.c (lang_enter_output_section_statement): Return output |
| 4178 | section statement. |
| 4179 | * ldlang.h (lang_enter_output_section_statement): Change |
| 4180 | declaration too. |
| 4181 | |
| 4182 | * ldlang.h (lang_output_section_statement): Export it. |
| 4183 | * ldlang.c (lang_output_section_statement): Ditto. |
| 4184 | |
| 4185 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
| 4186 | |
| 4187 | * ld.texinfo (Output Section Data): Add note that section data |
| 4188 | commands cannot appear outside of section directives. |
| 4189 | |
| 4190 | 2000-04-2 Matthew Green <mrg@cygnus.com> |
| 4191 | |
| 4192 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. |
| 4193 | |
| 4194 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
| 4195 | David Mosberger <davidm@hpl.hp.com> |
| 4196 | |
| 4197 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. |
| 4198 | (eelf64_ia64.c): New rule. |
| 4199 | * Makefile.in: Rebuild. |
| 4200 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. |
| 4201 | * emulparams/elf64_ia64.sh: New file. |
| 4202 | |
| 4203 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
| 4204 | |
| 4205 | * scripttempl/elfd30v.sc: Place .gcc_except_table. |
| 4206 | |
| 4207 | 2000-04-19 Alan Modra <alan@linuxcare.com.au> |
| 4208 | |
| 4209 | * dep-in.sed: Match space at start of file name, not at end. |
| 4210 | |
| 4211 | 2000-04-18 H.J. Lu <hjl@gnu.org> |
| 4212 | |
| 4213 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call |
| 4214 | lang_leave_output_section_statement () after calling |
| 4215 | lang_enter_output_section_statement (). |
| 4216 | * emultempl/armelf.em: Likewise. |
| 4217 | |
| 4218 | 2000-04-18 Alan Modra <alan@linuxcare.com.au> |
| 4219 | |
| 4220 | * emultempl/elf32.em (struct orphan_save): Add section field. |
| 4221 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in |
| 4222 | better order, and place first orphan section as we did before the |
| 4223 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. |
| 4224 | Don't call make_bfd_section here, let wild_doit do the job for us. |
| 4225 | Don't build a statement list when we'll only throw it away. |
| 4226 | * emultempl/armelf.em: Ditto. |
| 4227 | * emultempl/pe.em: Similarly. |
| 4228 | |
| 4229 | 2000-04-14 Geoff Keating <geoffk@cygnus.com> |
| 4230 | |
| 4231 | * scripttempl/elfppc.sc: Remove. |
| 4232 | * emulparams/elf32ppc.sh: Use elf.sc. |
| 4233 | * emulparams/elf32lppc.sh: Use elf.sc. |
| 4234 | * emulparams/elf32ppclinux.sh: Use elf.sc. |
| 4235 | * emulparams/elf32ppcsim.sh: New file. |
| 4236 | * emulparams/elf32lppcsim.sh: New file. |
| 4237 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. |
| 4238 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. |
| 4239 | * Makefile.in: Regenerate. |
| 4240 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. |
| 4241 | |
| 4242 | 2000-04-14 Alan Modra <alan@linuxcare.com.au> |
| 4243 | |
| 4244 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
| 4245 | ~SEC_ALLOC sections too. Init start address of debug sections. |
| 4246 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
| 4247 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
| 4248 | Also set all relocateable section start addresses. |
| 4249 | |
| 4250 | 2000-04-13 Geoff Keating <geoffk@cygnus.com> |
| 4251 | |
| 4252 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. |
| 4253 | Add new BSS_PLT variable for when .plt need not be contained in |
| 4254 | the file. Move _etext so that it is also after .fini, and provide |
| 4255 | both etext and _etext with a leading underscore. Mark the start |
| 4256 | and end of .sbss. |
| 4257 | |
| 4258 | 2000-04-12 Alan Modra <alan@linuxcare.com.au> |
| 4259 | |
| 4260 | * emultempl/elf32.em (struct orphan_save): New. |
| 4261 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, |
| 4262 | hold_interp): Make them struct orphan_save. |
| 4263 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. |
| 4264 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to |
| 4265 | the end of the relevant section list. Also add associated section |
| 4266 | statements to the end of any previous orphan statements. |
| 4267 | * emultempl/armelf.em: Similarly. |
| 4268 | * emultempl/pe.em: Similarly. |
| 4269 | |
| 4270 | 2000-04-11 Alan Modra <alan@linuxcare.com.au> |
| 4271 | |
| 4272 | * ld.texinfo (Simple Example): Remove extraneous paragraph. |
| 4273 | |
| 4274 | 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> |
| 4275 | |
| 4276 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
| 4277 | --enable-build-warnings option. |
| 4278 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
| 4279 | * Makefile.in, configure: Re-generate. |
| 4280 | |
| 4281 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
| 4282 | |
| 4283 | * po/ld.pot: Regenerate. |
| 4284 | |
| 4285 | * lexsup.c (help): Restore translated part of bug string. |
| 4286 | |
| 4287 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
| 4288 | (DEP): Quote when passing vars to sub-make. Add warning message |
| 4289 | to end. |
| 4290 | (DEP1): Rewrite for "gcc -MM". |
| 4291 | (CLEANFILES): Add DEP2. |
| 4292 | Update dependencies. |
| 4293 | * Makefile.in: Regenerate. |
| 4294 | |
| 4295 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
| 4296 | |
| 4297 | * ld.h: #include "bin-bugs.h" |
| 4298 | * lexsup.c (help): Use REPORT_BUGS_TO. |
| 4299 | |
| 4300 | 2000-03-27 Denis Chertykov <denisc@overta.ru> |
| 4301 | |
| 4302 | * configure.tgt (avr-*-*): New target support. |
| 4303 | * Makefile.am: Likewise. |
| 4304 | * scripttempl/elf32avr.sc: New script file. |
| 4305 | * emulparams/avr1200.sh: New file. |
| 4306 | * emulparams/avr23xx.sh: New file. |
| 4307 | * emulparams/avr4433.sh New file. |
| 4308 | * emulparams/avr44x4.sh New file. |
| 4309 | * emulparams/avr85xx.sh New file. |
| 4310 | * emulparams/avrmega103.sh New file. |
| 4311 | * emulparams/avrmega161.sh New file. |
| 4312 | * emulparams/avrmega603.sh New file. |
| 4313 | * Makefile.in: Regenerate. |
| 4314 | |
| 4315 | 2000-03-09 Andreas Jaeger <aj@suse.de> |
| 4316 | |
| 4317 | * Makefile.am (check-DEJAGNU): Also unset LANG. |
| 4318 | * Makefile.in: Rebuild. |
| 4319 | |
| 4320 | 2000-03-06 Ian Lance Taylor <ian@zembu.com> |
| 4321 | |
| 4322 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty |
| 4323 | archive. |
| 4324 | |
| 4325 | 2000-03-02 H.J. Lu <hjl@gnu.org> |
| 4326 | |
| 4327 | * emulparams/elf32mcore.sh: Include "getopt.h". |
| 4328 | |
| 4329 | 2000-03-01 Ian Lance Taylor <ian@zembu.com> |
| 4330 | |
| 4331 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. |
| 4332 | |
| 4333 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
| 4334 | |
| 4335 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. |
| 4336 | * emulparams/shpe.sh: Likewise. |
| 4337 | |
| 4338 | 2000-03-01 Nick Clifton <nickc@cygnus.com> |
| 4339 | |
| 4340 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED |
| 4341 | to unused parameters. |
| 4342 | |
| 4343 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static |
| 4344 | functions only used by DLL code. |
| 4345 | (_place_orphan): Initialise 'dollar'. |
| 4346 | |
| 4347 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
| 4348 | |
| 4349 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to |
| 4350 | indicate if the undefined symbol is a fatal error or not. |
| 4351 | Don't delete the output file if "fatal" is false. |
| 4352 | |
| 4353 | 2000-02-29 H.J. Lu <hjl@gnu.org> |
| 4354 | |
| 4355 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
| 4356 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
| 4357 | sort which expects the C locale. |
| 4358 | Add $(LIBS) to all $(HOSTING_LIBS). |
| 4359 | * Makefile.in: Rebuild. |
| 4360 | |
| 4361 | 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> |
| 4362 | |
| 4363 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, |
| 4364 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, |
| 4365 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} |
| 4366 | (ld_emulation_xfer_struct): Add missing NULL initialiser for |
| 4367 | find_potential_libraries. |
| 4368 | |
| 4369 | 2000-02-28 Jim Blandy <jimb@redhat.com> |
| 4370 | |
| 4371 | * ldgram.y (exclude_name_list): Don't require a comma to separate |
| 4372 | list entries; the lexer considers commas to be valid part of a |
| 4373 | filename, so in something like `foo, bar' the comma is considered |
| 4374 | part of the first filename, `foo,'. |
| 4375 | * ld.texinfo: Update section on EXCLUDE_FILE lists. |
| 4376 | |
| 4377 | 2000-02-27 Loren J. Rittle <ljrittle@acm.org> |
| 4378 | |
| 4379 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
| 4380 | host "i[3456]86-*-freebsdelf*". |
| 4381 | |
| 4382 | 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> |
| 4383 | |
| 4384 | * scripttempl/i386go32.sc: Move misplaced semicolons. |
| 4385 | |
| 4386 | 2000-02-25 Ian Lance Taylor <ian@zembu.com> |
| 4387 | |
| 4388 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. |
| 4389 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. |
| 4390 | (eelf64hppa.c, ehppaelf.c): Remove targets. |
| 4391 | * Makefile.in: Rebuild. |
| 4392 | |
| 4393 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
| 4394 | |
| 4395 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
| 4396 | GNU/Linux/sparc, but keep the default as 32. |
| 4397 | |
| 4398 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
| 4399 | it default if sparcv9 or sparc64. |
| 4400 | |
| 4401 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
| 4402 | |
| 4403 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. |
| 4404 | * Makefile.in: Regenerate. |
| 4405 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. |
| 4406 | |
| 4407 | * ldemul.h (ld_emulation_xfer_struct): Add new field: |
| 4408 | find_potential_libraries. |
| 4409 | * ldemul.c (ldemul_find_potential_libraries): New function. |
| 4410 | |
| 4411 | * ldfile.c (ldfile_open_file_search): Allow function to be |
| 4412 | exported. |
| 4413 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
| 4414 | * ldfile.h: Add prototype for ldfile_open_file_search. |
| 4415 | |
| 4416 | * pe-dll.c: Add support for ARM, MIPS and SH targets. |
| 4417 | |
| 4418 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. |
| 4419 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. |
| 4420 | |
| 4421 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. |
| 4422 | (gld_X_find_potential_libraries): New function. Search for |
| 4423 | libraries called "*.lib". |
| 4424 | |
| 4425 | * scripttempl/pe.sc: Add .pdata section. |
| 4426 | |
| 4427 | 2000-02-23 Richard Henderson <rth@cygnus.com> |
| 4428 | |
| 4429 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. |
| 4430 | Add and use memory regions. |
| 4431 | |
| 4432 | 2000-02-23 Linas Vepstas (linas@linas.org) |
| 4433 | |
| 4434 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. |
| 4435 | |
| 4436 | * Makefile.am: Add support for Linux/IBM 370. |
| 4437 | * configure.tgt: Likewise. |
| 4438 | |
| 4439 | * Makefile.in: Regenerate. |
| 4440 | |
| 4441 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
| 4442 | |
| 4443 | * ldlang.c (print_input_section, print_data_statement, |
| 4444 | print_reloc_statement, print_padding_statement, insert_pad, |
| 4445 | size_input_section, lang_check_section_addresses, |
| 4446 | lang_size_sections, lang_do_assignments, lang_set_startof, |
| 4447 | lang_one_common): Change `opb' to unsigned. |
| 4448 | (lang_do_assignments): Also change `size' to unsigned. |
| 4449 | |
| 4450 | 2000-02-16 Richard Henderson <rth@cygnus.com> |
| 4451 | |
| 4452 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. |
| 4453 | |
| 4454 | 2000-02-16 Timothy Wall <twall@cygnus.com> |
| 4455 | |
| 4456 | * mri.c (mri_draw_tree): Add default LMA region argument to call |
| 4457 | to lang_leave_output_section_statement. |
| 4458 | * ldlang.h: Update prototypes with LMA region arguments. |
| 4459 | * ldlang.c (lang_size_sections): Encapsulate region bounds |
| 4460 | checking in os_check_region call. |
| 4461 | (os_check_region): New function. |
| 4462 | (lang_output_section_statement_lookup): Initialize lma_region. |
| 4463 | (lang_leave_output_section_statement): Add LMA region argument. |
| 4464 | (lang_leave_overlay): Ditto. |
| 4465 | * ldgram.y: Handle LMA region syntax. |
| 4466 | * ld.texinfo (Output Section Description): Describe LMA region usage. |
| 4467 | * emultempl/armelf.em (gld$place_orphan): Add default value for |
| 4468 | lma region in call to lang_leave_output_section_statement. |
| 4469 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
| 4470 | lma region in call to lang_leave_output_section_statement. |
| 4471 | * emultempl/pe.em (gld$place_orphan): Add default value for |
| 4472 | lma region in call to lang_leave_output_section_statement. |
| 4473 | |
| 4474 | |
| 4475 | 2000-02-04 Timothy Wall <twall@redhat.com> |
| 4476 | |
| 4477 | * ldlang.c (lang_check_section_addresses): Use bytes instead of |
| 4478 | octets when calculating section end addresses. |
| 4479 | |
| 4480 | 2000-02-04 Timothy Wall <twall@redhat.com> |
| 4481 | |
| 4482 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. |
| 4483 | |
| 4484 | 2000-02-03 Timothy Wall <twall@redhat.com> |
| 4485 | |
| 4486 | * ldexp.c (fold_name): Make SIZEOF operator return byte count, not |
| 4487 | octet count. |
| 4488 | * ldlang.c (print_input_section, print_data_statement, |
| 4489 | print_reloc_statement, print_padding_statement): Print target |
| 4490 | address values and section sizes as bytes, not octets. |
| 4491 | (insert_pad) Calculate padding size in octets, and adjust "dot" |
| 4492 | by bytes. |
| 4493 | (size_input_section) Always adjust "dot" by bytes, not octets. |
| 4494 | (lang_check_section_addresses, lang_do_assignments) Adjust |
| 4495 | "dot" by bytes, not octets. Use the larger of the directive size |
| 4496 | or octets_per_byte for the number of octets actually allocated in |
| 4497 | the output section. |
| 4498 | (lang_set_startof) Make sure STARTOF returns a target address. |
| 4499 | (lang_one_common) Record size changes in octets. |
| 4500 | (lang_abs_symbol_at_end_of) Section end symbol's value is |
| 4501 | recorded in target bytes. |
| 4502 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. |
| 4503 | to be clear about behavior when an octet is smaller than one byte. |
| 4504 | |
| 4505 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
| 4506 | |
| 4507 | * ldcref.c (output_cref): Don't pass message strings to printf |
| 4508 | as format arg. |
| 4509 | Update copyright. |
| 4510 | |
| 4511 | * ldmisc.c (vfinfo): Same here. |
| 4512 | Update copyright. |
| 4513 | |
| 4514 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
| 4515 | |
| 4516 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, |
| 4517 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, |
| 4518 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): |
| 4519 | Add missing NULL initialisers, and comments. |
| 4520 | |
| 4521 | * testsuite/ld-srec/sr3.cc (__rethrow): New. |
| 4522 | |
| 4523 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
| 4524 | |
| 4525 | * ldlang.c (lang_size_sections): Fix typo in comment. |
| 4526 | |
| 4527 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
| 4528 | |
| 4529 | * ldlang.c (lang_size_sections): Also update the current |
| 4530 | address of a region if the SEC_NEVER_LOAD bit is not set. |
| 4531 | |
| 4532 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
| 4533 | |
| 4534 | * configure.tgt (arm*-*-conix*): New target. |
| 4535 | |
| 4536 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
| 4537 | |
| 4538 | * ld.texinfo (Options): Remind users to preceed linker command |
| 4539 | line switches with -Wl, (or whatever is appropriate) if it is |
| 4540 | being invoked by a comnpiler driver program. |
| 4541 | Fix description of the behaviour of the -n command line switch. |
| 4542 | |
| 4543 | 2000-01-05 Catherine Moore <clm@cygnus.com> |
| 4544 | |
| 4545 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. |
| 4546 | (name_list): New. |
| 4547 | * ld.texinfo (EXCLUDE_FILE): Update documentation. |
| 4548 | * ldgram.y (wildcard_spec): Support a list of excluded_files. |
| 4549 | (exclude_name_list): New. |
| 4550 | ldlang.c (walk_wild_section): Support list of excluded files. |
| 4551 | (print_wild_statement): Likewise. |
| 4552 | (lang_add_wild): Likewise. |
| 4553 | * ldlang.h (lang_wild_statement_type): Likewise. |
| 4554 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. |
| 4555 | |
| 4556 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
| 4557 | |
| 4558 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
| 4559 | (process_def_file): Use. |
| 4560 | (pe_dll_compat_implib): New variable. |
| 4561 | (make_one): Use. |
| 4562 | |
| 4563 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
| 4564 | pe_dll_compat_implib. |
| 4565 | |
| 4566 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and |
| 4567 | compat-implib options. |
| 4568 | (gld_${EMULATION_NAME}_list_options): List new options. |
| 4569 | (gld_${EMULATION_NAME}_parse_args): Handle. |
| 4570 | |
| 4571 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
| 4572 | dll. |
| 4573 | |
| 4574 | * deffilep.y (opt_name): Allow "." in name. |
| 4575 | |
| 4576 | For older changes see ChangeLog-9899 |
| 4577 | \f |
| 4578 | Local Variables: |
| 4579 | mode: change-log |
| 4580 | left-margin: 8 |
| 4581 | fill-column: 74 |
| 4582 | version-control: never |
| 4583 | End: |