diff options
author | Alan Modra <amodra@gmail.com> | 2014-07-01 20:43:14 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-07-01 20:43:14 +0930 |
commit | b6a1c03a9547590a35fccda9ae358fb1cfd8befa (patch) | |
tree | 85640db2702d85999f653672fd20308603963be8 /bfd/coff-tic4x.c | |
parent | 7341d5e22f1061016411734ba162d362ac5928db (diff) | |
download | gdb-b6a1c03a9547590a35fccda9ae358fb1cfd8befa.zip gdb-b6a1c03a9547590a35fccda9ae358fb1cfd8befa.tar.gz gdb-b6a1c03a9547590a35fccda9ae358fb1cfd8befa.tar.bz2 |
Reorganise struct bfd
for better packing. Removes a field and a flag that are never set.
bfd/
* bfd.c (struct bfd): Reorganise for better packing. Delete
"ifd" field. Make "format", "direction" and "flags" bitfields.
(HAS_LOAD_PAGE): Delete, renumber following flags.
* bfd-in2.h: Regenerate.
* coff-tic4x.c: Remove HAS_LOAD_PAGE from extra flags in target vecs.
binutils/
* objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
Diffstat (limited to 'bfd/coff-tic4x.c')
-rw-r--r-- | bfd/coff-tic4x.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/coff-tic4x.c b/bfd/coff-tic4x.c index 36a8901..1e7166f 100644 --- a/bfd/coff-tic4x.c +++ b/bfd/coff-tic4x.c @@ -261,30 +261,30 @@ tic4x_reloc_processing (arelent *relent, /* TI COFF v0, DOS tools (little-endian headers). */ CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', NULL, &ticoff0_swap_table); /* TI COFF v0, SPARC tools (big-endian headers). */ CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', &tic4x_coff0_vec, &ticoff0_swap_table); /* TI COFF v1, DOS tools (little-endian headers). */ CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', &tic4x_coff0_beh_vec, &ticoff1_swap_table); /* TI COFF v1, SPARC tools (big-endian headers). */ CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', &tic4x_coff1_vec, &ticoff1_swap_table); /* TI COFF v2, TI DOS tools output (little-endian headers). */ CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); /* TI COFF v2, TI SPARC tools output (big-endian headers). */ CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", - HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_', + 0, SEC_CODE | SEC_READONLY, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); |