aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
AgeCommit message (Collapse)AuthorFilesLines
2002-03-21 * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.Alan Modra1-1/+1
Whitespace changes. * archive.c: Update copyright date. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2002-03-18 * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.Alan Modra1-2/+4
* libbfd.h: Regenerate. * archive.c (coff_write_armap): Pass on failures from bfd_write_bigendian_4byte_int.
2001-12-05 * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS andThiemo Seufer1-1/+6
BFD64_LIBS, make the latter depending on the availability of BFD64. Add archive64.c source file. * archive64.c: New file implementing bfd_elf64_archive_slurp_armap and bfd_elf64_archive_write_armap, code from elf64-mips.c * archive.c (bfd_slurp_armap): Add ELF64 archive support. * config.bfd (mips*-*-irix6*): Allow with BFD64 only. (mips64*el-*-linux*): Likewise. (mips*el-*-linux*): Likewise. Reorder entries. * configure.in (bfd_libs): Define in dependency of BFD64 and AC_SUBST it. * elf64-mips.c (mips_elf64_slurp_armap): Remove, use bfd_elf64_archive_slurp_armap instead. (mips_elf64_write_armap): Remove, use bfd_elf64_archive_write_armap instead.
2001-10-10 * aout-encap.c: Fix comment typos.Kazu Hirata1-1/+1
* aoutx.h: Likewise. * archive.c: Likewise. * bout.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * coff-mips.c: Likewise. * ecoff.c: Likewise. * elf32-m32r.c: Likewise. * libcoff-in.h: Likewise. * libecoff.h: Likewise. * libxcoff.h: Likewise. * nlm32-i386.c: Likewise. * pdp11.c: Likewise. * section.c: Likewise. * som.c: Likewise. * som.h: Likewise. * bfd-in2.h: Regenerate. * libcoff.h: Likewise.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-2/+2
2001-09-18Touches most files in bfd/, so likely will be blamed for everything..Alan Modra1-110/+113
o bfd_read and bfd_write lose an unnecessary param and become bfd_bread and bfd_bwrite. o bfd_*alloc now all take a bfd_size_type arg, and will error if size_t is too small. eg. 32 bit host, 64 bit bfd, verrry big files or bugs in linker scripts etc. o file_ptr becomes a bfd_signed_vma. Besides matching sizes with various other types involved in handling sections, this should make it easier for bfd to support a 64 bit off_t on 32 bit hosts that provide it. o I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*) generally available. They now cast their args to bfd_vma and bfd_byte * as appropriate, which removes a swag of casts from the source. o Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and aout-encap.c. o Zillions of formatting and -Wconversion fixes.
2001-08-19 * archive.c (offsetof): Remove define.Alan Modra1-6/+0
* elf.c: Likewise. * oasys.c: Likewise * sysdep.h (offsetof): Define.
2001-08-17 * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.Alan Modra1-4/+8
(bfd_errmsgs): Add corresponding message. * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when finding an archive that contains different format object files. Return bfd_error_wrong_object_format for this case. * format.c: Formatting fixes. s/CONST/const/. (bfd_check_format_matches): Accept archives that give bfd_error_wrong_object_format if no full match is found. Tidy code handling matching_vector. Don't return a pointer to freed memory in `matching'. Handle ambiguous matches as for partial archive matches. * bfd-in2.h: Regenerate.
2001-03-08Update copyright noticesNick Clifton1-1/+2
2000-12-25* archive.c (coff_write_armap): Don't write more than symbol_countAlexandre Oliva1-1/+1
`archive_member_file_ptr's.
2000-11-202000-11-20 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-2/+2
* aix386-core.c: Fix formatting. * aout-adobe.c: Likewise. * aout-arm.c: Likewise. * aout-encap.c: Likewise. * aout-ns32k.c: Likewise. * aout-target.h: Likewise. * aout-tic30.c: Likewise. * aoutf1.h: Likewise. * aoutx.h: Likewise. * archive.c: Likewise.
2000-11-102000-11-09 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-86/+104
* archive.c: Fix formatting. * archures.c: Likewise.
2000-09-082000-09-08 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-30/+25
* archive.c: Fix formatting. * coff-arm.c: Likewise. * doc/chew.c: Likewise.
2000-07-07* archive.c (_bfd_write_archive_contents): Add an informativeDJ Delorie1-0/+5
comment.
2000-06-20Correct pointer comparisons relying on NULL less than any other pointer.Alan Modra1-3/+3
Alexander Aganichev's fix for ieee.c
2000-05-26Eli Zaretskii's DOSish file name patches.Alan Modra1-1/+34
2000-04-24 * archive.c (hpux_uid_gid_encode): New function.Jeff Law1-5/+56
(bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is defined and the ID is greater than 99999. (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode special uid/gid fields into 32 bit values.
1999-12-10Revert previous patch.Nick Clifton1-11/+9
1999-12-10Change AR for ELF so that common symbols are not included in archive map.Nick Clifton1-9/+11
Change LD for ELF so that archive elements whoes archive map contains a reference to a common symbol will get linkled in. Add new field to bfd_target structure and initialise it for all bfd targets.
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-1/+1
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf1.c (parse_line_table): Change eachLine to unsigned long. (dwarf1_unit_find_nearest_line): Change i to unsigned long.
1999-05-27 * configure.in: Check whether getuid and getgid exist.Ian Lance Taylor1-6/+9
* 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-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+2127