aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2002-05-07 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.Richard Sandiford4-78/+87
(lang_enter_overlay): Remove the last two parameters. (lang_leave_overlay): Take them here instead. * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. (section): Pass LMA and crossref flag to lang_leave_overlay rather than lang_enter_overlay. * ldlang.c (lang_memory_region_lookup): Return null for null names. (lang_output_section_statement_lookup): Initialize update_dot_tree. (lang_size_sections_1): Evaluate it. (lang_leave_output_section_statement): Rework LMA lookup. (overlay_lma, overlay_nocrossrefs): Remove. (lang_enter_overlay): Remove LMA and corssref arguments. (lang_enter_overlay_section): Don't set the LMA here. (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' assignment to the last section's update_dot_tree. Unconditionally use the load and run-time regions specified in the OVERLAY statement. Likewise the first section's LMA. Only set the other sections' LMAs when no load region is given.
2002-05-06New Swedish translationNick Clifton2-447/+603
2002-05-04 * emultempl/hppaelf.em (build_section_lists): New function.Alan Modra2-10/+46
(gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists and build_section_lists.
2002-05-03 * ld.h: Fix formatting.Kazu Hirata8-77/+87
* ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldmain.c: Likewise. * lexsup.c: Likewise. * pe-dll.c: Likewise.
2002-05-02 * ld-scripts/map-address.exp: Quote conditions.Richard Sandiford2-6/+10
2002-05-02 * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.Alan Modra2-4/+13
(ppc64_elf_ha_reloc): New function. (ppc64_elf_brtaken_reloc): New function. (ppc64_elf_sectoff_reloc): New function. (ppc64_elf_sectoff_ha_reloc): New function. (ppc64_elf_toc_reloc): New function. (ppc64_elf_toc_ha_reloc): New function. (ppc64_elf_toc64_reloc): New function. (ppc64_elf_unhandled_reloc): New function. (ppc64_elf_howto_raw): Use the above. <R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset. <R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask. <R_PPC64_SECTOFF_DS>: Likewise. (IS_ABSOLUTE_RELOC): Update. (struct ppc_link_hash_table): Add have_undefweak. (ppc64_elf_link_hash_table_create): Init. (func_desc_adjust): Set have_undefweak. (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only add the .sfpr blr when have_undefweak. (ppc64_elf_setup_section_lists): Check hash table flavour. (ppc64_elf_next_input_section): Move output_section->owner test to ppc64elf.em. (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param and relocatable test. Return TOCstart and don't set elf_gp. (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch offset calculation. Add assert on weak sym branch tweaks. * elf64-ppc.h (ppc64_elf_set_toc): Delete. (ppc64_elf_toc): Declare. (ppc64_elf_next_input_section): Update. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Adjust for ppc64_elf_set_toc change. #include libbfd.h. (build_section_lists): Do output_section tests here.
2002-05-01Formatting fix.Tom Rix2-2/+6
2002-05-01 Long branch stubs, multiple stub sections.Alan Modra2-26/+314
* emultempl/ppc64elf.em: Include ldctor.h. (stub_file): New var. (group_size): New var. (ppc_create_output_section_statements): New function. (struct hook_stub_info): New. (hook_in_stub): New function. (ppc_add_stub_section): New function. (ppc_layout_sections_again): New function. (build_section_lists): New function. (gld${EMULATION_NAME}_finish): Rewrite. (real_func): New var. (ppc_for_each_input_file_wrapper): New function. (ppc_lang_for_each_input_file): New function. (lang_for_each_input_file): Define. (PARSE_AND_LIST_PROLOGUE): Define. (PARSE_AND_LIST_LONGOPTS): Define. (PARSE_AND_LIST_OPTIONS): Define. (PARSE_AND_LIST_ARGS_CASES): Define. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2002-04-30Add support for AIX -blibpath and -bnolibpath.Tom Rix2-4/+27
2002-04-30 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.Mark Mitchell5-1/+39
(eelf32ppcwindiss.c): New target. * Makefile.in: Regenerated. * configure.tgt: Add support for powerpc-*-windiss. * emulparams/elf32ppcwindiss.sh: New file.
2002-04-30 * ld-scripts/map-address.exp: New test.Richard Sandiford4-0/+61
* ld-scripts/map-address.[td]: New files for it.
2002-04-30 * ldlang.c (print_assignment): Update print_dot for assignments to ".".Richard Sandiford3-21/+43
* ldexp.c (exp_print_token): Add "infix_p" argument. (exp_print_tree): Update accordingly.
2002-04-28 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.Alan Modra7-3416/+55
* Makefile.in: Regenerate. * mpw-elfmips.c: Delete. * mpw-eppcmac.c: Delete. * mpw-esh.c: Delete. * mpw-idtmips.c: Delete.
2002-04-19 * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.Richard Henderson5-0/+24
* ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Disable for alpha. * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
2002-04-17Re-enable linking for sh5:Joern Rennecke2-1/+5
ld: * emulparams/shelf32.sh (MACHINE): Now sh5. bfd: * cpu-sh.c (scan_mach): Delete. (arch_info_struct): Replace scan_mach with bfd_default_scan. (bfd_sh_arch): Likewise.
2002-04-17 * arparse.y: Fix syntax warning.Thiemo Seufer2-0/+5
* ldgram.y: Fix syntax warning.
2002-04-11Add 'n' in order to prevent "-n" from being taken as an abbreviation forNick Clifton3-1/+14
"--no-pipeline-knowledge".
2002-04-08 * ldlang.c (lang_size_sections_1): Don't complain aboutAlan Modra2-0/+5
SEC_NEVER_LOAD sections having no memory region specified.
2002-04-08 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.Alan Modra2-1/+5
2002-04-07* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.Matthew Green2-0/+11
2002-04-05 * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.Hans-Peter Nilsson4-0/+86
2002-04-04 * dep-in.sed: Cope with absolute paths.Alan Modra4-12/+28
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. Run "make dep-am". * Makefile.in: Regenerate.
2002-04-04 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.Thiemo Seufer2-1/+5
2002-04-03 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page sizeJakub Jelinek2-1/+7
is smaller than maximum, round dot up to common page boundary.
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