[patch/coff] Remove exec_hdr
Tristan Gingold
gingold@adacore.com
Wed Mar 30 10:12:00 GMT 2011
More information about the Binutils mailing list
Wed Mar 30 10:12:00 GMT 2011
- Previous message (by thread): [patch] xcoff: silently ignore C_NULL symbol whose value is C_NULL_VALUE
- Next message (by thread): [patch/coff] Remove exec_hdr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, the definition of libcoff.h:exec_hdr references the 'hdr' field of struct coff_tdata, but this field doesn't exist. A quick grep also shows that this macro is not used (hopefully). So I propose a little cleanup: removing this macro. Sanity-checked by rebuilding powerpc-ibm-aix. Ok for trunk ? Tristan. bfd/ 2011-03-30 Tristan Gingold <gingold@adacore.com> * libcoff-in.h (exec_hdr): Remove. * libcoff.h: Regenerate. diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index e2b60c5..9d24748 100644 --- a/bfd/libcoff-in.h +++ b/bfd/libcoff-in.h @@ -26,7 +26,6 @@ /* Object file tdata; access macros. */ #define coff_data(bfd) ((bfd)->tdata.coff_obj_data) -#define exec_hdr(bfd) (coff_data (bfd)->hdr) #define obj_pe(bfd) (coff_data (bfd)->pe) #define obj_symbols(bfd) (coff_data (bfd)->symbols) #define obj_sym_filepos(bfd) (coff_data (bfd)->sym_filepos)
- Previous message (by thread): [patch] xcoff: silently ignore C_NULL symbol whose value is C_NULL_VALUE
- Next message (by thread): [patch/coff] Remove exec_hdr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list