Update the address and phone number of the FSF
[deliverable/binutils-gdb.git] / gas / config / obj-hp300.c
CommitLineData
252b5132 1/* This file is obj-hp300.h
44f2f9d2 2 Copyright 1993, 2000, 2005 Free Software Foundation, Inc.
252b5132
RH
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
bf514e21 17 along with GAS; see the file COPYING. If not, write to the Free
4b4da160
NC
18 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19 02110-1301, USA. */
252b5132
RH
20
21#include "config/obj-aout.c"
22
23/* Aout file generation & utilities */
24void
25hp300_header_append (where, headers)
26 char **where;
27 object_headers *headers;
28{
29 tc_headers_hook (headers);
30
31#define DO(FIELD) \
32 { \
44f2f9d2
AM
33 md_number_to_chars (*where, headers->header.FIELD, \
34 sizeof (((struct exec_bytes *) 0)->FIELD)); \
35 *where += sizeof (((struct exec_bytes *) 0)->FIELD); \
252b5132
RH
36 }
37
38 DO (a_info);
39 DO (a_spare1);
40 DO (a_spare2);
bf514e21
KH
41 DO (a_text);
42 DO (a_data);
43 DO (a_bss);
44 DO (a_trsize);
252b5132
RH
45 DO (a_drsize);
46 DO (a_spare3);
47 DO (a_spare4);
48 DO (a_spare5);
bf514e21 49 DO (a_entry);
252b5132
RH
50 DO (a_spare6);
51 DO (a_spare7);
bf514e21 52 DO (a_syms);
252b5132
RH
53 DO (a_spare8);
54}
This page took 0.348868 seconds and 4 git commands to generate.