aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2004-01-28 * genscripts.sh: Fix typo.Alan Modra2-6/+8
2004-01-28 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.Alan Modra2-4/+18
2004-01-24 * emulparams/elf64_ia64.sh: Put .rela.opd intoJakub Jelinek2-1/+6
OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2004-01-23 * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,Daniel Jacobowitz5-0/+62
ld-arm/arm-app-abs32.d: New files. * ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.
2004-01-20 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.Danny Smith3-4/+20
* ld.texinfo (--omagic): Note that writable text section does not conform to published PE-COFF specs. (--enable-auto-import): Likewise.
2004-01-18 * ld-i386/tlsbin.dd: Adjust for changed sib printing.Alan Modra2-2/+6
2004-01-15 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.Alan Modra2-0/+5
2004-01-13 * ld-arm/arm-elf.exp: Add arm-static-app test.Daniel Jacobowitz5-0/+56
* ld-arm/arm-static-app.s, ld-arm/arm-static-app.d, ld-arm/arm-static-app.r: New files.
2004-01-13* ldlang.c (lang_get_regions): Add extra parameter 'have_vma' which if true willNick Clifton4-85/+135
prevent the LMA region being used as a replacement for a default VMA region. (lang_leave_output_section_statement): Pass extra parameter. (lang_leave_overlay): Likewise. * ld.texinfo (Output Section LMA): Document that the LMA region can be set to the VMA region if no VMA has been set. * ldlang.h (struct lang_output_section_phdr_list): Create a typedef for this type. Minor formatting fixes.
2004-01-13If dot is advanced, then assume that the section should be allocated.Nick Clifton2-0/+11
2004-01-12Add support for relaxation of bit manipulation instructions.Nick Clifton5-1/+187
2004-01-12 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOADAlan Modra2-4/+8
sections. Do ignore SEC_NEVER_LOAD sections. (lang_size_sections_1): Remove test made redundant with the above.
2004-01-092004-01-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+10
* ld-selective/selective.exp: Skip ia64-*-*.
2004-01-09 * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32Daniel Jacobowitz3-2/+18
changes.
2004-01-09 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cachedAlan Modra2-0/+8
program_header_size.
2004-01-06 * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s,Daniel Jacobowitz11-0/+222
ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-lib.s, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, ld-arm/arm-lib-plt32.s, ld-arm/arm-elf.exp: New files.
2004-01-062003-11-28 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva6-1/+53
* emulparams/elf32frvfd.sh (EMBEDDED): Clear. 2003-11-05 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. (MAXPAGESIZE): Set to 64Kb. (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and __ROFIXUP_END__. Don't map .rofixup.got any more. * emulparams/elf32frv.sh (NOP): Set. 2003-10-31 Alexandre Oliva <aoliva@redhat.com> * configure.tgt: Add frv-*-*linux*. 2003-09-30 Alexandre Oliva <aoliva@redhat.com> * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. (eelf32frvfd.c): New. * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. * emulparams/elf32frv.sh: Reverted previous two patches. * emulparams/elf32frvfd.sh: New. * Makefile.in: Rebuilt. 2003-09-18 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added .rofixup.got to .rofixup. 2003-09-15 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2004-01-06* ld-frv: Update .d files with correct addresses displayed forAlexandre Oliva40-0/+2090
dynamic relocations. 2003-12-02 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic1.s (.D0): Move to separate data section. 2003-11-28 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, * ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Update to reflect EMBEDDED= change in linker script. 2003-11-27 Alexandre Oliva <aoliva@redhat.com> * ld-frv: Update .d files to reflect changes in the page size, the addition of a stack segment, the use of a NULL function descriptor for weakundef functions and the change in the lazy funcdesc_value in-place addend value. 2003-11-05 Alexandre Oliva <aoliva@redhat.com> * lib/ld-lib.exp (is_elf_format): Match frv-uclinux. 2003-10-06 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Addresses are now _gp-based, not .rofixup-based. * ld-frv/fdpic-static-6.d: Likewise. Match warning about relocation to different section. 2003-09-30 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic.exp: Add -melf32frvfd to LDFLAGS. 2003-09-19 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic7.s, ld-frv/fdpic-static-7.d, ld-frv/fdpic-pie-7.d, ld-frv/fdpic-shared-7.d: New. * ld-frv/fdpic8.s, ld-frv/fdpic-static-8.d, ld-frv/fdpic-pie-8.d, ld-frv/fdpic-shared-8.d: New. * ld-frv/fdpic-pie-8-fail.d, ld-frv/fdpic-shared-8-fail.d: New. * ld-frv/fdpic.exp: Run them. * ld-frv/fdpic8.ldv, ld-frv/fdpic8min.ldv: New. 2003-09-18 Alexandre Oliva <aoliva@redhat.com> * ld-frv/fdpic5.s, ld-frv/fdpic-static-5.d, ld-frv/fdpic-pie-5.d, ld-frv/fdpic-shared-5.d: New. * ld-frv/fdpic6.s, ld-frv/fdpic-static-6.d, ld-frv/fdpic-pie-6.d, ld-frv/fdpic-shared-6.d: New. * ld-frv/fdpic.exp: Run them. * ld-frv/fdpic*.d: Add -mfdpic to assembler flags. Updated. * ld-frv/fdpic2min.ldv: New, used by fdpic-shared-2.d. * ld-frv/fdpic-shared-2-fail.d: New. * ld-frv/fdpic.exp: Run it. * ld-frv/fdpic4.s, ld-frv/fdpic-shared-4.d: New. * ld-frv/fdpic.exp: Add new test. * ld-frv/fdpic-pie-2.d: Remove unnecessary function descriptors. * ld-frv/fdpic-shared-local-2.d, ld-frv/fdpic2.ldv: New. * ld-frv/fdpic3.s, ld-frv/fdpic-shared-3.d: New. * ld-frv/fdpic.exp: Add new tests. * ld-frv/fdpic.exp, ld-frv/fdpic1.s, ld-frv/fdpic2.s, * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, * ld-frv/fdpic-pie-1.d, ld-frv/fdpic-pie-2.d, * ld-frv/fdpic-shared-1.d, ld-frv/fdpic-shared-2.d: Renamed from ucpic. 2003-09-15 Alexandre Oliva <aoliva@redhat.com> * ld-frv/ucpic.exp, ld-frv/ucpic1.s, ld-frv/ucpic2.s: New. * ld-frv/ucpic-static-1.d, ld-frv/ucpic-static-2.d: New. * ld-frv/ucpic-pie-1.d, ld-frv/ucpic-pie-2.d: New. * ld-frv/ucpic-shared-1.d, ld-frv/ucpic-shared-2.d: New.
2004-01-05 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.Jakub Jelinek3-0/+7
* emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2004-01-03typo fixAlan Modra1-4/+4
2004-01-03 * ldexp.c (align_n): Make static.Alan Modra10-85/+115
* ldexp.h (align_n): Delete declaration. * ldlang.h (lang_enter_output_section_statement): Remove block_value param. * ldlang.c (lang_enter_output_section_statement): Likewise. (TO_ADDR, TO_SIZE): Define. (opb): New var. (init_opb): New function. (print_input_section): Call init_opb and use TO_ADDR. (print_data_statement, print_reloc_statement): Likewise. (print_padding_statement): Likewise. (size_input_section): Use TO_SIZE and TO_ADDR, and global opb. (lang_check_section_addresses): Likewise. (lang_size_sections_1): Likewise. (lang_do_assignments_1): Likewise. (lang_set_startof): Likewise. (lang_one_common): Likewise. Combine power_of_two and opb alignment. (lang_process): Call init_opb. (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb. (lang_enter_overlay_section): Adjust lang_enter_output_section_statement call. * ldgram.y: Likewise. * mri.c (mri_draw_tree): Likewise. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2004-01-03 * ldfile.c (ldfile_set_output_arch): Add defarch param.Alan Modra18-109/+74
* ldfile.h (ldfile_set_output_arch): Ditto. * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use ldfile_set_output_arch. * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. * ldgram.y: Adjust ldfile_set_output_arch call. * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/gld960c.em (gld960_set_output_arch): Ditto. * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2004-01-02Add m68k-uclinux targetNick Clifton2-0/+4
2004-01-02Split ChangeLog files.Alan Modra5-10309/+8406
2004-01-02 * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets.Alan Modra3-44/+16
* ld-selective/selective.exp: Likewise.
2003-12-30 * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCCMark Mitchell2-1/+6
3.4 does not support it.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton8-4/+62
2003-12-18When scanning MS import libraries allow for the possible presence of staticNick Clifton2-6/+51
objects.
2003-12-18 * ld-mips-elf/reloc-1[ab].s: New source files.Richard Sandiford16-0/+1807
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. * ld-mips-elf/reloc-2[ab].s: New source files. * ld-mips-elf/reloc-2.{d,ld}: New test. * ld-mips-elf/reloc-3[ab].s: New source files. * ld-mips-elf/reloc-3-{r,srec}.d: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2003-12-16Fix typo.Michael Snyder1-1/+1
2003-12-082003-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to cplus_demangle.
2003-12-07 * ldemul.c: Convert to ISO-C.Kazu Hirata3-66/+42
* ldver.c: Likewise.
2003-12-07 * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".Richard Sandiford3-2/+7
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2003-12-07 * lexsup.c (is_num): Remove.Kazu Hirata2-23/+4
2003-12-05Fixes for use of ARM_26D reloc in arm-wince toolchain.Nick Clifton2-1/+11
2003-12-04bfd/H.J. Lu4-3/+13
2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * elfxx-ia64.c (elfNN_ia64_relax_section): Use the need_relax_finalize field in link_info instead of relax_finalizing to check if the relax finalize pass is being done. include/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Change relax_finalizing to need_relax_finalize. ld/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set link_info.need_relax_finalize to TRUE. * ldlang.c (lang_process): Use link_info.need_relax_finalize instead of link_info.relax_finalizing. * ldmain.c (main): Likewise.
2003-12-04Define RELOCATEABLE_OUTPUT_FORMATNick Clifton2-0/+8
2003-12-04 * ldlang.c (lang_do_assignments): Function return is void.Alan Modra6-4/+17
* ldlang.h (lang_do_assignments): Ditto. * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. * Makefile.am (ens32knbsd.c): Depend on netbsd.em. * Makefile.in: Regenerate.
2003-12-03Add vax-linux-gnu targetNick Clifton2-0/+5
2003-12-03(HEAP_SECTION_MSP430): New section for forthcoming devices.Nick Clifton2-1/+30
(_etext): provide this defenition for all scripts.
2003-12-03 * emultempl/beos.em: Remove ARGSUSED.Kazu Hirata2-1/+4
2003-12-02Rename bfd_link_hash_entry field "next" -> "und_next".Alan Modra3-4/+12
2003-12-02Update docs to reflect fact the --undefined-symbols==ignore-all is no longerNick Clifton2-6/+8
the default for shared libraries and dynamic executables.
2003-12-02make "dep-am"Alan Modra3-9/+18
2003-12-02 * ldmain.c (main): Remove mpc860c0 code.Alan Modra3-23/+8
* lexsup.c (enum option_values): Delete OPTION_MPC860C0. (ld_options): Delete mpc860c0 entry. (parse_args): Likewise.
2003-12-01 * ld-sh/sh64/shmix-1.s: Add align to match data alignment.Kaz Kojima9-24/+37
* ld-sh/sh64/shmix-3.s: Likewise. * ld-sh/sh64/mix1.sd: Update. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix1-noexp.sd: Likewise. * ld-sh/sh64/mix2.sd: Likewise. * ld-sh/sh64/mix2.xd: Likewise. * ld-sh/sh64/mix2-noexp.sd: Likewise.
2003-12-01Update for changed section alignment.Alan Modra10-13/+25
2003-12-01 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): TestAlan Modra3-3/+18
hash table type rather than testing creator flavour. * emultempl/hppaelf.em (hppaelf_create_output_section_statements): Only create stub_file bfd if hash table creator is as expected. (gld${EMULATION_NAME}_finish): Test stub_file.
2003-11-28Fix building for FreeBSDNick Clifton2-0/+7
2003-11-19 * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.Alan Modra3-9/+14
* ld-powerpc/tlsso32.d: Likewise.