Daniel Jacobowitz
2e6f4fae07
* configure.in: Check for fopen64.
...
* libbfd-in.h (real_fopen): New prototype.
* configure, config.in, libbfd.h: Regenerated.
* bfdio.c (real_fopen): New function.
* opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it.
* cache.c (bfd_open_file): Likewise.
2005-11-03 16:06:11 +00:00
Richard Henderson
6ec7057aa5
* configure.in (--enable-secureplt): New.
...
* elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
(INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
(INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
(elf64_alpha_use_secureplt): New.
(OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
(NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
(PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
(ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
(struct alpha_elf_link_hash_entry): Add plt_offset.
(PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
(PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
(PLT_ENTRY_WORD3): Remove.
(elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
on .plt and create .got.plt.
(elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
(get_got_entry): Initialize plt_offset.
(elf64_alpha_want_plt): New.
(elf64_alpha_check_relocs): Use it.
(elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate
plt entries here.
(elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
error as user error.
(elf64_alpha_size_plt_section_1): Allocate one plt entry per
got subsection.
(elf64_alpha_size_plt_section): Size .got.plt section.
(elf64_alpha_size_rela_got_1): Don't allocate relocations if
plt entries used.
(elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
Add PLTRO DYNAMIC entry.
(elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
(elf64_alpha_finish_dynamic_sections): Likewise.
2005-05-29 23:13:39 +00:00
Andreas Jaeger
3652791261
2005-05-28 Eli Zaretskii <eliz@gnu.org>
...
* configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS.
* config.in, configure: Regenerate.
2005-05-28 11:44:49 +00:00
Kelley Cook
2ba49b590d
2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
...
* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
* acinclude.m4: Don't sinclude accross.m4.
* config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.
2005-05-10 01:27:54 +00:00
Jim Wilson
2e0fbf7795
Fix ia64-hpux build failure, patch from Steve Ellcey.
...
* configure.in (ACX_HEADER_STRING): New.
* configure: Regenerate.
* config.in: Regenerate.
* sysdep.h (STRING_WITH_STRINGS): Use.
2005-05-05 18:51:14 +00:00
Hans-Peter Nilsson
4a2a268674
* Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
...
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC.
* configure, config.in, Makefile.in: Regenerate.
* sysdep.h (stpcpy): Revert last change.
2005-05-05 03:42:02 +00:00
H.J. Lu
be5cacdb6d
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
...
* configure.in: Add AC_CHECK_DECLS(stpcpy).
* configure: Regenerated.
* config.in: Likewise.
* sysdep.h (stpcpy): New.
2005-05-04 22:15:30 +00:00
Jerome Guitton
d34a2b1dc9
* configure.in: Replace BFD_NEED_DECLARATION checks by the
...
corresponding AC_CHECK_DECLS.
* sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding
HAVE_DECL_*.
* bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete.
* configure: Regenerate.
* config.in: Ditto.
2005-04-22 13:58:14 +00:00
Jerome Guitton
ec7b76fec3
* configure.in: Fix the check for basename declaration. Add check
...
for declarations of ftello, ftello64, fseeko, fseeko64.
* configure: Regenerate.
* config.in: Ditto.
* sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
2005-04-20 15:00:15 +00:00
Jerome Guitton
fddc4048e5
* bfd/config.in: Regenerate.
2005-03-31 16:09:03 +00:00
Jerome Guitton
2e9ebff5c7
* bfd/config.in (HAVE_DECL_BASENAME): New configure macro.
...
* bfd/configure.in: Check for basename.
* bfd/configure: Regenerate.
2005-03-31 15:35:38 +00:00
Aaron W. LaFramboise
efa9bda482
* configure.in: Check for ffs decl and alphabetize.
...
* config.in: Regenerate.
* configure: Regenerate.
* sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and
alphabetize.
2005-03-30 02:46:25 +00:00
Nathanael Nerode
5464f5a16e
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
...
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
replace uses of *_alias with *_noncanonical.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* Makefile.in: Rebuild with automake 1.4p6.
* doc/Makefile.in: Rebuild with automake 1.4p6.
* configure.in: Autoupdate with autoupdate 2.59.
* config.in: Regenerate with autoheader 2.59.
* configure: Regnerate with autoconf 2.59.
2004-08-30 18:58:14 +00:00
Alan Modra
05864e2a71
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* Makefile.in: Regenerate.
2004-03-19 07:00:51 +00:00
Andrew Cagney
c1ea0c0914
* config.in: Re-generate.
2004-02-11 22:05:35 +00:00
Ian Lance Taylor
49c97a80e3
* configure.in: Check for strtoull.
...
* bfd.c (bfd_scan_vma): Use strtoull when available.
* configure, config.in: Regenerate.
2003-08-27 17:57:33 +00:00
Nick Clifton
e30ddb24b3
Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.
2003-06-03 16:24:06 +00:00
Alan Modra
66e25bab62
* acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
...
* configure.in (build-warnings): Likewise.
(Horrible hacks to build DLLs on Windows): Do not rely on "tail -1".
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2002-12-20 00:09:54 +00:00
Klee Dienes
93509525ce
2002-11-16 Klee Dienes <kdienes@apple.com>
...
* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo.
(BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c.
(BFD_H_FILES): Add bfdwin.c, bfdio.c.
(LIBBFD_H_FILES): Add bfdwin.c, bfdio.c.
Add dependencies for bfdwin.c, bfdio.c.
* bfd.c: Remove bfd_get_mtime, bfd_get_size.
* libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal,
bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite,
bfd_tell, bfd_flush, bfd_stat, bfd_seek.
* bfdio.c: New file. Contains real_read, bfd_bread, bfd_write,
bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime,
bfd_get_size (moved from libbfd.c and bfd.c).
* bfdwin.c New file. Contains _bfd_window_internal,
bfd_init_window, bfd_free_window, bfd_get_file_window (moved from
libbfd.c and bfd.c).
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
2002-11-16 Klee Dienes <kdienes@apple.com>
* Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi.
(PROTOS): Add bfdio.p, bfdwin.p.
(SRCDOC): Add bfdio.c, bfdwin.c.
(SRCPROT): Add bfdio.c, bfdwin.c.
(SRCIPROT): Add bfdio.c, bfdwin.c.
(LIBBFD_H_DEP): Add bfdio.c, bfdwin.c.
(BFD_H_DEP): Add bfdio.c, bfdwin.c.
Add rules for bfdio.texi, bfdwin.text.
* bfd.texinfo: Include bfdio.texi.
2002-11-18 16:37:54 +00:00
Alan Modra
8395426148
* configure.in: Revert 2002-04-07. Instead, auto-configure
...
HAVE_ST_C_IMPL.
* configure: Regenerate.
* config.in: Regenerate.
* rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL
or AIX_5_CORE.
2002-05-13 13:33:30 +00:00
Alan Modra
2c73f9d861
* Makefile.am: "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2002-02-11 05:05:09 +00:00
Nick Clifton
d1cf510e5e
Add MIPS r12k support
2001-05-23 17:26:40 +00:00
Nick Clifton
5a0a214415
Fix autoconf breakage + commit target.c, omitted in previous delta
2001-04-25 19:09:30 +00:00
Nick Clifton
b3baf5d0a8
Add OpenRISC support
2001-04-24 15:08:16 +00:00
Nick Clifton
8d88c4ca53
Add support for x86_64-*-linux-gnu* target
2000-11-30 19:16:54 +00:00
Nick Clifton
5b343f5ae8
Regenerate files using fixed aclocal install.
2000-09-06 00:13:34 +00:00
Nick Clifton
18e03609ef
Increase minor version number (to 2.10.91) to help tools detect the new
...
ability to support removal of duplciate DWARF@ debug information.
2000-09-02 21:35:47 +00:00
Michael Snyder
7ee3806531
2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
...
* elf.c: Eliminate references to __sparcv9 macro; replace with
autoconf variables HAVE_PSINFO32_T etc.
* configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
* config.in: Ditto.
* acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
* aclocal.m4: Ditto.
* configure: Regenerate.
2000-08-30 18:12:21 +00:00
Nick Clifton
16e9c715df
Apply patch from Egor Duda to process win32_pstatus notes in core dumps.
2000-01-10 18:50:16 +00:00
Ian Lance Taylor
633fd09f3c
* configure.in: Check whether getuid and getgid exist.
...
* archive.c: Define getuid and getgid as macros if HAVE_GETUID or
HAVE_GETGID are not defined, respectively.
(bfd_write_armap): Don't special case on _WIN32 for getuid and
getgid.
* configure.host: Set ac_cv_func_get{ug}id for *-*-windows*.
* configure, config.in: Rebuild.
1999-05-27 22:48:53 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00