This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/ChangeLog bfd/mach-o-i386.c bfd/mach-o ...
- From: iains at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 19 Dec 2011 15:42:37 -0000
- Subject: src bfd/ChangeLog bfd/mach-o-i386.c bfd/mach-o ...
CVSROOT: /cvs/src
Module name: src
Changes by: iains@sourceware.org 2011-12-19 15:42:37
Modified files:
bfd : ChangeLog mach-o-i386.c mach-o-target.c
mach-o-x86-64.c mach-o.c mach-o.h
gas : ChangeLog
gas/config : obj-macho.c
gas/testsuite : ChangeLog
Added files:
gas/testsuite/gas/mach-o: err-sections-1.s err-sections-2.s
sections-3.d sections-3.s
Log message:
bfd:
* mach-o-i386.c (bfd_mach_o_section_type_valid_for_tgt): Define NULL.
* mach-o-target.c (bfd_mach_o_backend_data): Initialize bfd_mach_o_section_type_valid_for_tgt
* mach-o-x86-64.c (bfd_mach_o_section_type_valid_for_x86_64): New.
(bfd_mach_o_section_type_valid_for_tgt): Set to bfd_mach_o_section_type_valid_for_x86_64.
* mach-o.c (bfd_mach_o_section_type_name): Reorder and eliminate dup.
(bfd_mach_o_section_attribute_name): Reorder.
(bfd_mach_o_get_section_type_from_name): If the target has defined a validator for section
types, then use it.
* mach-o.h (bfd_mach_o_get_section_type_from_name): Alter declaration to include the bfd.
gas:
* config/obj-macho.c (obj_mach_o_section): Account for target-dependent section
types. Improve error handling when wrong section types/attributes are specified.
gas/testsuite:
* gas/mach-o/err-sections-1.s: New.
* gas/mach-o/err-sections-2.s: New.
* gas/mach-o/sections-3.d: New.
* gas/mach-o/sections-3.s: New.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5552&r2=1.5553
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o-i386.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o-target.c.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o-x86-64.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o.c.diff?cvsroot=src&r1=1.80&r2=1.81
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/mach-o.h.diff?cvsroot=src&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4637&r2=1.4638
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/obj-macho.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1985&r2=1.1986
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mach-o/err-sections-1.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mach-o/err-sections-2.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mach-o/sections-3.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mach-o/sections-3.s.diff?cvsroot=src&r1=NONE&r2=1.1