[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] ld MiNT options



Hello.

I've made a minor update of the MiNT patch for the binutils.
Now ld can display the help for the MiNT specific options.

$ m68k-atari-mint-ld --target-help
m68kmint:
  --m[no-]fastload            Enable/Disable not cleaning the heap on startup
  --m[no-]altram, --m[no-]fastram
                              Enable/Disable loading into alternate RAM
  --m[no-]altalloc, --m[no-]fastalloc
                              Enable/Disable malloc from alternate RAM
  --m[no-]best-fit            Enable/Disable loading with optimal heap size
  --m[no-]sharable-text, --m[no-]shared-text, --m[no-]baserel
                              Enable/Disable sharing the text segment

The following memory options are mutually exclusive:
  --mprivate-memory           Process memory is not accessible
  --mglobal-memory            Process memory is readable and writable
  --msuper-memory             Process memory is accessible in supervisor mode
  --mreadonly-memory, --mreadable-memory
                              Process memory is readable but not writable

  --mprg-flags <value>        Set all the flags with an integer raw value


Note that these options are not new.
They were already present in the old binutils patches,
but now they are documented !

Example with GCC :
$ m68k-atari-mint-gcc hello.c -o hello.tos -Wl,--mno-altram

--
Vincent Rivière