H.J. Lu
a5479e5ff4
Properly adjust h->plt.refcount
...
bfd/
PR ld/14980
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly
adjust h->plt.refcount.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.
ld/testsuite/
PR ld/14980
* ld-ifunc/ifunc-14c.s: New file.
* ld-ifunc/ifunc-14e-i386.d: Likewise.
* ld-ifunc/ifunc-14e-x86-64.d: Likewise.
* ld-ifunc/ifunc-14f-i386.d: Likewise.
* ld-ifunc/ifunc-14f-x86-64.d: Likewise.
2012-12-21 18:15:22 +00:00
Roland McGrath
9d5777a34c
ld/
...
* ld.texinfo (Options): Describe -Trodata-segment.
* ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT.
* lexsup.c (ld_options, parse_args): Handle -Trodata-segment.
* scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap
SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
2012-12-18 20:42:43 +00:00
Alan Modra
8d708c8cad
PR ld/14962
...
* ld-scripts/pr14962.d, * ld-scripts/pr14962.t,
* ld-scripts/pr14962a.s, * ld-scripts/pr14962b.s: New test.
* ld-scripts/expr.exp: Run it.
2012-12-18 13:38:10 +00:00
Roland McGrath
b3adb10f86
ld/testsuite/
...
* ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets.
* ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
2012-12-17 19:32:52 +00:00
H.J. Lu
4cf0f7850b
Remove the leading zero
...
* ld-elf/var1.d: Remove the leading zero.
2012-12-17 17:20:07 +00:00
Nick Clifton
5bf135a788
Add copyright notices
2012-12-17 16:56:12 +00:00
H.J. Lu
387894ff90
Update PR ld/14962 testcase
2012-12-17 15:37:40 +00:00
H.J. Lu
06fc0e2238
Add a testcase for PR ld/14962
...
PR ld/14962
* ld-elf/var1.d: New file.
* ld-elf/var1.s: Likewise.
* ld-elf/var1.t: Likewise.
2012-12-17 14:53:35 +00:00
Alan Modra
4194268f43
PR ld/14962
...
* ldexp.h (struct ldexp_control): Add "assign_name".
* ldexp.c (fold_name <NAME>): Compare and clear assign_name on match.
(exp_fold_tree_1): Remove existing code testing for self assignment.
Instead set and test expld.assign_name.
* ldlang.c (scan_for_self_assignment): Delete.
(print_assignment): Instead set and test expld.assign_name.
2012-12-17 00:16:49 +00:00
H.J. Lu
73bcf23385
Also check local IFUNC references
...
bfd/
PR ld/14968
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check
local IFUNC references.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.
ld/testsuite/
PR ld/14968
* ld-ifunc/ifunc-18a-i386.d: New file.
* ld-ifunc/ifunc-18a-x86-64.d: Likewise.
* ld-ifunc/ifunc-18a.s: Likewise.
* ld-ifunc/ifunc-18b-i386.d: Likewise.
* ld-ifunc/ifunc-18b-x86-64.d: Likewise.
* ld-ifunc/ifunc-18b.s: Likewise.
* ld-ifunc/ifunc-19a-i386.d: Likewise.
* ld-ifunc/ifunc-19a-x86-64.d: Likewise.
* ld-ifunc/ifunc-19a.s: Likewise.
* ld-ifunc/ifunc-19b-i386.d: Likewise.
* ld-ifunc/ifunc-19b-x86-64.d: Likewise.
* ld-ifunc/ifunc-19b.s: Likewise.
2012-12-16 20:31:08 +00:00
Thomas Schwinge
6b00ac5ace
Fix copy'n'paste-o.
2012-12-15 10:34:14 +00:00
Thomas Schwinge
9cc420b64c
ld/testsuite/
...
* ld-elf/elf.exp (stack exec, stack size): Run for any GNU target.
* ld-elf/maxpage3c.d: Run for any x86 GNU target.
* ld-elf/maxpage4.d: Likewise.
* ld-elf/maxpage5.d: Likewise.
* ld-i386/export-class.exp: Likewise.
2012-12-15 10:28:17 +00:00
Yufeng Zhang
83a2341852
ld/testsuite/
...
2012-12-13 Yufeng Zhang <yufeng.zhang@arm.com>
* ld-elf/indirect.exp: Disable if -shared is not supported.
* lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and
arm*-*-elf to the exclude list.
2012-12-14 11:58:59 +00:00
H.J. Lu
5ca5bb3545
Check local IFUNC calls
...
bfd/
2012-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14956
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local
IFUNC calls.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.
ld/testsuite/
2012-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14956
* ld-ifunc/ifunc-14-i386.d: Renamed to ...
* ld-ifunc/ifunc-14a-i386.d: This.
* ld-ifunc/ifunc-14-x86-64.d: Renamed to ...
* ld-ifunc/ifunc-14a-x86-64.d: This.
* ld-ifunc/ifunc-14b-i386.d: New file.
* ld-ifunc/ifunc-14b-x86-64.d: Likewise.
* ld-ifunc/ifunc-14c-i386.d: Likewise.
* ld-ifunc/ifunc-14c-x86-64.d: Likewise.
* ld-ifunc/ifunc-14d-i386.d: Likewise.
* ld-ifunc/ifunc-14d-x86-64.d: Likewise.
2012-12-13 21:07:16 +00:00
Roland McGrath
8634c1b4cb
ld/
...
* emulparams/elf_nacl.sh (nacl_rodata_addr): New shell function.
(RODATA_ADDR, SHLIB_RODATA_ADDR): Use it to base the calculation
on SEGMENT_START("text-segment", ...) rather than ... alone.
* Makefile.am (earmelf_nacl.c, earmelfb_nacl.c): Add missing
dependency on $(srcdir)/emulparams/elf_nacl.sh.
* Makefile.in: Regenerate.
2012-12-11 22:23:14 +00:00
Nick Clifton
752937aa0c
Add copyright notices
2012-12-10 12:48:03 +00:00
H.J. Lu
861b2eaac2
Use "readelf -S --wide" on ld-elf/pr14926.d
...
* ld-elf/pr14926.d: Use "readelf -S --wide".
2012-12-07 22:30:19 +00:00
H.J. Lu
7708f7ef37
Mention PRs in ChangeLog entries for LTO tests
2012-12-07 19:56:25 +00:00
H.J. Lu
af55061b18
Add LTO tests
...
* ld-plugin/dummy.c: New file.
* ld-plugin/dummy.s: Likewise.
* ld-plugin/lto-11.out: Likewise.
* ld-plugin/lto-11a.c: Likewise.
* ld-plugin/lto-11b.c: Likewise.
* ld-plugin/lto-11c.c: Likewise.
* ld-plugin/lto-12.out: Likewise.
* ld-plugin/lto-12a.c: Likewise.
* ld-plugin/lto-12b.c: Likewise.
* ld-plugin/lto-12c.c: Likewise.
* ld-plugin/lto-13.out: Likewise.
* ld-plugin/lto-13a.c: Likewise.
* ld-plugin/lto-13b.c: Likewise.
* ld-plugin/lto-13c.c: Likewise.
* ld-plugin/lto-14.out: Likewise.
* ld-plugin/lto-14a.c: Likewise.
* ld-plugin/lto-14b.c: Likewise.
* ld-plugin/lto-14c.c: Likewise.
* ld-plugin/lto-15.out: Likewise.
* ld-plugin/lto-15a.c: Likewise.
* ld-plugin/lto-15b.c: Likewise.
* ld-plugin/lto-16a.c: Likewise.
* ld-plugin/lto-16a.d: Likewise.
* ld-plugin/lto-16b.c: Likewise.
* ld-plugin/lto-16b.d: Likewise.
* ld-plugin/lto-17a.c: Likewise.
* ld-plugin/lto-17a.d: Likewise.
* ld-plugin/lto-17b-1.d: Likewise.
* ld-plugin/lto-17b-2.d: Likewise.
* ld-plugin/lto-17b.c: Likewise.
* ld-plugin/lto-1a.c: Likewise.
* ld-plugin/lto-1b.c: Likewise.
* ld-plugin/lto-2.c: Likewise.
* ld-plugin/lto-3.d: Likewise.
* ld-plugin/lto-3.out: Likewise.
* ld-plugin/lto-3a.c: Likewise.
* ld-plugin/lto-3b.c: Likewise.
* ld-plugin/lto-3c.c: Likewise.
* ld-plugin/lto-3r.d: Likewise.
* ld-plugin/lto-5.d: Likewise.
* ld-plugin/lto-5.out: Likewise.
* ld-plugin/lto-5a.c: Likewise.
* ld-plugin/lto-5b.c: Likewise.
* ld-plugin/lto-5r.d: Likewise.
* ld-plugin/lto-6.c: Likewise.
* ld-plugin/lto-7.out: Likewise.
* ld-plugin/lto-7a.c: Likewise.
* ld-plugin/lto-7b.c: Likewise.
* ld-plugin/lto-7c.c: Likewise.
* ld-plugin/lto-7d.c: Likewise.
* ld-plugin/lto-8.out: Likewise.
* ld-plugin/lto-8a.c: Likewise.
* ld-plugin/lto-8b.c: Likewise.
* ld-plugin/lto-9.cc: Likewise.
* ld-plugin/lto-9.d: Likewise.
* ld-plugin/lto.exp: Likewise.
* ld-plugin/pr12696-1.cc: Likewise.
* ld-plugin/pr12758a.s: Likewise.
* ld-plugin/pr12758b.c: Likewise.
* ld-plugin/pr12760a.c: Likewise.
* ld-plugin/pr12760b.c: Likewise.
* ld-plugin/pr12942.out: Likewise.
* ld-plugin/pr12942a.cc: Likewise.
* ld-plugin/pr12942a.h: Likewise.
* ld-plugin/pr12942b.cc: Likewise.
* ld-plugin/pr12942c.cc: Likewise.
* ld-plugin/pr12975.c: Likewise.
* ld-plugin/pr12975.d: Likewise.
* ld-plugin/pr12975.t: Likewise.
* ld-plugin/pr12982.c: Likewise.
* ld-plugin/pr12982.d: Likewise.
* ld-plugin/pr13066.cc: Likewise.
* ld-plugin/pr13066.out: Likewise.
* ld-plugin/pr13183.d: Likewise.
* ld-plugin/pr13183a.c: Likewise.
* ld-plugin/pr13183b.c: Likewise.
* ld-plugin/pr13201.c: Likewise.
* ld-plugin/pr13201.out: Likewise.
* ld-plugin/pr13229.cc: Likewise.
* ld-plugin/pr13229.d: Likewise.
* ld-plugin/pr13244.c: Likewise.
* ld-plugin/pr13244.d: Likewise.
* ld-plugin/pr13287.cc: Likewise.
* ld-plugin/run-ie.c: Likewise.
* ld-plugin/run-ie.out: Likewise.
2012-12-07 19:23:50 +00:00
H.J. Lu
c413941892
Add plugin visibility test
...
* ld-plugin/func1p.c: New file.
* ld-plugin/func2i.c: Likewise.
* ld-plugin/func3h.c: Likewise.
* ld-plugin/plugin.exp (plugin_extra_elf_tests): Add plugin
visibility test.
2012-12-07 19:14:41 +00:00
H.J. Lu
3bd58fbe75
Add check_lto_available
...
* lib/ld-lib.exp (check_lto_available): New. Check if compiler
supports LTO.
2012-12-07 17:56:09 +00:00
H.J. Lu
741e012828
Properly check linker warnings
...
* lib/ld-lib.exp (run_cc_link_tests): Properly check linker
warnings.
2012-12-07 17:53:04 +00:00
H.J. Lu
d52a4dca58
Pass -rc to ar
...
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
2012-12-07 17:51:35 +00:00
H.J. Lu
133c2bb257
Add a testase for PR ld/14926
...
PR ld/14926
* ld-elf/pr14926.d: New file.
* ld-elf/pr14926.s: Likewise.
2012-12-07 12:32:50 +00:00
Alan Modra
71f058efca
* ld-elf/comm-data.exp: Revert last change.
...
* ld-elf/comm-data5.d: xfail frv-linux.
2012-12-07 06:00:06 +00:00
Alan Modra
2eb64a9f4b
* ld-elf/shared.exp (libneeded1a.so): Override any system
...
supplied --as-needed or --add-needed flag.
2012-12-07 05:26:39 +00:00
H.J. Lu
8fbb09e83e
Extend --copy-dt-needed-entries to creating DSO
...
ld/
PR ld/14915
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Also
check DT_NEEDED entries when creating shared object with
--copy-dt-needed-entries.
ld/testsuite/
PR ld/14915
* ld-elf/shared.exp (build_tests): Test --add-needed,
--copy-dt-needed-entries, --no-add-needed and
--no-copy-dt-needed-entries with -shared.
Add tests for --no-add-needed and --no-copy-dt-needed-entries
with -shared.
2012-12-06 00:25:19 +00:00
Alan Modra
5c3ab52b3b
* ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.
...
* ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test.
* ld-elf/comm-data.exp: Run them.
2012-12-06 00:10:41 +00:00
Alan Modra
79056107ed
Add x86_64-*-rdos.
2012-12-05 05:48:19 +00:00
H.J. Lu
63406f0ab7
Add tests for --add-needed/--copy-dt-needed-entries
...
* ld-elf/shared.exp (build_tests): Build libneeded1b.so,
libneeded1a.so and libneeded1c.o.
(run_tests): Test --add-needed and --copy-dt-needed-entries.
Add tests for --no-add-needed and --no-copy-dt-needed-entries.
* ld-elf/needed1.out: New file.
* ld-elf/needed1a.c: Likewise.
* ld-elf/needed1b.c: Likewise.
* ld-elf/needed1c.c: Likewise.
2012-12-04 17:44:43 +00:00
Maciej W. Rozycki
bb555ef860
* ld-mips-elf/attr-gnu-4-45.d: Add missing "readelf" keyword.
...
Update dump according to current output.
2012-12-03 16:26:30 +00:00
Maciej W. Rozycki
6ae68ba390
bfd/
...
* elf32-mips.c (bfd_elf32_mkobject): New macro.
* elf64-mips.c (bfd_elf64_mkobject): Likewise.
* elfn32-mips.c (bfd_elf32_mkobject): Likewise.
* elfxx-mips.h (_bfd_mips_elf_mkobject): New prototype.
* elfxx-mips.c (mips_elf_obj_tdata): New struct.
(mips_elf_tdata): New macro.
(_bfd_mips_elf_mkobject): New function.
(mips_elf_merge_obj_attributes): Report the originating input BFD
on attribute conflicts.
ld/testsuite/
* ld-mips-elf/attr-gnu-4-12.d: Update the warning message.
* ld-mips-elf/attr-gnu-4-13.d: Likewise.
* ld-mips-elf/attr-gnu-4-14.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-21.d: Likewise.
* ld-mips-elf/attr-gnu-4-23.d: Likewise.
* ld-mips-elf/attr-gnu-4-24.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.
* ld-mips-elf/attr-gnu-4-31.d: Likewise.
* ld-mips-elf/attr-gnu-4-32.d: Likewise.
* ld-mips-elf/attr-gnu-4-34.d: Likewise.
* ld-mips-elf/attr-gnu-4-35.d: Likewise.
* ld-mips-elf/attr-gnu-4-41.d: Likewise.
* ld-mips-elf/attr-gnu-4-42.d: Likewise.
* ld-mips-elf/attr-gnu-4-43.d: Likewise.
* ld-mips-elf/attr-gnu-4-45.d: Likewise.
* ld-mips-elf/attr-gnu-4-51.d: Likewise.
2012-12-03 16:17:48 +00:00
Maciej W. Rozycki
20696deded
bfd/
...
* elfxx-mips.c (mips_elf_merge_obj_attributes): Correct messages
for the -mdouble-float and -msingle-float cases throughout; make
all the messages report the output file consistently on the
left-hand side.
ld/testsuite/
* ld-mips-elf/attr-gnu-4-12.d: Adjust the warning expected
according to changes to BFD.
* ld-mips-elf/attr-gnu-4-14.d: Likewise.
* ld-mips-elf/attr-gnu-4-31.d: Likewise.
* ld-mips-elf/attr-gnu-4-32.d: Likewise.
* ld-mips-elf/attr-gnu-4-34.d: Likewise.
* ld-mips-elf/attr-gnu-4-41.d: Likewise.
2012-12-03 15:57:44 +00:00
H.J. Lu
d82184d782
Improve plugin error handling
...
ld/
PR ld/14904
* ldmain.c (main): Don't check plugin_load_plugins return.
* lexsup.c (parse_args): Don't check plugin_opt_plugin return.
* plugin.c (dlerror): New. Defined if HAVE_DLFCN_H isn't
defined.
(plugin_opt_plugin): Change return type to void. Stop on
dlopen error and report error with dlerror ().
(plugin_load_plugins): Change return type to void. Stop on
dlsym error and report error with dlerror (). Don't use
set_plugin_error.
(plugin_call_cleanup): Issue an error for each plugin.
* plugin.h (plugin_opt_plugin): Change return type to void.
(plugin_load_plugins): Likewise.
ld/testsuite/
PR ld/14904
* ld-plugin/plugin-2.d: Update expected error message.
* ld-plugin/plugin-4.d: Likewise.
2012-12-03 14:34:06 +00:00
Roland McGrath
1438a3ee10
ld/testsuite/
...
* ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.
2012-11-30 21:14:02 +00:00
Joern Rennecke
f204ddb8a8
* scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add.
...
* emultempl/epiphanyelf_4x4.em: Likewise.
* configure.tgt: Add elf32epiphany_4x4 support.
* Makefile.am: Likewise.
* Makefile.in: Regenerate.
2012-11-30 18:28:38 +00:00
Maciej W. Rozycki
e63962bcf0
* Makefile.in: Regenerate.
2012-11-29 11:03:13 +00:00
Roland McGrath
6595185552
binutils/testsuite/
...
* lib/binutils-common.exp (is_zlib_supported): New function.
* lib/utils-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
* binutils-all/compress.exp: Bail out if zlib is not available.
* binutils-all/objdump.exp (objdump compressed debug):
Mark unsupported if zlib is not available.
* binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
gas/testsuite/
* lib/gas-defs.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
ld/testsuite/
* ld-elf/compress.exp: Bail out if zlib is not supported.
* lib/ld-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
2012-11-27 17:26:11 +00:00
Roland McGrath
2a64e9e88d
ld/testsuite/
...
* ld-elf/flags1.d: Add *-*-nacl* to xfail list.
* ld-elf/orphan-region.d: Likewise.
2012-11-27 17:20:29 +00:00
Nick Clifton
11e7fd744a
PR ld/14776
...
* ld.texinfo: Fix spelling mistakes.
2012-11-27 17:04:30 +00:00
Roland McGrath
e2caaa1f59
ld/
...
* emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse):
Copy last elf32.em here too.
* emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
* emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
* emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
2012-11-26 23:26:35 +00:00
Alan Modra
776fc41826
include/opcode/
...
* ppc.h (ppc_parse_cpu): Update prototype.
opcodes/
* ppc-dis.c (ppc_parse_cpu): Add "sticky" param. Track bits
set from ppc_opts.sticky in it. Delete "retain_mask".
(powerpc_init_dialect): Choose default dialect from info->mach
before parsing -M options. Handle more bfd_mach_ppc variants.
Update common default to power7.
gas/
* config/tc-ppc.c (sticky): New var.
(md_parse_option, ppc_machine): Update ppc_parse_cpu calls.
gas/testsuite/
* gas/ppc/astest2.d: Pass -Mppc to objdump.
ld/testsuite/
* ld-powerpc/plt1.d: Update for default "at" branch hints.
* ld-powerpc/tlsexe.d: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsopt1.d: Likewise.
* ld-powerpc/tlsopt1_32.d: Likewise.
* ld-powerpc/tlsopt2.d: Likewise.
* ld-powerpc/tlsopt2_32.d: Likewise.
* ld-powerpc/tlsopt4.d: Likewise.
* ld-powerpc/tlsopt4_32.d: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
2012-11-23 03:28:13 +00:00
H.J. Lu
f1d8578513
Set output maxpagesize when rewriting program header
...
bfd/
PR binutils/14493
* elf.c (copy_elf_program_header): When rewriting program
header, set the output maxpagesize to the maximum alignment
of input PT_LOAD segments.
2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/14493
* ld-elf/maxpage5.d: New file.
* ld-elf/maxpage5.s: Likewise.
* ld-elf/maxpage5.t: Likewise.
2012-11-21 21:31:18 +00:00
Roland McGrath
4724d37ec2
ld/
...
* ld.h (ld_config_type): New flag member separate_code.
* emultempl/elf32.em
(gld${EMULATION_NAME}_before_parse): Set it based on $SEPARATE_CODE.
* ldlang.c (ldlang_override_segment_assignment): If it's set, then
always return TRUE when SEC_CODE differs between the sections.
2012-11-21 19:56:38 +00:00
Roland McGrath
e0799d78b1
* ld-elf/comm-data.exp: Add XFAIL for arm*-*-* targets, referring
...
to PR ld/13802.
2012-11-21 19:31:24 +00:00
H.J. Lu
2ddda9905b
Run more tests on x86_64-*-linux-gnu*/i?86-*-linux-gnu
...
* ld-elf/discard1.d: Run on x86_64-*-linux-gnu*.
* ld-elf/discard2.d: Likewise.
* ld-elf/discard3.d: Likewise.
* ld-elf/eh6.d: Likewise.
* ld-elf/maxpage3c.d: Run on i?86-*-linux-gnu.
* ld-elf/maxpage4.d: Likewise.
2012-11-21 13:53:23 +00:00
H.J. Lu
dda8ddc56f
Remove ref_dynamic_nonweak added by accident
...
bfd/
2012-11-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14862
* elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak
added by accident.
(elf_link_add_object_symbols): Don't set nor check
ref_dynamic_nonweak.
ld/testsuite/
2012-11-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14862
* ld-elf/shared.exp (build_tests): Build libpr14862-1.o and
libpr14862.so.
(run_tests): Test pr14862.
* ld-elf/pr14862-1.c: New file.
* ld-elf/pr14862-2.c: Likewise.
* ld-elf/pr14862.map: Likewise.
* ld-elf/pr14862.out: Likewise.
2012-11-20 22:17:27 +00:00
H.J. Lu
b039ef0457
Implement ELF linker -z global option
...
ld/
* ld.texinfo: Document "-z global".
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support
"-z global".
(gld${EMULATION_NAME}_list_options): Likewise.
ld/testsuite/
* ld-elf/global1.d: New file.
2012-11-20 22:16:05 +00:00
Maxim Kuvyrkov
3d3163562c
Fix typo.
2012-11-16 04:01:14 +00:00
Maxim Kuvyrkov
507dcd87bd
Port lib32 arangement from Debian.
...
* emulparams/elf_i386.sh: Include lib32 directories in library search
path.
2012-11-16 04:00:41 +00:00