Add `set print max-symbolic-offset' doc.
[deliverable/binutils-gdb.git] / gas / NOTES
CommitLineData
07c788ce 1-*- text -*-
0e39a8bb 2
07c788ce 3PORTING:
542e1629 4
07c788ce
KR
5Sorry, no description of the interfaces is written up yet. Look at
6existing back ends and work from there.
7
8New hosts: If your host system has a strange header file setup, create
9a config/ho-foo.h file for it and include the appropriate header files
10or definitions there. If your host has a broken compiler, or some
11broken macros in header files, create a host-specific file and repair
12the damage there. (See, for example, ho-rs6000.h. The "assert" macro
13on that system doesn't work right, and a flag is set to rewrite an
14expression in tc-m68k.c that the native compiler mis-compiles.)
15
16New target formats: Look at the BFD_ASSEMBLER code. The a.out code
17might be a fair example. There are no "good" examples yet,
18unfortunately.
19
20New target processors: Check first to see if the BFD_ASSEMBLER
21interface is supported by the file format code you need to use.
22
23New environments: ???
24
25DOCUMENTATION:
26
27The internals of gas need documenting.
28
29Roland's going to work on removing the m4 processing from the user
30documentation. With the latest texinfo code, it's not needed.
31
32Anyone want to offer to maintain a man page?
33
34BFD CONVERSION:
35
36The "#ifdef BFD_ASSEMBLER" code is on its way in; the "#ifndef
37BFD_ASSEMBLER" code is on its way out. The new code uses BFD data
38structures, and calls BFD for anything that needs to be written to the
39output file. The old code did all the writing itself, or in a couple
40of cases, used BFD as a slightly higher level than stdio (i.e.,
41bfd_seek, bfd_write -- these are not the preferred interface).
42
43Because of this, some of this code is messy. Lots of ifdef's, and the
44non-BFD_ASSEMBLER version often has multiple conditional tests inside
45it for various processors or formats. As the various targets get
46converted over, these will gradually go away.
47
48As of the moment I'm editing this file, only the "sun4" target can
49really use the BFD code. Other back ends still need merging or
50touching up.
51
52TO DO:
53
54Remove DONTDEF code, commented-out code.
55
56Eliminate, as much as possible, anything not in config that is
57conditionalized on a CPU, format, or environment.
58
59Finish conversion to using BFD for all object file writing. (This is
60the BFD_ASSEMBLER code, not BFD or BFD_HEADERS.) VMS might be the
61tough one here, since there's no BFD support for it at all yet.
62Eliminate the old code.
63
64Clean up comments; lots of 'em are one previous maintainer griping
65about another previous maintainer, unrelated to the code. (And with
66no names, they're not so fun to read. :-)
67
68Get Steve to document H8/500 stuff.
69
70(From old "NOTES" file to-do list, not really reviewed:)
71
72fix relocation types for i860, perhaps by adding a ref pointer to fixS?
c6cfc5b5 73
0e39a8bb 74remove the ifdef's from fx_callj tests?
0e39a8bb 75
07c788ce 76space tighten sparc alignment?
542e1629 77
07c788ce 78md_ => tc_
0e39a8bb 79
07c788ce 80share b.out with a.out.
This page took 0.064947 seconds and 4 git commands to generate.