OSDN Git Service

ld/
authorrsandifo <rsandifo>
Wed, 28 Mar 2007 14:42:27 +0000 (14:42 +0000)
committerrsandifo <rsandifo>
Wed, 28 Mar 2007 14:42:27 +0000 (14:42 +0000)
commit455210a814990329f220f962cfa2d02e0ae1884a
treedab750a638996916a575e16da1fe073d9059316c
parent602cb05f4d8c8bf33e071b39b8247de8d31fc030
ld/
* ld.h (ld_config_type): Add rpath_separator.
* ldmain.c (main): Initialize it.
* lexsup.c (parse_args): Honor config.rpath_separator.
* emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
(gld${EMULATION_NAME}_add_sysroot): Likewise.
(gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
rather than ':' when building the path.
* emultempl/vxworks.em (vxworks_before_parse): New function.
Override config.rpath_separator.
(LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
set to gld${EMULATION_NAME}_after_open; #define that identifier
to vxworks_foo instead.
(LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.

ld/testsuite/
* ld-vxworks/rpath-1.s, ld-vxworks/rpath-1.d,
* ld-vxworks/vxworks.exp: New files.
ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/vxworks.em
ld/ld.h
ld/ldmain.c
ld/lexsup.c
ld/testsuite/ChangeLog
ld/testsuite/ld-vxworks/rpath-1.d [new file with mode: 0644]
ld/testsuite/ld-vxworks/rpath-1.s [new file with mode: 0644]
ld/testsuite/ld-vxworks/vxworks.exp [new file with mode: 0644]