2000-11-27 Kazu Hirata <kazu@hxi.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
336eced2
KH
12000-11-27 Kazu Hirata <kazu@hxi.com>
2
3 * aout-adobe.c: Fix formatting.
244148ad
KH
4 * coff64-rs6000.c: Likewise.
5 * coffgen.c: Likewise.
6 * cofflink.c: Likewise.
336eced2 7
d71f672e
PB
82000-11-27 Philip Blundell <pb@futuretv.com>
9
10 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
11 (obj_coff_strings_written): New accessor macro for above.
12 * libcoff.h: Regenerate.
13 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
14 strings.
15 * coffcode.h (coff_write_object_contents): No need to write out
16 the string table if it's already been done.
17
bc7a577d
PB
182000-11-22 Philip Blundell <pb@futuretv.com>
19
20 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
21 weak undefined symbols.
22
077b8428
NC
232000-11-24 Nick Clifton <nickc@redhat.com>
24
25 * archures.c (bfd_mach_arm_5TE): Define.
26 (bfd_mach_arm+XScale): Define.
27 * bfd-in2.h: Regenerate.
28
29 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
30 BFD_RELOC_ARM_PCREL_BLX.
31
32 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
33 XScale machine numbers.
34
35 * config.bfd (xscale-elf): Add target.
36 (xscale-coff): Add target.
37
38 * cpu-arm.c: Add xscale machine name.
39 Add v5t, v5te and XScale machine numbers.
40
e9e41bd9
KH
412000-11-23 Kazu Hirata <kazu@hxi.com>
42
43 * aix386-core.c: Fix formatting.
44
64bf6ae6
JW
452000-11-22 Jim Wilson <wilson@redhat.com>
46
47 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
48 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
49 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
50 (ins_imms_scaled): Initialize sign_bit at function entry.
51 (elf64_ia64_operands): Add missing initializers.
52 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
53 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
54 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
55 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
56 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
57 parameters.
58 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
59 and free_extsyms at function entry.
60 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
61 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
62 (get_got): Delete unused local srel.
63 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
64 (elfNN_ia64_relocate_section): Delete unused local dynindx.
65
1abaf976
KH
662000-11-21 Kazu Hirata <kazu@hxi.com>
67
6e301b2b
KH
68 * coff-a29k.c: Fix formatting.
69 * coff-h8500.c: Likewise.
70 * coff-i960.c: Likewise.
71 * coff-ppc.c: Likewise.
72 * coff-rs6000.c: Likewise.
73 * coff-stgo32.c: Likewise.
74 * coff-tic54x.c: Likewise.
75 * coff-w65.c: Likewise.
76 * cpu-h8500.c: Likewise.
77 * cpu-hppa.c: Likewise.
78 * cpu-ns32k.c: Likewise.
79 * ecoff.c: Likewise.
1abaf976
KH
80 * ecofflink.c: Likewise.
81
a0fc8ba1
NC
822000-11-21 Nick Clifton <nickc@redhat.com>
83
84 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
85 remove possibility of infinite loop.
86
beb0d161
KH
872000-11-20 Kazu Hirata <kazu@hxi.com>
88
89 * aix386-core.c: Fix formatting.
90 * aout-adobe.c: Likewise.
91 * aout-arm.c: Likewise.
92 * aout-encap.c: Likewise.
93 * aout-ns32k.c: Likewise.
94 * aout-target.h: Likewise.
95 * aout-tic30.c: Likewise.
96 * aoutf1.h: Likewise.
97 * aoutx.h: Likewise.
98 * archive.c: Likewise.
eb6e10cb
KH
99 * bfd-in.h: Likewise.
100 * bfd-in2.h: Likewise.
101 * bfd.c: Likewise.
102 * bout.c: Likewise.
beb0d161 103
2c2475db
JW
1042000-11-17 H.J. Lu <hjl@gnu.org>
105
106 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
107 pltoff entries for DT_INIT and DT_FINI.
108 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
109 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
110 entries.
111
18b27f17
RH
1122000-11-16 Richard Henderson <rth@redhat.com>
113
114 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
115 (allocate_dynrel_entries): Likewise.
116 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
117 (set_pltoff_entry): Likewise.
118 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
119 (elfNN_ia64_reloc_type_lookup): Likewise.
120 (elfNN_ia64_install_value): Likewise.
121 (elfNN_ia64_relocate_section): Likewise.
122 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
123 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
124
98591c73
KH
1252000-11-16 Kazu Hirata <kazu@hxi.com>
126
71f6b586
KH
127 * cpu-a29k.c: Fix formatting.
128 * cpu-alpha.c: Likewise.
129 * cpu-arm.c: Likewise.
130 * cpu-avr.c: Likewise.
131 * cpu-d10v.c: Likewise.
132 * cpu-h8500.c: Likewise.
133 * cpu-hppa.c: Likewise.
134 * cpu-i370.c: Likewise.
135 * cpu-i386.c: Likewise.
136 * cpu-i960.c: Likewise.
137 * cpu-ia64-opc.c: Likewise.
138 * cpu-ia64.c: Likewise.
139 * cpu-m32r.c: Likewise.
140 * cpu-m68hc11.c: Likewise.
141 * cpu-m68hc12.c: Likewise.
142 * cpu-m68k.c: Likewise.
143 * cpu-m88k.c: Likewise.
144 * cpu-mips.c: Likewise.
145 * cpu-ns32k.c: Likewise.
146 * cpu-pj.c: Likewise.
147 * cpu-powerpc.c: Likewise.
148 * cpu-sh.c: Likewise.
149 * cpu-sparc.c: Likewise.
150 * cpu-tic54x.c: Likewise.
151 * cpu-v850.c: Likewise.
152 * cpu-vax.c: Likewise.
153 * cpu-w65.c: Likewise.
154 * cpu-we32k.c: Likewise.
155 * cpu-z8k.c: Likewise.
156 * dwarf1.c: Likewise.
98591c73
KH
157 * dwarf2.c: Likewise.
158
c5930ee6
KH
1592000-11-15 Kazu Hirata <kazu@hxi.com>
160
161 * coff-arm.c: Fix formatting.
162 * coff-ppc.c: Likewise.
163 * coff-rs6000.c: Likewise.
cbfe05c4
KH
164 * coff-sh.c: Likewise.
165 * coff-sparc.c: Likewise.
166 * coff-tic30.c: Likewise.
167 * coff-tic54x.c: Likewise.
168 * coff-tic80.c: Likewise.
169 * coff-w65.c: Likewise.
170 * coff-we32k.c: Likewise.
171 * coff-z8k.c: Likewise.
c5930ee6 172
dac544a8
RH
1732000-11-15 Richard Henderson <rth@redhat.com>
174
175 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
176 section with the same ALLOC|LOAD flags as the source section.
177
c810873d
JJ
1782000-11-14 Jakub Jelinek <jakub@redhat.com>
179
180 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
181 by STO_ALPHA constants.
182
43646c9d
KH
1832000-11-14 Kazu Hirata <kazu@hxi.com>
184
185 * coff-pmac.c: Fix formatting.
186 * coff-ppc.c: Likewise.
187
051b8577
L
1882000-11-13 H.J. Lu <hjl@gnu.org>
189
190 * elflink.h (elf_link_add_object_symbols): Also add indirect
191 symbols for common symbols with the default version.
192
90460d97
PB
1932000-11-09 Philip Blundell <pb@futuretv.com>
194
195 * section.c (STD_SECTION): Set gc_mark flag.
196
b48499ec
KH
1972000-11-11 Kazu Hirata <kazu@hxi.com>
198
199 * coff-i960.c: Likewise.
200 * coff-m68k.c: Likewise.
201 * coff-m88k.c: Likewise.
202 * coff-mcore.c: Likewise.
203 * coff-mips.c: Likewise.
204
c5aeb40f
AO
2052000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
206
207 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
208
5fcfd273
KH
2092000-11-10 Kazu Hirata <kazu@hxi.com>
210
211 * coff-h8300.c: Fix formatting.
212 * coff-h8500.c: Likewise.
213 * coff-i386.c: Likewise.
214 * coff-i860.c: Likewise.
215 * coff-i960.c: Likewise.
216 * coff-ia64.c: Likewise.
217
047066e1
KH
2182000-11-09 Kazu Hirata <kazu@hxi.com>
219
220 * archive.c: Fix formatting.
221 * archures.c: Likewise.
222
9a951beb
RH
2232000-11-07 Richard Henderson <rth@redhat.com>
224
225 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
226 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
227 * section.c (bfd_set_section_contents): Call memcpy if
228 section->contents set and location not equal to contents plus offset.
229
aebad5fe
KH
2302000-11-08 Kazu Hirata <kazu@hxi.com>
231
8546af74
KH
232 * bfd-in.h: Fix formatting.
233 * bfd-in2.h: Likewise.
234 * bfd.c: Likewise.
aebad5fe
KH
235 * binary.c: Likewise.
236 * bout.c: Likewise.
346ceb11
KH
237 * coff-a29k.c: Likewise.
238 * coff-alpha.c: Likewise.
239 * coff-apollo.c: Likewise.
240 * coff-aux.c: Likewise.
aebad5fe 241
0ef5a5bd
KH
2422000-11-07 Kazu Hirata <kazu@hxi.com>
243
244 * aix386-core.c: Fix formatting.
245 * aoutf1.h: Likewise.
246 * aoutx.h: Likewise.
247 * archures.c: Likewise.
248 * armnetbsd.c: Likewise.
249
d562d2fb
AM
2502000-11-07 Alan Modra <alan@linuxcare.com.au>
251
252 * coff-h8300.c (special): Adjust reloc address.
253
bbe66d08
JW
2542000-11-06 Steve Ellcey <sje@cup.hp.com>
255
4efc3e05 256 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
257 to differentiate elf32 and elf64 on ia64.
258 * bfd-in2.h: Regenerate.
259 * config.bfd: Add target for "ia64*-*-hpux*".
260 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
261 * configure: Regenerate.
4efc3e05 262 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
263 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
264
265 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
266 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
267 * Makefile.in: Regnerate.
4efc3e05 268 * elf64-ia64.c: Deleted.
bbe66d08
JW
269 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
270
c4dfa77f
KH
2712000-11-06 Kazu Hirata <kazu@hxi.com>
272
273 * aout-adobe.c: Fix formatting.
274 * aout-arm.c: Likewise.
275 * aout-cris.c: Likewise.
276 * aout-encap.c: Likewise.
277 * aout-ns32k.c: Likewise.
278 * aout-target.h: Likewise.
279 * aout-tic30.c: Likewise.
280
cf919dfd
PB
2812000-11-05 Philip Blundell <philb@gnu.org>
282
283 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
284 BFDs containing no sections to be merged, regardless of their flags.
285
2862000-11-04 Philip Blundell <philb@gnu.org>
287
288 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
289 if a relocation for an undefined symbol also results in an
290 overflow.
291
8848a8d0
CF
292Mon Nov 6 13:35:07 2000 Christopher Faylor <cgf@cygnus.com>
293
294 * config.bfd: Add support for Sun Chorus.
295
46d59bfa
DB
2962000-11-05 David O'Brien <obrien@FreeBSD.org>
297
298 * configure.in: Recognize alpha-*-freebsd*.
299 * configure: Regenerate.
300
420496c1
NC
3012000-11-02 Luciano Gemme <ishitawa@yahoo.com>
302
303 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
304 (Chunk): New global variable set by a parameter in objcopy.c.
305 (S3Forced): New global variable set by a parameter in
306 objcopy.c.
307 (srec_set_section_contents): If S3Forced is true, always generate
308 S3 records.
309 (srec_write_section): Use 'Chunk' to limit maximum length of S
310 records.
311
59ff2774
NC
3122000-11-02 Per Lundberg <plundis@chaosdev.org>
313
314 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
315 * Makefile.in: Regenerate.
316 * bfd-in2.h: Regenerate.
317 * po/bfd.pot: Regenerate.
318
ee43f35e
PB
3192000-10-31 Philip Blundell <philb@gnu.org>
320
321 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
322 EF_SOFT_FLOAT if it is defined.
323
1006ba19
PB
3242000-10-27 Philip Blundell <philb@gnu.org>
325
326 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
327 attempts to mix PIC code with non-PIC, just mark the output as
328 being position dependent.
329 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
330 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
331 all mismatches, not just the first one.
332
c4920b97
NC
3332000-10-25 Chris Demetriou <cgd@sibyte.com>
334
335 * ieee.c (ieee_archive_p): Plug one of many possible
336 memory leaks in error handling.
337
19f7b010
JJ
3382000-10-20 Jakub Jelinek <jakub@redhat.com>
339
340 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
341 elf32_sparc_object_p, elf32_sparc_final_write_processing):
342 Support v8plusb.
343 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
344 sparc64_elf_object_p): Support v9b.
345 * archures.c: Declare v8plusb and v9b machines.
346 * bfd-in2.h: Ditto.
347 * cpu-sparc.c: Ditto.
348
e1e0340b
GK
3492000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
350
ea5fbc67
GK
351 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
352 of a GOT reloc.
353
e1e0340b
GK
354 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
355 (SYMBOL_CALLS_LOCAL): New macro.
356 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
357 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
358 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
359 (ppc_elf_relocate_section): Use flag variable to determine
360 whether the relocation refers to a local symbol.
361 Test whether a PLTREL24 reloc will produce a reloc by looking
362 to see whether a PLT entry was made.
363
a4b120e1
GK
3642000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
365
366 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
367 entries that could serve as a definition for a weak symbol.
368
5af5b85b
UC
3692000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
370
371 From Ralf Baechle <ralf@gnu.org>
372
373 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
374 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
375 against local symbols.
376 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
377
3ef20aaa
AM
3782000-10-12 Alan Modra <alan@linuxcare.com.au>
379
24376d1b
AM
380 * section.c (struct sec): Add kept_section.
381 (struct bfd_comdat_info): Remove sec, we can use above.
382 (STD_SECTION): Add initializer.
383 (bfd_make_section_anyway): Init here too.
384
385 * bfd-in2.h: Regenerate.
386
387 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
388 zeroing of `flags'.
389 (elf_link_input_bfd): Set all asection->symbol->value's here, and
390 fudge values for discarded link-once section symbols.
391
3ef20aaa
AM
392 * elf64-hppa.c: Include alloca-conf.h
393
c0e219cc
AM
3942000-10-11 Alan Modra <alan@linuxcare.com.au>
395
d01e2a23
AM
396 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
397
c0e219cc
AM
398 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
399
fe268b66
AM
4002000-10-10 Alan Modra <alan@linuxcare.com.au>
401
402 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
403
4d7ce4dd
AM
4042000-10-10 Tom Rix <trix@redhat.com>
405
406 * section.c (bfd_make_section_anyway): Release newsect ptr when
407 newsect->symbol fails to alloc. Use bfd_release instead of free.
408
f3b6f7c3
RH
4092000-10-09 Richard Henderson <rth@cygnus.com
410
411 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
412 (elf64_ia64_unwind_entry_compare): New.
413 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
414
44852b19
AM
4152000-10-07 Alan Modra <alan@linuxcare.com.au>
416
fc8c40a0
AM
417 * elflink.h (size_dynamic_sections): Don't create various tags if
418 .dynstr is excluded from the link. Don't set first dynsym entry
419 if dynsymcount is zero.
420 (elf_bfd_final_link): Don't try to swap out dynamic syms if
421 .dynsym excluded from the link. Don't try to write any dynamic
422 sections excluded from the link.
423
44852b19
AM
424 * elf.c (swap_out_syms): Handle global section symbols.
425
3e4554a2
DD
4262000-10-05 DJ Delorie <dj@redhat.com>
427
428 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
429 * coffcode.h (coff_set_alignment_hook): read extended reloc count
430 (coff_write_relocs): write extended reloc count
431 (coff_write_object_contents): account for extended relocs
432
fa152c49
JW
4332000-10-05 Jim Wilson <wilson@cygnus.com>
434
435 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
436 field.
437 * elf.c (_bfd_elf_make_section_from_shdr): Call the
438 elf_backend_section_flags function.
439 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
440 code.
441 (elf64_ia64_section_flags): New function containing flag conversion
442 code.
443 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
444 * elfxx-target.h (elf_backend_section_flags): Define.
445 (elfNN_bed): Initialize elf_backend_section_flags field.
446
36605136
AM
4472000-10-02 Alan Modra <alan@linuxcare.com.au>
448
449 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
450 _bfd_elf32_gc_record_vtable. Correct a comment.
451
4b6609a0
UC
4522000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
453
454 From Ralf Baechle <ralf@gnu.org>
455
456 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
457 produces binaries with got[1] = 0x80000001 to differenciate them
458 for the dynamic linker from the broken binaries produced by old
459 versions.
36605136 460
f572a39d
AM
4612000-09-30 Petr Sorfa <petrs@sco.com>
462
463 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
464 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
465 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
466 * configure: Regenerate.
467
4da81684
HPN
4682000-09-27 Hans-Peter Nilsson <hp@axis.com>
469
470 Define two bfd_targets for absence and presence of leading
471 underscore on symbols. Make sure to only link same kind.
472 * elf32-cris.c (cris_elf_object_p,
473 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
474 cris_elf_merge_private_bfd_data): New.
475 (elf_backend_object_p, elf_backend_final_write_processing,
476 bfd_elf32_bfd_print_private_bfd_data,
477 bfd_elf32_bfd_merge_private_bfd_data): Define.
478 <Target vector definition>: Include elf32-target.h twice with
479 different macro settings:
480 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
481 bfd_elf32_us_cris_vec.
482 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
483 (elf_symbol_leading_char): First as 0, then '_'.
484 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
485 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
486 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
487 * configure: Regenerate.
488 * targets.c: Declare bfd_elf32_us_cris_vec.
489 * po/bfd.pot: Regenerate.
490
9a5aca8c
AM
4912000-09-29 Momchil Velikov <velco@fadata.bg>
492
493 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
494 R_ARM_THM_PC22 relocations.
495
512a2384
AM
4962000-09-29 NIIBE Yutaka <gniibe@chroot.org>
497
498 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
499
6c99a5c3
AM
5002000-09-29 Momchil Velikov <velco@fadata.bg>
501
502 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
503 is has the SEC_HAS_CONTENTS flag set.
504