aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2003-09-10 * ld-elf/merge2.s: New.Alan Modra3-0/+78
* ld-elf/merge2.d: New.
2003-09-03Add *kfreebsd-gnu configuration supportNick Clifton3-9/+21
2003-08-29 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.Alan Modra2-0/+5
2003-08-21Updated translationsNick Clifton2-409/+489
2003-08-20Better handking for unresolved symbolsNick Clifton6-123/+272
2003-08-16 * ld-mmix/bpo-9.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d: Adjust forHans-Peter Nilsson4-3/+5
recent objdump "Contents of ..." change.
2003-08-15* Makefile.am (GENSCRIPTS_EXTRA): New script definition which callsNick Clifton52-943/+1452
genscripts_extra.sh. Rearrange all msp430 depends using this script. * Makefile.in: Regenerate. * genscripts_extra.sh: New file: Similar to genscripts.sh, except that the script to be run to generate the emulations can be passed as an optional parameter instead of being computed from the emulation name. * emulparams/msp430all.sh: New file: Combine all msp430 subdevice definitions into one file. * emulparams/msp430x*.sh: Removed.
2003-08-15Put the keywords for the -z option into a table.Nick Clifton2-23/+66
Add more text describing what the -z now option does.
2003-08-14 * dep-in.sed: Remove libintl.h.Alan Modra4-5/+12
* Makefile.am (POTFILES.in): Unset LC_COLLATE. * Makefile.in: Regenerate.
2003-08-13 * genscripts.sh (libpath.exp): Only generate for first emulation.Alan Modra2-12/+26
(LIB_PATH): Correct order of paths. Don't add $tool_lib when already present or when LIB_PATH is set to ":".
2003-08-12 * ldmain.c (undefined_symbol): Change parameter name from `fatal'Ian Lance Taylor2-13/+39
to `error'. If only a warning, put warning in the reported string. Consistently set failure flag when not a warning.
2003-08-08Add MSP430 variantsNick Clifton10-149/+308
2003-08-07 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Danny Smith2-4/+10
Change second (cmdline) arg to lang_add_entry to FALSE. (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
2003-08-062003-08-04 Christian Groessler <chris@groessler.org>Jason Eckhardt6-0/+66
Jason Eckhardt <jle@rice.edu> * configure.tgt: Recognize new target i860-*-coff. * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. (ecoff_i860.c): New rule. * emulparams/coff_i860.sh: New file. * scripttempl/i860coff.sc: New file. * Makefile.in: Regenerate.
2003-08-04Prefix .gnu.warning section messages with "warning: ".Nick Clifton2-3/+13
2003-08-04 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. PutAlan Modra2-11/+33
.rel.dyn before other reloc sections. Don't stop looking for reloc sections on finding one that isn't allocated. Match .rel even when placing .rela and vice versa, when setting last_rel and last_rel_alloc for the first time. If no reloc sections in script, prefer allocated section over non-alloc. (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
2003-08-02 * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.Kaz Kojima4-0/+42
* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.
2003-08-02Adjust for objdump -d change.Alan Modra10-10/+12
2003-07-30 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stackKaz Kojima4-6/+20
section for shared library. * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-29 * scripttempl/elfm68hc12.sc: Add gcc_except_table.Stephane Carrez3-0/+15
* scripttempl/elfm68hc11.sc: Likewise.
2003-07-29 * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .tocJakub Jelinek2-0/+8
sections. --- ld/testsuite/ld-elfvsb/elf-offset.ld.jj 2003-05-19 17:12:47.000000000 -0400 +++ ld/testsuite/ld-elfvsb/elf-offset.ld 2003-07-29 05:39:34.000000000 -0400 @@ -46,6 +46,8 @@ SECTIONS } .rel.got : { *(.rel.got) } .rela.got : { *(.rela.got) } + .rel.toc : { *(.rel.toc) } + .rela.toc : { *(.rela.toc) } .rel.ctors : { *(.rel.ctors) } .rela.ctors : { *(.rela.ctors) } .rel.dtors : { *(.rel.dtors) } @@ -111,6 +113,7 @@ SECTIONS KEEP (*(.dtors)) } .got : { *(.got.plt) *(.got) } + .toc : { *(.toc) } .dynamic : { *(.dynamic) } /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so
2003-07-29 * ld-powerpc/tlsso.r: Update.Alan Modra3-4/+9
* ld-powerpc/tlstocso.r: Update.
2003-07-29Update expected output regexps to include .eh_frame section.Nick Clifton10-321/+340
2003-07-28 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.Alan Modra2-3/+11
2003-07-28 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.Alan Modra2-1/+6
2003-07-27 * ld.texinfo: Typo fixes. Document SUBALIGN.Alan Modra6-16/+51
* ldgram.y (opt_subalign): Add. * ldlex.l (SUBALIGN): Recognize. * ldlang.c (overlay_subalign): New var. (lang_enter_overlay): Add subalign param. (lang_enter_overlay_section): Pass overlay_subalign to lang_enter_output_section_statement. * ldlang.h (lang_enter_overlay): Update.
2003-07-26Update tests for corrected section attributes and objdump change.Alan Modra3-0/+13
2003-07-252003-07-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-4/+11
* ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.r: Likewise.
2003-07-24Updated French translationsNick Clifton2-405/+485
2003-07-23 * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z softStephane Carrez2-1/+6
register.
2003-07-23 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take intoStephane Carrez3-30/+14
account .tramp sections; * scripttempl/elfm68hc12.sc: Likewise.
2003-07-222003-07-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+15
* ld-selective/selective.exp: Skip "ia64-*-*". * ld-srec/srec.exp: Make xfail on "ia64-*-*".
2003-07-17Add libcygwin to the lib autofiler listNick Clifton2-0/+5
2003-07-17Update translationsNick Clifton3-409/+489
2003-07-11bfd/Richard Sandiford5-0/+103
* bfd-in.h (bfd_h8300_pad_address): Declare. * bfd-in2.h: Regenerate. * cpu-h8300.c (bfd_h8300_pad_address): New function. * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize addresses before checking whether they can be relaxed. (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check. Don't complain about overflows in general 8-bit relocations. * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address. Fix handling of R_H8_DIR24A8. ld/testsuite/ * ld-h8300/relax-3{.s,.d,-coff.d}: New test. * ld-h8300/h8300.exp: Run it.
2003-07-11Update pot files.Alan Modra2-406/+494
2003-07-10bfd ChangeLog:Bob Wilson2-9/+18
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new .got.loc section. Do not set SEC_ALLOC or SEC_LOAD flags for the .xt.lit.plt section. (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section and allocate memory for it. (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output section to the .got.loc section. (elf_xtensa_finish_dynamic_sections): Fix up call to elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to the address of .got.loc. (relax_property_section): Shrink .got.loc to match changes in any literal table section. (xtensa_is_property_section): Change to match xtensa_get_property_section_name. (xtensa_is_littable_section): New. ld ChangeLog: * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit with new .got.loc section. (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for non-relocating links. (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce sections separate for non-relocating links; likewise for .xt.insn.
2003-07-102001-08-22 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva6-0/+34
* emulparams/elf32am33lin.sh: Adjust to match kernel parameters. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * configure.host (am33_2.0-*-linux*): Added. * configure.tgt (am33_2.0-*-linux*): Likewise. * emulparams/elf32am33lin.sh: New. * Makefile.am (eelf32am33lin.c): New rule. * Makefile.in: Rebuilt.
2003-07-102001-04-17 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva2-0/+8
* emulparams/mn10300.sh (TEMPLATE_NAME): Define. (GENERATE_SHLIB_SCRIPT): Likewise.
2003-07-10 * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc.Alan Modra7-169/+175
* ld-powerpc/tlsexetoc.g: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlstoc.g: Update. * ld-powerpc/tlstocso.g: Update. * ld-powerpc/tlstocso.r: Update.
2003-07-10 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.Alan Modra4-6/+20
(GOT): Define. * emultempl/ppc64elf.em (stub_added): New static var. (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. (ppc_add_stub_section): Set stub_added. (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust ppc64_elf_size_stubs call and test for stubs. * scripttempl/elf.sc (GOT): Define and use.
2003-07-08 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):Joern Rennecke2-1/+13
Allow second call from ldemul_finish.
2003-07-04Allow to override sh64 initial stack value with --defsym:Joern Rennecke3-4/+28
* emulparams/shelf32.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Include .stack. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-04bfd/Jakub Jelinek3-5/+19
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec. (elfNN_ia64_dynamic_symbol_p): Change info->shared into !info->executable. (get_fptr): For -pie create .opd as writable section and create .rela.opd as well. (elfNN_ia64_check_relocs): Change info->shared into !info->executable. (allocate_fptr): Likewise. (allocate_dynrel_entries): Account for a relative reloc for -pie @fptr(). Don't account for a relative reloc if -pie want_ltoff_fptr for undefweak symbol. Account for an IPLT reloc in .rela.opd section if -pie. (set_got_entry): Don't create a relative reloc if -pie want_ltoff_fptr for undefweak symbol. (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie. (elfNN_ia64_relocate_section): Emit a relative reloc for -pie @fptr(). * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol even if -pie. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. ld/ * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include .opd if -pie. (OTHER_READWRITE_SECTIONS): Include .opd if -pie. * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR if -pie.
2003-07-04* elf32-h8300.c (R_H8_DIR32A16): Fix name field.Nick Clifton5-9/+35
(elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation. <R_H8_DIR32A16>: Fix type of relocation. * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d unconditionally. Run relax-2.d for *-elf targets. * ld-h8300/relax.d: Fix typo. * ld-h8300/relax.s: Add 0x prefixes. * ld-h8300/relad-2.[sd]: New test.
2003-06-28 * ld-mips-elf/mips-elf.exp: Use is_elf_format.Thiemo Seufer2-53/+53
2003-06-28 * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6.Thiemo Seufer2-1/+5
2003-06-28Convert to C90Alan Modra35-2223/+1501
2003-06-27Cope with NUL seperated directives. Fix reporting of unparseable directives.Nick Clifton2-9/+30
2003-06-27 * emultempl/aix.em: Convert to C90, remove unnecessary prototypesAlan Modra32-1180/+680
and casts. Replace PTR with void *. Formatting. * emultempl/alphaelf.em: Likewise * emultempl/armcoff.em: Likewise * emultempl/armelf.em: Likewise * emultempl/armelf_oabi.em: Likewise * emultempl/beos.em: Likewise * emultempl/elf32.em: Likewise * emultempl/generic.em: Likewise * emultempl/gld960.em: Likewise * emultempl/gld960c.em: Likewise * emultempl/hppaelf.em: Likewise * emultempl/linux.em: Likewise * emultempl/lnk960.em: Likewise * emultempl/m68hc1xelf.em: Likewise * emultempl/m68kcoff.em: Likewise * emultempl/m68kelf.em: Likewise * emultempl/mipsecoff.em: Likewise * emultempl/mipself.em: Likewise * emultempl/mmix-elfnmmo.em: Likewise * emultempl/mmixelf.em: Likewise * emultempl/mmo.em: Likewise * emultempl/needrelax.em: Likewise * emultempl/netbsd.em: Likewise * emultempl/pe.em: Likewise * emultempl/sh64elf.em: Likewise * emultempl/sunos.em: Likewise * emultempl/ticoff.em: Likewise * emultempl/vanilla.em: Likewise * emultempl/xtensaelf.em: Likewise * Makefile.am: Correct dependencies. * Makefile.in: Regenerate.