[PATCH]: New options for HC11/HC12 gas to specify the ABI

Stephane Carrez stcarrez@nerim.fr
Sun Dec 1 02:20:00 GMT 2002


Hi!

The HC11/HC12 port stores in the elf flags the ABI (16/32 bit int, 32/64 bit double).
It is possible to control the ABI by using a .mode opcode in gas.  This patch adds
several options to specify the ABI from the command line.  Options are named to follow
gcc (or be close to it).  Use of these options is easier in most cases.

I've committed this patch with associated doc.

	Stephane

2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>

	* config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
	(32-bit int, 64-bit double).
	(md_longopts): New options -mshort, -mlong, -mshort-double and
	-mlong-double to control the ABI.
	(md_show_usage): Update.
	(md_parse_option): Handle new options.
	* doc/as.texinfo (Overview): Document new options for HC11/HC12.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-m68hc11.c.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20021201/7f0f6ce7/attachment.ksh>


More information about the Binutils mailing list