Age | Commit message (Collapse) | Author | Files | Lines |
|
2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.
ld/testsuite/
2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.
* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.
|
|
* ada-lang.c (possible_user_operator_p): Guard against NULL.
|
|
* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.
|
|
to match any gdbarch with matching OSABI. Set default ABI and FPU
after running the OSABI handler.
|
|
* config/i386/linux.mt (TDEPFILES): ...to here.
|
|
|
|
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.
|
|
unrepresentable.
|
|
* breakpoint.c (update_breakpoints_after_exec): Don't
set address to zero.
|
|
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
initialized only on the first PT_LOAD. New variable LOADBASE_SET.
Removed PF_R checking for IA-64 vDSOs as redundant now.
Code advisory: Roland McGrath
|
|
* valops.c: Whitespace clean-up.
|
|
|
|
|
|
* tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.
|
|
* event-top.c (command_line_handler): Memory leak.
|
|
* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.
|
|
* source.c (find_source_lines): Require symtab 's'.
|
|
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
(mips_elf_record_global_got_symbol): Increment local_gotno for
each forced-local symbol.
(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
mips_elf_record_global_got_symbol for VxWorks too.
(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
to true after computing the GOT size.
(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
got.offset == 1. Only adjust global_gotno if computed_got_sizes.
For VxWorks, add a local entry when hiding a symbol that needs a
plt but has not been marked as needing a global got entry.
(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
false.
ld/testsuite/
* ld-mips-elf/vxworks-forced-local-1.d,
* ld-mips-elf/vxworks-forced-local-1.s,
* ld-mips-elf/vxworks-forced-local-1.ver: New test.
* ld-mips-elf/mips-elf.exp: Run it.
* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
local GOT entry.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/vxworks1-lib.dd: Likewise.
* ld-mips-elf/vxworks1-lib.rd: Likewise.
|
|
|
|
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.
|
|
|
|
$(top_srcdir)/../../bfd/doc.
* doc/Makefile.in: Regenerate.
|
|
|
|
--silent if $silent.
* configure: Regenerate.
|
|
Don't remove empty PT_LOAD header if false.
(_bfd_elf_map_sections_to_segments): If user phdrs, pass false
to elf_modify_segment_map.
(assign_file_positions_for_load_sections): Pass false to
elf_modify_segment_map.
|
|
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
Update stub comments.
(build_plt_stub): Build two variants, one without "addis".
(ppc_build_one_stub): Build stubs without "addis" if possible.
(ppc_size_one_stub): Size new stubs.
ld/testsuite/
* ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.g: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.g: Update.
|
|
|
|
|
|
|
|
* po/fi.po: New file.
* configure: Regenerated.
|
|
|
|
|
|
* completer.c: Spelling fix in comments.
|
|
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".
|
|
* gdbtypes.c: Coding standard cleanup.
|
|
* gdbtypes.c: Comment/whitespace cleanup.
|
|
|
|
|
|
* stabsread.c (read_huge_number): Attempt to compute value before
values that it depends on.
|
|
* linespec.c (decode_dollar): Dead code, ptr can't be non-null.
(decode_objc): Use "NULL" instead of 0.
(find_method): Ditto.
(decode_all_digits): Ditto.
(decode_dollar): Ditto.
|
|
* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
|
|
* mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.
|
|
* solib-svr4.c (enable_break): Don't free tmp_pathname until
after closing bfd.
|
|
* completer.c: Comment/whitespace cleanup.
|
|
|
|
* remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
allocated file descriptors.
|
|
add some missing rules, remove some rules that are no longer needed,
and fix the dependencies in several rules.
|
|
suffixes.
(parse_size): Handle a suffix on the size value.
* sim-options.c (standard_options): Mention that the mem-size switch accepts suffixes.
(standard_option_handler): Handle a suffix on the size value.
|
|
|
|
|