Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv7697
Added Files:
objtools.info objtools.patch
Log Message:
Add objtools package, which contains objcopy, objdump and readelf from
binutils, missing in the Developer Tools
--- NEW FILE: objtools.patch ---
diff -Nurd binutils-2.22/bfd/bfd-in.h binutils-2.22-patched/bfd/bfd-in.h
--- binutils-2.22/bfd/bfd-in.h 2011-09-16 03:15:18.000000000 +0200
+++ binutils-2.22-patched/bfd/bfd-in.h 2012-06-06 00:47:28.000000000 +0200
@@ -286,7 +286,7 @@
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)),
((ptr)->user_set_vma = TRUE), TRUE)
+#define bfd_set_section_vma(bfd, ptr, val) ((ptr)->vma = (ptr)->lma = (val))
|| ((ptr)->user_set_vma = TRUE)
#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power =
(val)),TRUE)
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata =
(val)),TRUE)
/* Find the address one past the end of SEC. */
@@ -514,7 +514,7 @@
#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
-#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
+#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool)
extern bfd_boolean bfd_cache_close
(bfd *abfd);
diff -Nurd binutils-2.22/bfd/bfd-in2.h binutils-2.22-patched/bfd/bfd-in2.h
--- binutils-2.22/bfd/bfd-in2.h 2011-09-16 03:15:18.000000000 +0200
+++ binutils-2.22-patched/bfd/bfd-in2.h 2012-06-06 00:47:39.000000000 +0200
@@ -293,7 +293,7 @@
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)),
((ptr)->user_set_vma = TRUE), TRUE)
+#define bfd_set_section_vma(bfd, ptr, val) ((ptr)->vma = (ptr)->lma = (val))
|| ((ptr)->user_set_vma = TRUE)
#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power =
(val)),TRUE)
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata =
(val)),TRUE)
/* Find the address one past the end of SEC. */
@@ -521,7 +521,7 @@
#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
-#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
+#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool)
extern bfd_boolean bfd_cache_close
(bfd *abfd);
--- NEW FILE: objtools.info ---
Package: objtools
Version: 2.22
Revision: 1
Maintainer: Sjors Gielen <[email protected]>
License: LGPL2
Description: . objcopy, objdump and readelf from binutils
Source: mirror:gnu:binutils/binutils-%v.tar.bz2
Source-MD5: ee0f10756c84979622b992a4a61ea3f5
PatchFile: objtools.patch
PatchFile-MD5: 46c7844a1fe9dfc5148615d5db251140
CompileScript: <<
#!/bin/sh -ev
cd bfd
./configure %c
make bfdver.h
make targmatch.h
make libbfd.la
cd ../libiberty
./configure %c
make libiberty.a
cd ../opcodes
./configure %c
make libopcodes.la
cd ../binutils
./configure %c
make objcopy
make objdump
make readelf
<<
InstallScript: <<
mkdir -p %i/bin
cp binutils/objcopy %i/bin
cp binutils/objdump %i/bin
cp binutils/readelf %i/bin
<<
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs