summaryrefslogtreecommitdiff
path: root/ld/emulparams
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.am: Add eshelf32_linux.o andStephen Clarke2002-10-092-0/+43
| | | | | | | | eshlelf32_linux.o, new emulations for sh64 Linux. * Makefile.in: Regenerate. * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. * emulparams/shelf32_linux.sh: New file. * emulparams/shlelf32_linux.sh: New file.
* * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.Alan Modra2002-10-021-1/+1
|
* No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.H.J. Lu2002-09-301-3/+0
|
* 2002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2002-09-292-0/+7
| | | | | * ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
* * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE beforeAlan Modra2002-09-251-1/+1
| | | | | | | | TARGET_PAGE_SIZE. * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate SEGMENT_SIZE alignment. * emulparams/elf64ppc.sh (DATA_ADDR): Delete. (SEGMENT_SIZE): Define.
* * emulparams/elf64ppc.sh (DATA_ADDR): Define.Alan Modra2002-09-242-1/+2
| | | | | | * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address for start of .data, instead align up to 256M boundary. * scripttempl/aix.sc: Likewise.
* * emulparams/elf32bmipn32-defs.sh: New file.Stan Cox2002-09-185-74/+83
| | | | | | | * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. * emulparams/elf32btsmipn32.sh: Likewise. * emulparams/elf64bmip.sh: Likewise. * emulparams/elf64btsmip.sh: Likewise.
* 2002-09-16 Bruno Haible <bruno@clisp.org>David O'Brien2002-09-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included by a target variant implementation. * elf64-alpha.c: Likewise. * elf32-i386-fbsd.c: New file. * elf64-alpha-fbsd.c: New file. * targets.c: Support bfd_elf32_i386_freebsd_vec and bfd_elf64_alpha_freebsd_vec. * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, bfd_elf64_alpha_freebsd_vec. * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". * config/tc-i386.c (i386_target_format): Likewise. * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to elf32-i386-freebsd. * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to elf64-alpha-freebsd. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>
* Add EXTERN references to __ctbpm __gp and __ep.Nick Clifton2002-09-021-0/+1
| | | | | Define TEMPLATE_NAME. Revert bogus change to ldexp.c
* * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".Alan Modra2002-08-301-1/+1
|
* Add TMS320C4x supportNick Clifton2002-08-282-0/+18
|
* Add sh-nto supportNick Clifton2002-08-222-0/+20
|
* * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.Alan Modra2002-08-131-2/+2
| | | | | | | | | | | | (MAXPAGESIZE): Set to 1. * ld.h (ALIGN_N): Delete. * ldexp.h (align_n): Declare. * ldexp.c (align_n): New function. (fold_binary): Use align_n instead of ALIGN_N. (exp_fold_tree): Likewise. * ldlang.c (lang_size_sections_1): Likewise. (lang_one_common): Likewise.
* Add QNX Neutrino PowerPC support and common up QNX functionsNick Clifton2002-08-092-0/+9
|
* Revert Adam Nemet's THUMB PLT patchNick Clifton2002-08-011-1/+0
|
* Add new field to bfd_link structure and use it to control how common symbolsNick Clifton2002-07-311-0/+1
| | | | are extracted from archives.
* Add support for Thumb PLT entries with interworkingNick Clifton2002-07-311-0/+1
|
* * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulationsThiemo Seufer2002-07-303-1/+22
| | | | | | | | | | | for n32 ABI support. * Makefile.in: Regenerate. * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add n32 ABI emulations for these 64 bit targets. * emulparams/elf32bmipn32.sh: Expand comment. * emulparams/elf32btsmipn32.sh: New file, for traditional big endian n32 ABI. * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
* Add arm-*-nto port.Nick Clifton2002-07-301-0/+24
|
* Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.shBernd Schmidt2002-07-261-3/+1
|
* Add IP2k support to BFD and LDNick Clifton2002-07-171-0/+19
|
* * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.Alan Modra2002-07-121-1/+2
| | | | (COMMONPAGESIZE): Define.
* * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.Alan Modra2002-07-091-0/+3
|
* * configure.tgt: Add hppaobsd.o.Alan Modra2002-07-091-0/+5
| | | | | | | * Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*, powerpc-*-openbsd* and sparc64-*-openbsd*. * Makefile.in: Regenerate. * emulparams/hppaobsd.sh: New file.
* * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.Alan Modra2002-07-011-1/+1
|
* * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.Alan Modra2002-07-011-1/+1
| | | | | | | | | | | | | | | | | | * ldlang.c (entry_sym): Likewise. (ldlang_undef_chain_list_type): Likewise. (lang_finish): Adjust references to entry_symbol. (lang_add_entry): Likewise. (lang_gc_sections): Use link_info.gc_sym_list. (lang_process): Set link_info.gc_sym_list. * ldlex.l: Include bfdlink.h. * ldmain.c (main): Init link_info.gc_sym_list. * emultempl/aix.em: Adjust references to entry_symbol. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ppc64elf.em (ppc_after_open): New function. (LDEMUL_AFTER_OPEN): Define. * emulparams/elf64ppc.sh: KEEP .opd sections.
* * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.Stephane Carrez2002-06-294-0/+8
| | | | | | | | | | | * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. (EEPROM_START_ADDR): Define. (EEPROM_MEMORY): Define. * emulparams/m68hc12elf.sh: Likewise. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs section to put soft registers in .page0. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
* * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opdJeff Law2002-06-271-1/+4
| | | | section. Add ${RELOCATING-0}.
* ld:Joern Rennecke2002-06-262-2/+14
| | | | | | | | | | | | * emulparams/shelf.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Define. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. (OTHER_SECTIONS): Undef. newlib: * libc/sys/sh/crt0.S: Remove vestigial .section directive. gcc: * config/sh/crt1.asm: remove _stack label definition and sentinel value.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-181-0/+20
| | | | | | | | From Catherine Moore, Michael Meissner, Jim Blandy: * emulparams/elf32frv.sh: New file. * configure.tgt: Support frv-*-*. * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. (eelf32frv.c): New target.
* Fix ld segfault for some elf targets. Fix default layout for d10v.Tom Rix2002-06-171-1/+1
|
* * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.Jason Thorpe2002-06-051-0/+2
| | | | (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
* bfd:Jason Thorpe2002-06-044-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. * Makefile.in: Regenerate. * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. * configure: Regenerate. * elf32-sh64-nbsd.c: New file. * elf64-sh64-nbsd.c: New file. * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. gas: * configure.in (sh5*): Set cpu_type to sh64 and endian to big. (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. * configure: Regenerate. * config/tc-sh64.c (sh64_target_format): Add support for NetBSD environment. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) (eshlelf64_nbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * emulparams/shelf32_nbsd.sh: New file. * emulparams/shelf64_nbsd.sh: New file. * emulparams/shlelf32_nbsd.sh: New file. * emulparams/shlelf64_nbsd.sh: New file. opcodes: * configure.in: Add "sh5*-*" to list of targets which include sh64 support. * configure: Regenerate.
* * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.Alan Modra2002-05-311-0/+12
| | | | | | | (ei386nto.c): Add rule. * Makefile.in: Regenerate. * configure.tgt: Add i[3456]86-*-nto-qnx*. * emulparams/i386nto.sh: New file.
* 2002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe2002-05-302-0/+18
| | | | | | | | | | | | | | Jason Thorpe <thorpej@wasabisystems.com> * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. (eelf32vax.c) (evaxnbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (vax-*-netbsdelf*) (vax-*-netbsdaout*) (vax-*-netbsd*): New targets. * emulparams/elf32vax.sh: New file. * emulparams/vaxnbsd.sh: New file.
* Add DLX targetNick Clifton2002-05-281-0/+9
|
* Install new elf_chaos.sc script.Nick Clifton2002-05-271-1/+1
|
* * genscripts.sh (LIB_PATH): For native targets, concatenate $libdirAlan Modra2002-05-222-0/+38
| | | | | | | | | | | | and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. (LIB_SEARCH_DIRS): No need to use "tr". (COMPILE_IN): Only set for native targets. * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. * configure.tgt (powerpc*): Set tdir_*. (powerpcle*): Correct targ_extra_emuls. * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
* bfd:Jason Thorpe2002-05-211-0/+2
| | | | | | | | | | | | | * config.bfd (armeb-*-netbsdelf*): New target. ld: * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. (earmelfb_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (armeb-*-netbsdelf*): New target. (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. (arm-*-netbsd*): Likewise. * emulparams/armelfb_nbsd.sh: New file.
* * emulparams/avr1.sh: New file.Marek Michalkiewicz2002-05-165-0/+50
| | | | | | | | * emulparams/avr2.sh: New file. * emulparams/avr3.sh: New file. * emulparams/avr4.sh: New file. * emulparams/avr5.sh: New file. * scripttempl/avr.sc: New file.
* * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.Mark Mitchell2002-04-301-0/+23
| | | | | | | (eelf32ppcwindiss.c): New target. * Makefile.in: Regenerated. * configure.tgt: Add support for powerpc-*-windiss. * emulparams/elf32ppcwindiss.sh: New file.
* Re-enable linking for sh5:Joern Rennecke2002-04-171-1/+1
| | | | | | | | | 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.
* * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.Thiemo Seufer2002-04-041-1/+1
|
* * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.Andreas Jaeger2002-03-231-0/+1
|
* * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"Jan Hubicka2002-03-181-1/+32
| | | | | | | * 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.
* Add AIX 64 shared library support and emulation layer for binutilsNick Clifton2002-03-185-0/+18
|
* * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't foldAndreas Schwab2002-02-201-2/+2
| | | | .IA64_unwind* in a relocatable link.
* 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky2002-02-192-2/+2
| | | | | * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
* * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.Alan Modra2002-02-181-0/+1
| | | | | | | | | | | | | | | | (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-18 David O'Brien <obrien@FreeBSD.org>David O'Brien2002-02-188-0/+15
| | | | | | | | | | | | | | | | | | | | | | * 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>