Age | Commit message (Collapse) | Author | Files | Lines |
|
<manfred@lts.sel.alcatel.de>
* Makefile.in (ALL_EMULATIONS): Add edelta68.o.
(edelta68.c): New target.
* configure.tgt (m68*-motorola-sysv3*): New target.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* scripttempl/m88kbcs.sc: Handle .init and .fini. Change section
addresses.
|
|
ALIGN and ALIGNMOD statements.
|
|
(gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on
AIX 4.1.
* Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
|
|
* configure.host (alpha-*-linux*): New host.
* configure.tgt (alpha-*-linux*): New target.
|
|
|
|
(import_files): Make static.
(struct export_symbol_list): Define.
(export_symbols): New static variable.
(gld${EMULATION_NAME}_parse_args): Handle an initial -b option
correctly. Call read_file for an export file.
(gld${EMULATION_NAME}_before_allocation): Call
bfd_xcoff_export_symbol for each export symbol, rather than
calling read_file for each export file.
(gld${EMULATION_NAME}_read_file): For an export file, make the
exported symbols undefined, and store them on the export_symbols
list.
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
Don't hang if last option is unrecognised.
(gld_${EMULATION_NAME}_set_symbols): Insert created
symbols into ABS output section.
|
|
convenience when testing XCOFF.
|
|
m68k4k arch.
(em68k4knbsd.c): New rule.
* configure.tgt: Added support for the NetBSD m68k4k arch.
* genscripts.sh, ldint.texinfo,
emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960,
gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s,
hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32,
i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx,
m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd,
pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd,
st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed
PAGE_SIZE to TARGET_PAGE_SIZE.
* emulparams/m68knbsd.h: Ditto.
(TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize.
(EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time
being.
* emulparams/m68k4knbsd.sh: New file.
* scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
|
|
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_before_allocation): Call find_relocs.
(gld${EMULATION_NAME}_find_relocs): New static function.
(gld${EMULATION_NAME}_find_exp_assignment): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* scripttempl/aix.sc: Use CONSTRUCTORS in .data.
* ldctor.c (struct set_info): Move definition into ldctor.h.
(struct set_element): Likewise.
(sets): Make non-static.
(ldctor_add_set_entry): Add name parameter. Save it in the new
set element.
(ldctor_build_sets): Avoid being called twice. Pass set element
name to lang_add_reloc.
* ldctor.h (struct set_info): Move definition here from ldctor.c.
(struct set_element): Likewise. Add new field name.
(sets): Declare.
(ldctor_add_set_entry): Declare new name parameter.
* ldwrite.c (build_link_order): Don't insist that either name or
section be NULL in a lang_reloc_statement.
* ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for
new name parameter.
(constructor_callback): Pass name to ldctor_add_new_set_entry for
new name parameter.
|
|
|
|
* mac-ld.r: New file, Mac resources.
* mpw-make.sed: New file, edits Makefile.in into MPW syntax.
* mpw-make.in: Remove.
* mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.
|
|
along with --static.
|
|
|
|
-static as a synonym for -bnso.
|
|
Always start .data at 0.
|
|
|
|
(maintainer-clean realclean): Also delete *.info*.
|
|
|
|
|
|
for AIX import and export files, and for AIX shared objects.
* scripttempl/aix.sc: Add .pad. Put .ds just before the TOC.
|
|
* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
(constructor_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* ldwrite.c (build_link_order): Likewise.
|
|
|
|
since the old names could cause problems when hosting the source tree
on non-Un*x systems.
|
|
|
|
|
|
Search trinary.cond rather than searching trinary.lhs twice. From
linli@ihp.PHys.ethz.CH.
|
|
directory searching code into gld${EMULATION_NAME}_search_dir.
(gld${EMULATION_NAME}_search_dir): New static function, extracted
from gld${EMULATION_NAME}_find_so.
(global_needed, global_found): New static variables.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_search_needed): New static function.
(gld${EMULATION_NAME}_try_needed): New static function.
(gld${EMULATION_NAME}_check_needed): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* ld.texinfo, ld.1: Mention -rpath-link on SunOS.
|
|
(eelf32lppc.c): Likewise.
* emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
(GENERATE_SHLIB_SCRIPT): Define as yes.
|
|
(rs6000-*-aix*): New target; use aixrs6.
* emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
* emultempl/aix.em: New file.
* scripttempl/aix.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
(eaixppc.c, eaixrs6.c): New targets.
|
|
section which was not linked into the final output.
PR 8172.
|
|
fatal typos.
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
required dependencies in rpath_link path. Only search
LD_LIBRARY_PATH when configured native.
* lexsup.c (parse_args): Recognize -rpath-link.
* ld.1, ld.texinfo: Document -rpath-link.
|
|
bother searching for needed libraries unless doing a final link.
|
|
<schwab@issan.informatik.uni-dortmund.de>
* ld/ld.1: Fix formatting bugs.
|
|
* ldexp.h (exp_get_abs_int): Update declaration.
* ldlang.c (print_output_section_statement): Use fprintf_vma to
print return value of exp_get_abs_int.
PR 8142.
|
|
(gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure
that the file has not already been included under another name.
(gld${EMULATION_NAME}_stat_needed): New static function.
|
|
command_line.rpath is set, use it, rather than the -L options, to
build the rules section.
* ld.texinfo: Document this use of -rpath.
|
|
pure-text. Pass true, not 1, to lang_add_entry.
* emultempl/sunos.em (find_assign): New static variable.
(found_assign): New static variable.
(gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn.
If not a relocateable link, and no start symbol was specified on
the command line, and there are any undefined symbols, set
link_info.shared. If link_info.shared is set, set the address of
the .text section to 0x20.
(gld${EMULATION_NAME}_find_assignment): Rename from
gld${EMULATION_NAME}_find_statement_assignment. If find_assign is
set, then just set found_assign based on whether an assignment is
found to find_assign.
(gld${EMULATION_NAME}_get_script): Don't use a special script when
producing a shared library.
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove.
* scripttempl/aout.sc: Remove CREATE_SHLIB tests.
* ldlang.c (entry_from_cmdline): New global variable.
(lang_add_entry): Change cmdline parameter from int to boolean.
Use global entry_from_cmdline rather than function static
from_cmdline.
* ldlang.h (entry_from_cmdline): Declare.
(lang_add_entry): Change declaration of second parameter from int
to boolean.
* ldgram.y: Pass false, not 0, to lang_add_entry.
|
|
* ldlex.h (lex_string): Declare.
* ldlex.l (lex_string): Define.
* lexsup.c (parsing_defsym): Define.
(parse_args): In OPTION_DEFSYM case, set lex_string before calling
lex_redirect, and clear it after calling yyparse. Set
parsing_defsym around call to yyparse.
* ldmain.c (main): Set lex_string before calling lex_redirect, and
clear it after calling yyparse.
* ldmisc.c (vfinfo): For %S, handle --defsym arguments and built
in linker scripts correctly.
PR 8092.
|
|
COFF targets, allowing for the leading underscore used on SPARC
COFF.
PR 8006.
|
|
|
|
appropriate modifications and setup_xfails.
* ld-shared/sun4.dat: New file.
|
|
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define.
* emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the
shared library script when appropriate.
* scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text
section at SIZEOF_HEADERS.
|
|
* configure.tgt (arm-*-coff): New target
* emulparms/armcoff.sh: New file.
* scripttempl/armcoff.sc: New file.
|
|
|
|
|
|
|
|
* Makefile.in (CC_FOR_TARGET): Remove brokensed stuff.
(CXX_FOR_TARGET): Likewise.
(install): Likewise.
(GENERATED_HFILES): Remove config.h.
(.dep): Depend upon config.h.
|