Paul Brook
a8bc6c780e
2006-05-02 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
for R_ARM_REL32.
gas/
* config/tc-arm.c (arm_optimize_expr): New function.
* config/tc-arm.h (md_optimize_expr): Define
(arm_optimize_expr): Add prototype.
(TC_FORCE_RELOCATION_SUB_SAME): Define.
ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb-rel32.
* ld-arm/thumb-rel32.d: New test.
* ld-arm/thumb-rel32.s: New test.
2006-05-02 13:09:18 +00:00
Ben Elliston
b48c61bccb
* archive.c (bfd_generic_archive_p): Remove unused local variable
...
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
* elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
local varibale `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
variable `r_addend'.
* elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
* elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
(_bfd_ns32k_relocate_contents): Remove break after return.
* elf.c (bfd_section_from_shdr): Remove breaks after returns.
2006-05-02 10:01:56 +00:00
Nick Clifton
63f2fc3083
Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition
2006-05-02 09:56:00 +00:00
Alan Modra
e460dd0d29
* dwarf2.c: Formatting.
...
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
output section check.
* elf32-i370.c: Warning fixes inside #ifdef DEBUG.
* elf32-m32c.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-v850.c: Similarly.
* nlm32-sparc.c: Similarly.
* elfcode.h: Similarly.
(elf_symbol_flags): Delete.
* elflink.c (elf_link_input_bfd): Comment typo.
2006-05-02 01:41:20 +00:00
Alan Modra
36bf2220c4
daily update
2006-05-02 00:00:39 +00:00
DJ Delorie
aa149cf7d1
* bfd-in.h (bfd_hash_table): Add count field.
...
* bfd-in2.h: Regenerate.
* hash.c (higher_prime_number): New.
(bfd_hash_table_inint_n): Init count field.
(bfd_hash_lookup): Grow table as needed.
2006-05-01 19:36:27 +00:00
Alan Modra
1dcb6d670e
daily update
2006-05-01 00:00:06 +00:00
Alan Modra
b31e893eb5
daily update
2006-04-30 00:00:05 +00:00
Alan Modra
921408b91b
daily update
2006-04-29 00:00:11 +00:00
Alan Modra
bbe44800a5
daily update
2006-04-28 00:00:36 +00:00
Kaz Kojima
75b8939e07
PR binutils/2584
...
* tekhex.c (getvalue): Change return type to bfd_boolean and
add the new parameter. Return false if the unexpected character
is found.
(getsym): Likewise.
(first_phase): Change return type to bfd_boolean and return
false if the unexpected character is found. Replace abort
with returning false.
(pass_over): Change return type to bfd_boolean and the type of
the second argument to bfd_boolean (*) (bfd *, int, char *).
Return false if FUNC returns false.
(tekhex_object_p): Return NULL if pass_over fails.
2006-04-27 05:57:09 +00:00
Alan Modra
f05742e672
* coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
2006-04-27 01:19:35 +00:00
Alan Modra
136d0230cc
daily update
2006-04-27 00:00:06 +00:00
H.J. Lu
e843e0f880
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/2593
* elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
and flags if its BFD flags have been set.
(_bfd_elf_init_private_section_data): Don't copy the output ELF
section type from input if it has been set to something
different.
2006-04-26 13:32:26 +00:00
Andreas Jaeger
9ca26584e9
Add missing changelog entry
2006-04-26 09:24:07 +00:00
Alan Modra
c0d4d74377
daily update
2006-04-26 00:00:05 +00:00
H.J. Lu
69552b439a
Regenerate libbfd.h.
2006-04-25 19:09:58 +00:00
H.J. Lu
b25e3d8745
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/2467
* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
is NULL first.
* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
abfd->sections is NULL.
(elf32_arm_bfd_free_cached_info): New.
(bfd_elf32_bfd_free_cached_info): Defined.
* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
to _bfd_free_cached_info.
* libbfd-in.h (_bfd_free_cached_info): New.
* libbfd: Regenerated.
* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
(_bfd_free_cached_info): New.
2006-04-25 17:46:15 +00:00
Alan Modra
4c6fe4b4a6
daily update
2006-04-25 00:00:06 +00:00
Alan Modra
fbefa34ecb
daily update
2006-04-24 00:00:05 +00:00
Alan Modra
ac734b46c8
daily update
2006-04-23 00:00:05 +00:00
Alan Modra
4a26dea61c
daily update
2006-04-22 00:00:05 +00:00
Alan Modra
5c182d5fce
* elf.c (assign_file_positions_except_relocs): Move code setting
...
file position of non-loaded sections..
(assign_file_positions_for_segments): ..to here.
2006-04-21 07:26:09 +00:00
H.J. Lu
3eb70a79d6
2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/2537
* elf.c (bfd_section_from_shdr): Allow sections reserved for
applications. Issue an error on sections we don't know how
to handle.
2006-04-21 03:42:47 +00:00
Alan Modra
2f888b0295
daily update
2006-04-21 00:00:06 +00:00
Alan Modra
c9f2a989ad
daily update
2006-04-20 00:00:07 +00:00
Alan Modra
ec3fcc5688
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
2006-04-19 12:10:21 +00:00
Alan Modra
241a6c40c8
bfd/
...
* warning.m4 (--enable-werror, -build-warnings): Format help messages.
* configure: Regenerate.
binutils/
* configure: Regenerate.
gas/
* configure.in (--enable-targets): Indent help message.
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
2006-04-19 02:06:15 +00:00
Alan Modra
55c44d8afd
daily update
2006-04-19 00:00:05 +00:00
Nick Clifton
0b49d37123
PR 2257
...
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
(process_file_header): Cope with a corrupt e_shstrndx field.
(process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
2006-04-18 09:41:36 +00:00
Alan Modra
4e85ecd0ba
daily update
2006-04-18 00:00:05 +00:00
Alan Modra
fc3e04e18e
daily update
2006-04-17 00:00:07 +00:00
Daniel Jacobowitz
e740356690
Update POTFILES.in.
2006-04-16 18:25:11 +00:00
Daniel Jacobowitz
ffdc4eeddf
* configure.in: Update version to 2.17.50.
...
* configure: Regenerated.
2006-04-16 18:01:02 +00:00
Alan Modra
7e59fed008
daily update
2006-04-16 00:00:05 +00:00
Alan Modra
d029a1ec36
daily update
2006-04-15 00:00:07 +00:00
Bob Wilson
cb33714832
* elf32-xtensa.c (build_reloc_opcodes): New.
...
(compute_text_actions): Use it to decode opcodes outside inner loop.
(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
it is set, use it to get the opcodes for relocations.
(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
2006-04-14 23:01:19 +00:00
Alan Modra
b24464c4e7
daily update
2006-04-14 00:00:06 +00:00
Alan Modra
44870d14a2
daily update
2006-04-13 00:00:06 +00:00
Alan Modra
ecdc7d9c24
daily update
2006-04-12 00:00:05 +00:00
Alan Modra
0f84642536
daily update
2006-04-11 00:00:06 +00:00
Alan Modra
a3abcc0f1a
daily update
2006-04-10 00:00:07 +00:00
Alan Modra
0a8059c6f4
daily update
2006-04-09 00:00:05 +00:00
H.J. Lu
cb878726df
2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/2513
* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
(GOT_TLS_IE_IE): Likewise.
(GOT_TLS_IE_GD): Likewise.
(GOT_TLS_IE_MASK): Likewise.
(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
respectively.
(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
are set, treat tls_type as GOT_TLS_IE_BOTH.
(elf_i386_relocate_section): Likewise.
2006-04-08 22:57:22 +00:00
Alan Modra
67ddcca15a
daily update
2006-04-08 00:00:06 +00:00
Nick Clifton
235ecfbc5e
* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
...
(elf64_hppa_grok_psinfo): Likewise.
(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
2006-04-07 14:55:29 +00:00
DJ Delorie
35520cb708
* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
...
each plt entry we create.
2006-04-07 01:08:34 +00:00
Alan Modra
2c231431be
daily update
2006-04-07 00:00:06 +00:00
Carlos O'Donell
108a6f8eb4
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
...
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
2006-04-06 21:49:35 +00:00
H.J. Lu
fbbc375958
bfd/
...
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
section structure.
include/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
relax_pass.
ld/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
link_info.need_relax_finalize.
* ldlang.c (relax_sections): New.
(lang_process): Use. Call relax_sections link_info.relax_pass
times.
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
link_info.need_relax_finalize.
2006-04-06 18:52:46 +00:00