aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2002-03-27 * configure.host: Set up for generic hosts first, then tweak asAlan Modra2-78/+73
necessary in more specific targets. (HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-23 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.Andreas Jaeger2-1/+6
2002-03-21 * Makefile.am: Run "make dep-am".Alan Modra3-11/+18
* Makefile.in: Regenerate.
2002-03-21 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.Alan Modra2-1/+5
2002-03-20 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,Alan Modra2-12/+36
add the symbol to the linker hash table immediately. (lang_place_undefineds): Split symbol creation out.. (insert_undefined): ..to here.
2002-03-19 * ld-cris/ldsym1.d: New test.Hans-Peter Nilsson2-0/+21
2002-03-19 * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols noHans-Peter Nilsson39-150/+99
longer set to object. * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d, ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d, ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d, ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d, ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d, ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d, ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d, ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d, ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d, ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d, ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
2002-03-192002-03-18 David O'Brien <obrien@FreeBSD.org>David O'Brien2-7/+10
* emultempl/elf32.em: Use lbasename vs. basename to fix problem where the contents of the buffer returned from basename function will are getting overwritten while still being used. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020318032031.GD1089@bubble.sa.bigpond.net.au>
2002-03-18 * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"Jan Hubicka3-2/+43
* configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. * elf_x86_64.sh (ARCH): Set to i386:x86-64 set libraries to default to lib64 paths.
2002-03-18Add AIX 64 shared library support and emulation layer for binutilsNick Clifton11-229/+277
2002-03-18Updated French translationsNick Clifton2-48/+52
2002-03-18 * ldmain.c (main): Move .text readonly flag fudges from here..Alan Modra3-14/+21
* ldlang.c (lang_process): ..to here.
2002-03-14 * ldlang.c (lang_check): Remove the word size check added in lastAlan Modra2-4/+7
change. Treat emitrelocations case as for relocatable links.
2002-03-13Updated French translationsNick Clifton2-68/+105
2002-03-13 * ldlang.c (lang_check): Do relocatable link checks first, so thatAlan Modra2-14/+26
warn_mismatch can't override. Check compatible and word size too.
2002-03-11 * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 thatAndreas Jaeger3-10/+16
places zero initialized data in the bss. * ld-elfweak/dsodata.dsym: Likewise.
2002-03-082002-03-07 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+6
* ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2002-03-07 * ld-cris/expdyn1.d: Tweak for change in elf.sc.Hans-Peter Nilsson2-1/+5
2002-03-05 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together withJakub Jelinek2-2/+11
DATA_SEGMENT_ALIGN.
2002-03-042002-03-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-17/+22
* scripttempl/elf.sc: Put .preinit_array, .init_array and .fini_array in the data segment.
2002-03-04 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.Alan Modra2-2/+6
2002-03-02 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,Richard Henderson2-1/+23
.init_array, and .fini_array.
2002-02-24 * ld-sh/ld-r-1.d: Adjust to changes in readelf output.Hans-Peter Nilsson7-350/+356
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd, ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
2002-02-20 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't foldAndreas Schwab2-2/+7
.IA64_unwind* in a relocatable link.
2002-02-20Mark 2.12 branchNick Clifton2-0/+8
2002-02-20match realityDavid O'Brien1-1/+2
2002-02-202002-02-18 David O'Brien <obrien@FreeBSD.org>David O'Brien1-0/+37
* Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, and eelf64alpha_fbsd. (left this out of last patch)
2002-02-192002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky3-2/+7
* emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2002-02-19Add support for -brtl, run time linking, to AIX ld.Tom Rix2-18/+31
2002-02-182002-02-18 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+5
* ld-elfvsb/sh1.c: Fix typo in last change.
2002-02-18 * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.Alan Modra2-0/+5
(struct ppc_link_hash_table): Add sfpr. (ppc64_elf_link_hash_table_create): Init it. (ppc64_elf_create_dynamic_sections): Split creation of .stub and .glink out to.. (create_linkage_sections): ..here. Make .sfpr too. (ppc64_elf_check_relocs): Call create_linkage_sections, and set dynobj early. (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. (ppc64_elf_func_desc_adjust): Look for missing ._savef* and ._restf* functions, and create as needed. (func_desc_adjust): Only force_local for shared libs. * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2002-02-182002-02-18 David O'Brien <obrien@FreeBSD.org>David O'Brien11-12/+87
* Makefile.in: Add new files earmelf_fbsd, eelf32ppc_fbsd, eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, and eelf64alpha_fbsd. * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): use a FreeBSD-specific emulation rather than the psABI one. * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value for all FreeBSD ELF systems. * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI emulation. * emulparams/elf32ppc_fbsd.sh: Likewise. * emulparams/elf64_ia64_fbsd.sh: Likewise. * emulparams/elf64_sparc_fbsd.sh: Likewise. * emulparams/elf64alpha_fbsd.sh: Likewise. * emulparams/elf_i386_fbsd.sh: Likewise. * emulparams/elf_x86_64_fbsd.sh: Likewise. Approved by: Nick Clifton <nickc@cambridge.redhat.com> <m3pu33yy0b.fsf@north-pole.nickc.cambridge.redhat.com>
2002-02-18Updated translationsNick Clifton2-749/+843
2002-02-182002-02-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-5/+10
* ld-elfvsb/sh1.c: Use #pragma weak.
2002-02-182002-02-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+5
* vers.exp: Do not call diff -q.
2002-02-17 * ld.texinfo (Output Section Fill): Fix amateur texinfo.Alan Modra2-5/+10
(FILL): Likewise.
2002-02-17 * emultempl/mmo.em (mmo_after_open): Don't callHans-Peter Nilsson2-5/+18
_bfd_mmix_check_all_relocs when producing ELF output.
2002-02-17 * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbolHans-Peter Nilsson9-4/+79
output. * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
2002-02-17 * ld-mmix/bpo-22.d: New test.Hans-Peter Nilsson2-0/+30
2002-02-17 * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,Hans-Peter Nilsson2-3/+8
and .bss.
2002-02-15 * emulparams/elf64alpha.sh (NOP): Adjust for big-endianRichard Henderson2-1/+8
definition. Emit a unop+nop pair.
2002-02-15Tweak wording in comment in last changeHans-Peter Nilsson1-9/+10
2002-02-15 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also checkHans-Peter Nilsson2-1/+18
for presence of .MMIX.reg_contents.linker_allocated before early exit.
2002-02-15 * NEWS: Mention support for MMIX.Hans-Peter Nilsson2-0/+6
2002-02-15 * ld.texinfo (Output Section Fill): Describe fill expressions.Alan Modra2-5/+14
(FILL): Refer to the above.
2002-02-15 Support arbitrary length fill patterns.Alan Modra15-93/+277
* ldexp.h (etree_value_type): Add "str" field. (union etree_union): Add "str" to "value" struct. (exp_bigintop): Declare. (exp_get_fill): Declare. * ldexp.c: Include "safe-ctype.h". (exp_intop): Set value.str to NULL. (exp_bigintop): New function. (new_rel): Pass in "str", and set new.str from it. (new_rel_from_section): Set new.str to NULL. (fold_name): Adjust calls to new_rel. (exp_fold_tree): Likewise. (exp_get_fill): New function. * ldgram.y (struct big_int bigint, fill_type *fill): New. (INT): Returns a "bigint". Adjust all code handling INTs. (fill_opt): Returns a "fill". (fill_exp): Split out of fill_opt, use for FILL. * ldlang.h (struct _fill_type): New. (fill_type): Move typedef to ldexp.h. (lang_output_section_statement_type): "fill" is now a pointer. (lang_fill_statement_type): Likewise. (lang_padding_statement_type): Likewise. (lang_add_fill): Now takes a "fill_type *" param. (lang_leave_output_section_statement): Likewise. (lang_do_assignments): Likewise. (lang_size_sections): Likewise. (lang_leave_overlay_section): Likewise. (lang_leave_overlay): Likewise. * ldlang.c: Include ldgram.h after ldexp.h. (lang_output_section_statement_lookup): Adjust for fill_type change. (print_fill_statement): Likewise. (print_padding_statement): Likewise. (insert_pad): Now takes a "fill_type *" arg. (size_input_section): Likewise. (lang_size_sections_1): Likewise. (lang_size_sections): Likewise. (lang_do_assignments): Likewise. (lang_add_fill): Likewise. (lang_leave_output_section_statement): Likewise. (lang_leave_overlay_section): Likewise. (lang_leave_overlay): Likewise. Adjust all callers of the above function. * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers starting with "0X" as well as "0x". Return bigint.str for hex numbers starting with "0x" or "0X", zero bigint.str otherwise. Always use base 16 for numbers starting with "$". * ldmain.c: Include ldgram.h after ldexp.h. * ldwrite.c (build_link_order): Use bfd_data_link_order in place of bfd_fill_link_order. * pe-dll.c: Adjust lang_do_assignments calls. * emultempl/elf32.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust lang_add_assignment call. * emultempl/pe.em: Likewise.
2002-02-14 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.Alan Modra6-11/+23
* ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; the pattern in question is not a regexp. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
2002-02-12 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.Jakub Jelinek13-20/+199
* ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). * ldexp.c (exp_data_seg): New variable. (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. (fold_binary): Handle DATA_SEGMENT_ALIGN. (exp_fold_tree): Handle DATA_SEGMENT_END. Pass allocation_done when recursing instead of hardcoding lang_allocating_phase_enum. * ldexp.h (exp_data_seg): New. * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. (lang_size_sections): New. * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END if COMMONPAGESIZE is defined. * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared libraries only.
2002-02-12 * ld-selective/selective.exp: Link against libgcc onAlan Modra2-5/+16
hppa*-*-linux* targets.
2002-02-11* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.Alexandre Oliva7-245/+256
* ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s. * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications in section ordering. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crange3.dd: Likewise.