public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Saagar Jha <saagar@saagarjha.com>
To: binutils@sourceware.org
Cc: gdb-patches@sourceware.org
Subject: [PATCH] Use new Darwin operating system names
Date: Sun, 28 Oct 2018 03:57:00 -0000	[thread overview]
Message-ID: <CD426AC5-AC51-42EC-8FBE-965BAAC6A610@saagarjha.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

I’ve taken the liberty to update the operating system names in include/mach-o/loader.h to use their modern spellings.

Regards,
Saagar Jha

[-- Attachment #2: Use-new-Darwin-operating-system-names.patch --]
[-- Type: application/octet-stream, Size: 1952 bytes --]

From bc2e3bc8c0cb1d4d407598952613ab12bfc167a8 Mon Sep 17 00:00:00 2001
From: Saagar Jha <saagar@saagarjha.com>
Date: Fri, 26 Oct 2018 04:44:28 -0700
Subject: [PATCH 2/5] Use new Darwin operating system names

Replace MacOSX with macOS, IOS with iOS, and WatchOS with watchOS.

ChangeLog:
2018-10-26  Saagar Jha  <saagar@saagarjha.com>

	* include/mach-o/loader.h: Use new OS names.
---
 include/mach-o/loader.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/mach-o/loader.h b/include/mach-o/loader.h
index c075a8e023..2c02102c9f 100644
--- a/include/mach-o/loader.h
+++ b/include/mach-o/loader.h
@@ -174,8 +174,8 @@ typedef enum bfd_mach_o_load_command_type
   BFD_MACH_O_LC_ENCRYPTION_INFO = 0x21, /* Encrypted segment info.  */
   BFD_MACH_O_LC_DYLD_INFO = 0x22,	/* Compressed dyld information.  */
   BFD_MACH_O_LC_LOAD_UPWARD_DYLIB = 0x23, /* Load upward dylib.  */
-  BFD_MACH_O_LC_VERSION_MIN_MACOSX = 0x24,   /* Minimal MacOSX version.  */
-  BFD_MACH_O_LC_VERSION_MIN_IPHONEOS = 0x25, /* Minimal IOS version.  */
+  BFD_MACH_O_LC_VERSION_MIN_MACOSX = 0x24,   /* Minimal macOS version.  */
+  BFD_MACH_O_LC_VERSION_MIN_IPHONEOS = 0x25, /* Minimal iOS version.  */
   BFD_MACH_O_LC_FUNCTION_STARTS = 0x26,  /* Compressed table of func start.  */
   BFD_MACH_O_LC_DYLD_ENVIRONMENT = 0x27, /* Env variable string for dyld.  */
   BFD_MACH_O_LC_MAIN = 0x28,             /* Entry point.  */
@@ -185,7 +185,7 @@ typedef enum bfd_mach_o_load_command_type
   BFD_MACH_O_LC_ENCRYPTION_INFO_64 = 0x2c, /* Encrypted 64 bit seg info.  */
   BFD_MACH_O_LC_LINKER_OPTIONS = 0x2d,	/* Linker options.  */
   BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT = 0x2e, /* Optimization hints.  */
-  BFD_MACH_O_LC_VERSION_MIN_WATCHOS = 0x30 /* Minimal WatchOS version.  */
+  BFD_MACH_O_LC_VERSION_MIN_WATCHOS = 0x30, /* Minimal watchOS version.  */
 }
 bfd_mach_o_load_command_type;
 \f
-- 
2.19.1


[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



             reply	other threads:[~2018-10-28  3:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-28  3:57 Saagar Jha [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-27  4:57 Saagar Jha
2019-02-15  2:13 ` Kevin Buettner
2019-02-15 10:02   ` Nick Clifton
2019-02-15 10:49     ` Saagar Jha
2019-02-15 12:52       ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD426AC5-AC51-42EC-8FBE-965BAAC6A610@saagarjha.com \
    --to=saagar@saagarjha.com \
    --cc=binutils@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).