[Bug gas/2991] incbin broken on Cygwin CR/LF

2006-08-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2006-08-02 14:21 
---
Created an attachment (id=1191)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1191&action=view)
Use same configure logic as BFD library to determine which fopen-*.h header to
include


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2991

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/2991] incbin broken on Cygwin CR/LF

2006-08-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2006-08-02 14:25 
---
Hi Vincent,

  Using the USE_BINARY_FOPEN logic is the right way to go.  It makes GAS
consistent with the BFD library and the linker.  So I have applied the uploaded
patch to do this.

Cheers
  Nick

gas/ChangeLog
2006-08-02  Nick Clifton  <[EMAIL PROTECTED]>

PR gas/2991
* acinclude.m4 (BFD_BINARY_FOPEN): Import this function from
bfd/aclocal.m4.
* configure.in: Run BFD_BINARY_FOPEN.
* configure: Regenerate.
* as.h: Look at USE_BINARY_FOPEN to decide which fopen-*.h header
file to include.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=2991

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/2993] New: compile error bfd.c: noreturn function does return

2006-08-02 Thread lts-rudolph at gmx dot de
after configure --target=arm-elf --prefix=/opt/arm
make

the compile beaks with:
make[2]: Entering directory 
`/home/user01_nfs/rudolphk/work/binutils-2.17/bfd/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user01_nfs/rudolphk/work/binutils-2.17/bfd/po'
make[2]: Entering directory `/home/user01_nfs/rudolphk/work/binutils-2.17/bfd'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I.
-I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl   -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2  -c -o bfd.lo bfd.c
gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include
-I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Werror -g -O2 -c bfd.c -o bfd.o
cc1: warnings being treated as errors
bfd.c: In function `_bfd_abort':
bfd.c:796: warning: `noreturn' function does return
make[2]: *** [bfd.lo] Error 1
make[2]: Leaving directory `/home/user01_nfs/rudolphk/work/binutils-2.17/bfd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user01_nfs/rudolphk/work/binutils-2.17/bfd'
make: *** [all] Error 2

host system uses:
gcc (GCC) 3.2.3

-- 
   Summary: compile error bfd.c: noreturn function does return
   Product: binutils
   Version: 2.17
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: lts-rudolph at gmx dot de
CC: bug-binutils at gnu dot org
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: arm-elf


http://sourceware.org/bugzilla/show_bug.cgi?id=2993

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/2983] [patch] please do FreeBSD elfosabi marking also for amd64

2006-08-02 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2006-08-02 15:49 
---
Hi Petr,

  I have applied your patch along with these ChangeLog entries.

Cheers
  Nick

bfd/ChangeLog
2006-08-02  Petr Salinger  <[EMAIL PROTECTED]>

PR binutils/2983
* elf64-x86-64.c: Add FreeBSD support.
(elf64_x86_64_fbsd_post_process_headers): New function.
* targets.c (_bfd_target_vector): Add bfd_elf64_x86_64_freebsd_vec.
* config.bfd (x64_64-*-freebsd*): Add bfd_elf64_x86_64_freebsd_vec
to the targ_selvecs.
* configure.in: Add entry for bfd_elf64_x86_64_freebsd_vec.
* configure: Regenerate.

gas/ChangeLog
2006-08-02  Petr Salinger  <[EMAIL PROTECTED]>

PR binutils/2983
* config/tc-i386.c (md_parse_option): Treat any target starting
with elf64_x86_64 as a viable target for the -64 switch.
(i386_target_format): For 64-bit ELF flavoured output use
ELF_TARGET_FORMAT64.
* config/tc-i386.h (ELF_TARGET_FORMAT64): Define.

ld/ChangeLog
2006-08-02  Petr Salinger  <[EMAIL PROTECTED]>

PR binutils/2983
* emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
elf64-x86-64-freebsd.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=2983

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/2991] incbin broken on Cygwin CR/LF

2006-08-02 Thread vincent dot riviere at freesbee dot fr

--- Additional Comments From vincent dot riviere at freesbee dot fr  
2006-08-02 21:03 ---
Sorry, it doesn't work.
Did you forget autoheader ?

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


http://sourceware.org/bugzilla/show_bug.cgi?id=2991

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/2724] GAS segmentation fault when target=coff and enabled-target=elf

2006-08-02 Thread ed dot reed at aesec dot com

--- Additional Comments From ed dot reed at aesec dot com  2006-08-02 21:09 
---
I've retested this with binutils-2.17 and it has the same problem.

Configuration is:
==
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host dell450:
#
# src/configure  --prefix=/usr/local/binutils-2.17-coff+elf32 --target=i386-coff
--enable-targets=i586-elf

==
It compiles and builds cleanly (gcc = 4.1.0, SuSE distribution).

Running gas/as-new with no command line arguments results in a segfault.  Normal
behavior is to sit awaiting source lines from standard input until a ctl-D.

Configuring without the --enable-targets=i586-elf bit produces as-new which does
not segfault, but sits awaiting soure lines from standard input.

So, the problem still exists.

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |
Version|2.16|2.17


http://sourceware.org/bugzilla/show_bug.cgi?id=2724

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils