A patch for vms-misc.c
H . J . Lu
hjl@valinux.com
Wed Jun 14 08:20:00 GMT 2000
More information about the Binutils mailing list
Wed Jun 14 08:20:00 GMT 2000
- Previous message (by thread): cvs update
- Next message (by thread): A patch for vms-misc.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got a core dump when I enabled all targets and did # objdump -d foo.o where foo.o is a coff-i386 file. -- H.J. Lu (hjl@gnu.org) -- 2000-06-14 H.J. Lu <hjl@gnu.org> * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) is NULL. Index: vms-misc.c =================================================================== RCS file: /work/cvs/gnu/binutils/bfd/vms-misc.c,v retrieving revision 1.1.1.3 diff -u -p -r1.1.1.3 vms-misc.c --- vms-misc.c 1999/07/17 20:52:33 1.1.1.3 +++ vms-misc.c 2000/06/14 14:59:44 @@ -459,6 +459,9 @@ _bfd_vms_next_record (abfd) return -1; } + if (!PRIV(vms_rec)) + return -1; + if (PRIV(is_vax)) { PRIV(rec_type) = *(PRIV(vms_rec));
- Previous message (by thread): cvs update
- Next message (by thread): A patch for vms-misc.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list