This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: implement BSD 4.4 archive writer


On Jan 29, 2010, at 10:13 PM, Steve Ellcey wrote:

> This broke my PA32 (hppa2*-hp-hpux*) bfd build.  I get:
> 
> /proj/opensrc/nightly/src/src/bfd/som.c:6405: error: 'som_write_ar_hdr' undeclared here (not in a function)
> make[3]: *** [som.lo] Error 1
> 
> Do we need to add something to implement this on pa (som) systems or do
> we just disable it for this system?

Hi,

I am committing this as obvious to fix build on hp-pa.  Tested manually.

Sorry for the breakage.

Tristan.

bfd/

2010-02-01  Tristan Gingold  <gingold@adacore.com>

	* som.c (som_write_ar_hdr): Define this macro.

Index: som.c
===================================================================
RCS file: /cvs/src/src/bfd/som.c,v
retrieving revision 1.78
diff -c -r1.78 som.c
*** som.c	11 Dec 2009 15:42:38 -0000	1.78
--- som.c	1 Feb 2010 13:09:06 -0000
***************
*** 6324,6329 ****
--- 6324,6330 ----
  
  #define	som_close_and_cleanup		        som_bfd_free_cached_info
  #define som_read_ar_hdr			        _bfd_generic_read_ar_hdr
+ #define som_write_ar_hdr		        _bfd_generic_write_ar_hdr
  #define som_openr_next_archived_file	        bfd_generic_openr_next_archived_file
  #define som_get_elt_at_index		        _bfd_generic_get_elt_at_index
  #define som_generic_stat_arch_elt	        bfd_generic_stat_arch_elt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]