diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-10-09 14:35:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-01-03 09:32:12 -0200 |
commit | 9c5d0d02c1122d10c2407333eeecd1ee2285084b (patch) | |
tree | d887b8616cc5682424cb37445072b63843556c01 /ChangeLog | |
parent | 7b832018881cbc860c70b7a768dae9cfb7b55663 (diff) | |
download | glibc-9c5d0d02c1122d10c2407333eeecd1ee2285084b.tar.gz glibc-9c5d0d02c1122d10c2407333eeecd1ee2285084b.tar.xz glibc-9c5d0d02c1122d10c2407333eeecd1ee2285084b.zip |
termios: Consolidate Baud Rate Selection definitions (BZ#23783)
This patch consolidates the termios symbolic constants used for baud rates selection used along with speed_t on its own header. The Linux generic implementation values match the kernel UAPI and each architecture with deviate values have their own implementation (in this case alpha and powerpc). No semantic change is expected, checked on a build against x86_64-linux-gnu, alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu. [BZ #23783] * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add termios-baud.h. * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200, B230400, B460800, B500000, B576000, B921600, B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, B3500000, B4000000, __MAX_BAUD): Move to termios-baud.h. [__USE_MISC] (CBAUD, CBAUDEX): Likewise. * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9edf6ca673..a3a5495fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,22 @@ 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org> + [BZ #23783] + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add + termios-baud.h. + * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file. + * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200, + B230400, B460800, B500000, B576000, B921600, B1000000, B1152000, + B1500000, B2000000, B2500000, B3000000, B3500000, B4000000, + __MAX_BAUD): Move to termios-baud.h. + [__USE_MISC] (CBAUD, CBAUDEX): Likewise. + * sysdeps/unix/sysv/linux/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add termios-c_oflag.h. * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file. |