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: [vms/committed]: Handle LIB$INITIALIZE


On Jun 16, 2010, at 8:08 PM, Tom Tromey wrote:

>>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:
> 
> Tristan> bfd/
> Tristan> 2010-06-02  Tristan Gingold  <gingold@adacore.com>
> Tristan> 	* vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant.
> 
> Even with this patch, on my Fedora 11 x86 box I get:
> 
> cc1: warnings being treated as errors
> ../../src/bfd/vms-alpha.c: In function ‘alpha_vms_bfd_final_link’:
> ../../src/bfd/vms-alpha.c:8694: error: large integer implicitly truncated to unsigned type

This patch should fix that.  I have tested on my machine using a 32 bits compiler and configuring
with --enable-targets=all.
Can you confirm ?

Nick, is it OK to commit ?

Tristan.

bfd/
2010-06-17  Tristan Gingold  <gingold@adacore.com>

	* Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ...
	(BFD64_BACKENDS_CFILES): ... here.
	(BFD32_BACKENDS): Move vms-alpha.lo to ...
	(BFD64_BACKENDS): ... here.
	* Makefile.in: Regenerate.


Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.248
diff -c -p -r1.248 Makefile.am
*** Makefile.am	14 May 2010 07:18:37 -0000	1.248
--- Makefile.am	17 Jun 2010 07:58:16 -0000
*************** BFD32_BACKENDS = \
*** 391,397 ****
  	vaxbsd.lo \
  	vaxnetbsd.lo \
  	versados.lo \
- 	vms-alpha.lo \
  	vms-lib.lo \
  	vms-misc.lo \
  	xcofflink.lo \
--- 391,396 ----
*************** BFD32_BACKENDS_CFILES = \
*** 573,579 ****
  	vaxbsd.c \
  	vaxnetbsd.c \
  	versados.c \
- 	vms-alpha.c \
  	vms-lib.c \
  	vms-misc.c \
  	xcofflink.c \
--- 572,577 ----
*************** BFD64_BACKENDS = \
*** 617,623 ****
  	pei-ia64.lo \
  	pei-x86_64.lo \
  	pepigen.lo \
! 	pex64igen.lo
  
  BFD64_BACKENDS_CFILES = \
  	aix5ppc-core.c \
--- 615,622 ----
  	pei-ia64.lo \
  	pei-x86_64.lo \
  	pepigen.lo \
! 	pex64igen.lo \
! 	vms-alpha.lo
  
  BFD64_BACKENDS_CFILES = \
  	aix5ppc-core.c \
*************** BFD64_BACKENDS_CFILES = \
*** 646,652 ****
  	nlm64.c \
  	pe-x86_64.c \
  	pei-ia64.c \
! 	pei-x86_64.c
  
  OPTIONAL_BACKENDS = \
  	aix386-core.lo \
--- 645,652 ----
  	nlm64.c \
  	pe-x86_64.c \
  	pei-ia64.c \
! 	pei-x86_64.c \
! 	vms-alpha.c
  
  OPTIONAL_BACKENDS = \
  	aix386-core.lo \


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